{punctuation} is for questions involving the typesetting of punctuation marks. If your question relates to punctuation in particular document parts such as e.g. bibliography formatting or section formatting you should also add the appropriate tag for that topic.

learn more… | top users | synonyms (2)

14
votes
2answers
379 views

Automatically adding space before punctuation in old-style English texts

I'm typesetting an English text in an 18th century style (based on a 1725 edition of Alexander Pope's "Dunciad"). Is there a LaTeX package I can use to automatically add the correct space before (and ...
18
votes
1answer
399 views

Three quotation levels for csquotes

The recommended way of solving nested quotations in Norwegian is to use «» for the outer level and then alternating between ‘’ and “”. (Source) Is it a large undertaking to do this with csquotes?
5
votes
1answer
290 views

Automatically capitalize macro output if used after a period [duplicate]

Possible Duplicate: Detect beginning of a sentence in a macro for capitalization Is it possible to write a macro that is able to determine if it is used at the beginning of a sentence? For ...
6
votes
1answer
2k views

Change leftmark in fancyhdr

Can anyone tell me how, in the minimal example pasted below, I can achieve that the dot after Appendix in the header disappears? I understand that it is there because I simply made the number of the ...
9
votes
2answers
3k views

How to write quotation marks in math environment?

How to use quotation marks in math mode? I need to get \lim with the quation marks above.
16
votes
2answers
15k views

How to make a real apostrophe or single-quote in LaTeX

I am trying to incorporate programming examples in a LaTeX document. The document renders nicely with pdflatex; however, the single quotes get transformed into U+2019, a right-single-quotation mark. ...
19
votes
1answer
355 views

Why can words with hyphen char not be hyphenated?

Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why? why isn't it something like this: where the small ticks indicate possible hyphenation points. A ...
11
votes
2answers
230 views

What is a good way to typeset dot-separated acronyms?

I am trying to find a good appearance for typesetting "C.A.T.A.P.U.L.T.". When I type it as is, it appears to me that P.U.L. are bunched up together while the other letters are well apart. Perhaps ...
8
votes
1answer
313 views

Acronyms without double dots using glossaries

I want to typeset my acronyms with abbreviating dots with, for instance, P.C.A. standing for principal component analysis and use macros for them. This question provides a trick to avoid double dots ...
6
votes
3answers
661 views

lualatex and line breaks after em-dashes

I’ve just installed TeX Live 2012. As mentioned elsewhere on this site, the release history explains that “the parameter \XeTeXdashbreakstate is set to 1 by default, for both xetex and xelatex. This ...
10
votes
2answers
218 views

Vertically aligning hyphens and en dash in a compound word

I was wondering if there is a way to make the hyphen and en dash in a compound word appear at the same "height." For instance the style guide I'm following suggests using en dash to reduce the ...
21
votes
3answers
447 views

Comma-separated list environment

This question is somewhat of a follow up to an answer to a previous question (http://tex.stackexchange.com/a/11587/13522). I would like to create a list environment (similar to itemize and enumerate) ...
21
votes
1answer
239 views

Why do ``` and ''' produce outputs with different spaces?

Why do ``` and ''' produce outputs with different spaces? \documentclass{article} \parindent=0pt \begin{document} Input: \begin{verbatim} ```\\ ''' \end{verbatim} Output: ```\\ ''' ...
4
votes
1answer
259 views

Ellipses & Correct Space Factor

I’m trying to use the Unicode ellipsis character (U+2026 ‘…’) in my source files. To this end, I’m looking for an ellipsis macro which I can use with newunicodechar. The trouble is, I’ve noticed, ...
15
votes
3answers
1k views

en dash and em dash spacing

I've noticed that en dashes and em dashes run into certain numbers and letters, and I don't believe it's standard to use spaces with these. For example, if a 'b' comes before the dash or a '6' comes ...
3
votes
1answer
257 views

zero-width Quine corners

I would like to create symbol pairs that can be used like quotation marks (spacing-wise) look like Quine corners (roughly: \ulcorner ... \urcorner) or Japanese quotation marks (roughly: \ulcorner ...
5
votes
1answer
383 views

Special punctuation marks

Is there an easy way to render special punctuation marks present in some fonts, such as double question mark, double exclamation mark, or interrobang? Also, is there a font (preferably open-source) ...
16
votes
3answers
380 views

German-style quotation marks too close to italics letters and mathpazo font package

When I type an text in italic with the Palladio font the German quotation marks are (far) too close to the letters. The problem does not occur with English quotation marks. Is there any solution or ...
3
votes
4answers
525 views

Disabling interword spacing for periods following capital letters

By default, LaTex inserts a longer, intersentence space after a period. The exception is if the period follows a capital letter, in which case an interword space is assumed. This thread describes ...
5
votes
1answer
418 views

A comma decimal separator that is bigger than a dot

\documentclass{mwrep} \usepackage{amsmath} \begin{document} Check:\\ with "," $0,125$\\ with "." $0.125$ with commas: \begin{equation} P= \begin{bmatrix} 0,1 & 0,3 & 0,0 & 0,6 \\ ...
4
votes
1answer
179 views

How to avoid superfluous punctuation for shorthand in bibliography?

I would like to have the shorthand printed in the bibliography in square brackets before the bibliography item. I adapted this answer by lockstep which works with one problem: if there is no author, ...
16
votes
2answers
329 views

Defining \xthinspace: Thin space only if not followed by certain characters

Following this 2005 thread from the XeTeX list, I’ve defined a \spaceddash command and assigned it to the Unicode em-dash character U+2014 “—”: \documentclass{minimal} \usepackage[utf8]{inputenc} ...
5
votes
2answers
327 views

Spacefactor & Unicode Curly Quotes

Unicode curly quotes seem not to have the correct space factor. Consider the following minimal example (not using french spacing): \documentclass[12pt]{minimal} \usepackage[utf8]{inputenc} % Or ...
19
votes
1answer
906 views

Why should I use -​- in pages field of a BibTeX entry?

In most BibTeX entries I found on the internet a page range in the page field is separated by a double hyphen --. Why should I use a double dash and not a single one -? @misc{blub, title="blah", ...
4
votes
2answers
135 views

stops become blank squares in cjhebrew

The following code: \documentclass[12pt,a4paper]{book} \usepackage{cjhebrew} \begin{document} \begin{cjhebrew} hd . \end{cjhebrew} \end{document} Generates the correct hebrew letters, but the stop ...
1
vote
2answers
332 views

newtheorem report class with `part' as reset counter

Sorry i have no MWE for this question. I have a .dtx class and looking at the diff between a previous "good" version and the present i have, there is nowhere some recollection about what exactly is ...
7
votes
1answer
624 views

Linking quotation environment with citation styles

I was just wondering if it is possible to combine citation commands (preferably of biblatex) with quotation environments. The reason is this: In German language papers you often have two choices ...
12
votes
1answer
260 views

Avoiding dot in true single-character middle name (abbrv-style)

One of my co-author's name has the pattern "Aaaa B Ccccc", where (due to transcription from Chinese) the "B" is indeed a single character (part of the given name). Now BibTeX (in abbrv-style) likes to ...
3
votes
3answers
2k views

An extra dot after section counter while numbering equations

My sections are numbered with a dot after counter. I get it like this \renewcommand{\thesection}{\arabic{section}.} I also need the equations to be numbered within sections and I try to do it like ...
20
votes
5answers
791 views

Hyphenation problem with — versus \textemdash

While investigating problems with hyphenation and em-dashes, I came across this: a piece---perhaps an installation---, involving structural feedback The document class is article. The problem was ...
7
votes
3answers
818 views

Remove comma after title ending with questionmark

I am using a bit modified bibtex style but with quite common base. It is based on utphys 2.7 which is based on "IEEE Transactions bibliography style (29-Jan-88 version)" I'd like to remove comma ...
0
votes
2answers
173 views

Force printing of parentheses around a single character in math mode [closed]

Although this is not strictly mathematical notation, I would like to denote an object with a calligraphy capital T and subscript non-italic P. I have this: ...
3
votes
1answer
193 views

problem with biblatex-chem bundle, babel, and inbook entry

I'm writing my thesis in French, and thus use the package babel. I have chosen the "chem-angew" bibliography style, and all is good so far, except for citations of chapters in books. Here is my bib ...
3
votes
2answers
742 views

What kind of dash is used before a quote attribution?

In this quote example: “Planning your video is the first step.” -Christine Cloud, Producer Should the name be preceded by an em dash, or a swung dash?
26
votes
2answers
1k views

Is there a way to automatically change kerning between commas/full stops and footnote marks?

This question led to a new package: fnpct Following up on my question on the kerning of footnote marks after punctuation marks, I'd like to know if there is a way to achieve the kerning of ...
15
votes
2answers
4k views

How to properly typeset footnotes/superscripts after punctuation marks?

I find the spacing of footnote marks after punctuation marks quite unsatisfactory, especially with sans serif fonts and compared to the spacing after letters. Example follows: I came up with a ...
-1
votes
1answer
572 views

Comma sign in Bibliography [closed]

I am using \documentclass[a4paper 12pt]{article} and \bibliographystyle{unsrt} to write a report. The problem i am facing is that latex is not putting comma between the author names in my ...
40
votes
3answers
3k views

How to properly typeset all forms of punctuation used in English-language documents?

English documents tend to use these types of punctuation: periods apostrophes brackets of various kinds colons and semicolons commas dashes and hyphens ellipsis exclamation and question marks ...
3
votes
1answer
259 views

Which spacing after a semicolon following acronym?

Similar to my previous question, I have a few sentences ending ACRONYM; word. chktex recommends I insert intersentence spacing (ACRONYM\@; word). I can't find a decent reference to explain why an ...
34
votes
1answer
2k views

When should I use intersentence spacing (`\@')?

I've got a sentence that ends on an acronym: blah blah WORD. Next sentence blah Running this through chktex, I'm informed that: Warning 13 in ./file.tex line 9: Intersentence spacing (`\@') ...
17
votes
3answers
1k views

Range of Dates (1999-01 — 2012-12)?

How to typeset range expressed with dash of two ISO8601 dates ? 2010-01--2012-03 or 2010-01---2012-03 or another option ?
5
votes
3answers
705 views

How to break long word containing symbols but with no hyphen?

Below is my minimum working example: \documentclass[10pt,a4paper,draft]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} ...
3
votes
2answers
573 views

How to have an amsart-like subsection style

If you use the amsart class, then it puts a period after the subsection title, but not if there is no title. For example, if I write \subsection{Title} Blah1 \subsection{} Blah2 Then amsart ...
2
votes
1answer
863 views

Matrix in an align environment

I'm currently writing on my masters thesis and I have a question about matrices at the end of a sentence. I write my matrix as a pmatrix in an align environment. Actually the matrix is at the end of ...
49
votes
3answers
54k views

What is the LaTeX command for “em dash” (—)?

I am trying to insert the symbol in the title of the question, which I copied from a PDF article, but it appears as space in the output file. What is the corresponding LaTeX command?
15
votes
1answer
760 views

How to fix kerning of comma/colon after quotes?

How to fix kerning of comma/colon after quotes? Hello, I’m a relative newbie in latex and am trying to reduce the space between closing quotes and colon/comma, but by a general way in the preamble, ...
2
votes
1answer
825 views

Punctuation between authors in bibliography?

I am finalizing my doctoral dissertation in LaTeX, and before printing my university has some very specific requirements regarding the formatting of the references section. Using makebst I have been ...
12
votes
2answers
3k views

Straight quotes?

How do I get a straight quote instead of curly quotes? I’m not inside verb or listing or any other special environments, and I’m not using XeLaTeX or anything—just normal LaTeX. I don’t want to change ...
4
votes
1answer
147 views

autopunctuation not working properly

What am I doing wrong? According to my understanding, these two formulae should look different (the second one should have a thin space): \setupmathematics[autopunctuation=yes] \starttext $(2,5)$ ...
7
votes
1answer
532 views

authblk footnote marks before/atop commas

The authblk package, in footnoted mode, puts footnote marks inside commas ("Alice1,") which is bad typography. Is there any way to persuade it to put the footnote marks outside the commas ...