<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br>----- Original Message -----<br>From: "Uwe Lück" <uwe.lueck@web.de><br>To: "Joel C. Salomon" <joelcsalomon@gmail.com>, "texhax" <texhax@tug.org><br>Sent: Thursday, August 6, 2009 7:17:17 AM (GMT-0300) Auto-Detected<br>Subject: Re: [texhax] Inter-sentence space with amsthm<br><br>[Please ignore previous, too many errors, partially due to Arial. I use <br>single right quotes on both sides for quoting here because the original <br>posting used this style. That's important with '\sfcode`\.'!]<br><br>At 02:54 23.06.09, Joel C. Salomon wrote:<br>>I'm playing with amsthm, and want to define a theorem style like:<br>> Example:**To avoid lithobraking, most rockets...<br>> where the '**' is the wide space TeX puts between sentences.<br>><br>>The eight[th] argument to \newtheoremstyle is the "head space"; and I know <br>>I can give it an explicit (inter-word) space, '\newline', or a dimension <br>>like 0.5em. But what is the size of the inter-sentence space?<br><br>It is described on pp. 75f. of the TeXbook. With '\frenchspacing', you get <br>inter-sentence space just by ' ' or '\space', i.e., inter-sentence space <br>doesn't differ from inter-word space. With '\nonfrenchspacing', you get the <br>inter-sentence space the same way as before, if the current \spacefactor is <br>3000, so just precede the same space with '\spacefactor=3000' ... however: <br>not so easy ... better type: '\spacefactor=3000\relax\space' ('\ ' in <br>place of '\space' doesn't work). More generally, one might /define/ <br>inter-sentence space as the horizontal glue that is inserted after the dot <br>of '\spacefactor=1000. ' (arguing that '. ' is the "definitive sentence <br>delimiter"). In this sense the space is obtained by <br>'\spacefactor=\sfcode`\. '. (Note the space after '\.'. Not tested.)<br><br>HTH -- Uwe Lueck.<br><br>Just a slight clarification for the required space after `\.<br>or for any other char number. The space is there to terminate the number, as with all other numbers. If you don't have it, and the next character happens to be a number, TeX goes on evaluating digits, and you get a result that is much too large to be a char number. A good protection against this is {} or enclosing braces.<br><br>Pierre MacKay<br><br></div></body></html>