[Tugindia] Spacing after sentences in Emacs/LaTex

Sivaram Neelakantan tugindia@tug.org
30 Oct 2002 18:47:11 +0530


This is a multi-part message in MIME format.

------=_NextPartTM-000-3d9bc94f-f8f2-4616-a956-e756bd0038c8
Content-Type: text/plain; charset=us-ascii

>Sivaram Neelakantan <sivaram.neelakandan@wipro.com> writes:
> In Emacs, sentences are recognised by the fact that it starts after 2
> spaces after a period.  I believe this is the american way of doing
> it(at least that's how it says in manual).  Does latex too, do the
> same?  I mean when typeset, it doesn't appear to leave 2 spaces, so
> what convention does it use?  If space between sentences is actually a
> rubber length which can be stretched or squeezed depending on the line
> being typeset, how does it typeset a new sentence?

    kastrup> The TeX book contains information about this, as does the
    kastrup> LaTeX book.  Probably most other references should do so,
    kastrup> too.
    kastrup> Where have you looked for it?  Keywords: \frenchspacing,
    kastrup> \nonfrenchspacing, \@ (for LaTeX), \spacefactor (for the
    kastrup> involved TeX internals).
    kastrup> -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email:
    kastrup> David.Kastrup@t-online.de

Actually, from the emacs manual which I have reproduced below.  & the
Lamport book says \@ adds "extra space", that's it(p 14).  I don't
have the Texbook nor know TEX so can't say about that.  After reading
Lamport with the keywords you supplied, my Q is stupid.  Sorry.

,----
| sentence-end's value is 
| "[.?!][]\"')}]*\\($\\| $\\|	\\|  \\)[ 	\n]*"
| 
| Documentation:
| *Regexp describing the end of a sentence.
| The value includes the whitespace following the sentence.
| All paragraph boundaries also end sentences, regardless.
| 
| The default value specifies that in order to be recognized as the end
| of a sentence, the ending period, question mark, or exclamation point
| must be followed by two spaces, unless it's inside some sort of quotes
| or parenthesis.
| 
| See also the variable `sentence-end-double-space', the variable
| `sentence-end-without-period' and Info node `Sentences'.
`----

regards,
Sivaram
-- 


------=_NextPartTM-000-3d9bc94f-f8f2-4616-a956-e756bd0038c8
Content-Type: text/plain;
	name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="InterScan_Disclaimer.txt"

**************************Disclaimer**************************************************    
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




------=_NextPartTM-000-3d9bc94f-f8f2-4616-a956-e756bd0038c8--