LaTeX forum ⇒ Text FormattingOld fashioned spacing.

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

Old fashioned spacing.

Postby Laurentius » Wed Feb 11, 2009 11:45 pm

(NOT "french spacing" as with \frenchspacing.)

There are two things I should like to know. The first is probably simpler, but the second would be better.

1. Is it possible to get english / french spacing around "!", ";", "?", and "!" without selecting french as the language after whose rules words are split at the ends of lines, i.e. without \selectlanguage{french} ?

2. Is it possible to do this but also increase the space after the last period (or similar sign) in a sentence, e.g. to 1 em?

Thanks in advance.

kaiserkarl13
Posts: 598
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Thu Feb 12, 2009 2:48 am

Yes, there are two commands that can be used to override spacing when writing in English spacing mode.

To tell TeX to use a normal interword space, use \ (i.e., a backslash followed by a space). To get an end-of-sentence space after the period, use \@.

For example, compare the output of:
  1. Prof.\ Smith has a program written in BASIC\@. It does a really nice job.


to

  1. Prof. Smith has a program written in BASIC. It does a really nice job.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 8 guests