Text FormattingDefault Spacing for a Language

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Default Spacing for a Language

Post by Laurentius »

I find that I have to use \nonfrenchspacing every time after loading \textgerman. Is there a way to make \nonfrenchspacing default for a language (or for all languages?)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Default Spacing for a Language

Post by localghost »

For an adequate problem description please prepare a self-contained and minimal example in order to avoid speculations and guesswork.


Thorsten
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Default Spacing for a Language

Post by Laurentius »

I found that I asked about this before too (and forgot) without any solution emerging. Now I looked at "gloss-german.ldf", and found that this does the trick.

Code: Select all

\setotherlanguage[spelling=old]{german}
\PolyglossiaSetup{german}{
  hyphenmins={2,2},
  frenchspacing=false,
  fontsetup=true,
}
Post Reply