Check out my first novel, midnight's simulacra!
LaTeX: Difference between revisions
From dankwiki
No edit summary |
|||
Line 3: | Line 3: | ||
==Punctuation== | ==Punctuation== | ||
===Quotation Marks=== | ===Quotation Marks=== | ||
Use `` for the left mark, and '' for the right. | Use `` for the left mark, and '' for the right. | ||
Line 18: | Line 14: | ||
* Use ".\ " if the period does not end the sentence. | * Use ".\ " if the period does not end the sentence. | ||
* Use "\@. " if the period ends the sentence, and follows a capital letter. | * Use "\@. " if the period ends the sentence, and follows a capital letter. | ||
====Ellipses==== | |||
Use <tt>\ldots</tt> (or <tt>\cdots</tt> for line-centered dots). | |||
* Don't use three periods (bad spacing) or the [[Unicode]] character '…' (HORIZONTAL ELLIPSIS, U+2026). | |||
* What about <tt>\dots</tt>? '''fixme''' | |||
==[[Unicode]]== | ==[[Unicode]]== |
Revision as of 23:12, 10 December 2009
Checkers
Punctuation
Quotation Marks
Use `` for the left mark, and for the right.
Hyphens/Dashes
- Hyphens separate the parts of a compound word. Use a single '-', without spaces.
- Endashes separate the bounds of a range, usually numerics. Use two '-' characters, without spaces.
- Emdashes separate distinct thoughts. Use three '-' characters, without spaces.
- Minus signs are a mathematical entity. Use a single '-' in math mode.
Periods
To get correct spacing:
- Use ".\ " if the period does not end the sentence.
- Use "\@. " if the period ends the sentence, and follows a capital letter.
Ellipses
Use \ldots (or \cdots for line-centered dots).
- Don't use three periods (bad spacing) or the Unicode character '…' (HORIZONTAL ELLIPSIS, U+2026).
- What about \dots? fixme
Unicode
Basic LaTeX doesn't support UTF-8 beyond expanding macros based on lexical sequences. If this is intended, use the utf8 parameter to the inputenc package. XeTeX aims to be a fully Unicode-aware TeX engine.
See Also
- StackOverflow post, "Entering Unicode characters in LaTeX"
- Martin J. Osborne's "Common (La)TeX errors"