{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)

4
votes
1answer
200 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
19
votes
4answers
6k views

Comma as decimal point leading to confusion [duplicate]

I'm writing a report in a language that uses decimal commas. In some cases that clashes with commas used for punctuation, causing hard to read text, e.g.: for $x_i \in [-1,5, 1,5]$. Is there a way ...
16
votes
2answers
378 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} ...
14
votes
1answer
5k views

Comma as decimal marker with siunitx (Spanish usage)

I'm using siunitx to input some big numbers and units in my document. Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one.
12
votes
1answer
500 views

Old-style figures: Use in references/brackets (e.g. to equations, bibliography) or not?

In my documents I usually use old-style figures for "non-mathematical" numbers. By this I mean for example dates, page numbers, telephone numbers and the like. For tables, results of equations etc. I ...
12
votes
4answers
2k views

How do I prevent LaTeX from creating en-dash and em-dash?

All over the internet, there's this question on how to make LaTeX do the en-dash and em-dash. I have the opposite problem. I have some text from which I am generating HTML and LaTeX outputs. The ...
12
votes
2answers
2k views

Palatino displays wrong opening quotes

I've just started using Palatino for my documents, and I've realized the opening quotes are all rendered as closing quotes. As per the question What is the best way to use quotation mark glyphs I use ...
11
votes
2answers
593 views

Hyphenation of words containing apostrophes

My question is plain and simple. Any way to hyphen words such as “Lor'themar”, “Kel'Thuzad”, etc.? Using \hyphenation{Kel'-Thu-zad} gives me this error, for instance when compiling. Error in ...
8
votes
1answer
246 views

How to prevent a stranded comma on the next line?

In this document, where I am replicating my original document in order to get the issue I am highlighting here, a comma is stranded on the next line: \documentclass[a4paper, 14pt]{extarticle} ...
7
votes
2answers
207 views

Should Hyperlinks include trailing puctuation as part of the link text?

I realize that this may be a subjective question, but I think this site is the best place for this. I am trying to determine if any trailing punctuation should be part of the link text. The ...
7
votes
2answers
1k views

Hyphenating a number in the BibTeX pages field

Some journals, such as Phys. Rev. B., use unusual page numbering conventions, such as 081401-1–081401-4. (Depending on the way this gets rendered by your computer, you may not be able to discern that ...
6
votes
1answer
888 views

Appendix changes sections and figures numbering

I don't know how to face a strange behavior caused by the appendix package. I'm using KOMA-Script book class and many other packages (see here: http://pastie.org/1728702) When I add an appendix (not ...
5
votes
1answer
403 views

Titles ending with punctuation in biblatex-ieee

I've just recently started using the biblatex package (with the biblatex-ieee style), and I've run into a small problem. I've looked at the .bbx file, and it seems like it should be easy to change, ...
2
votes
1answer
321 views

biblatex: why no comma after abbreviated shorttitle?

Sorry, this is only a minor question, but I just realised for the first time that when you cite a bibliographic item which has no shortitle, then -- using style=verbose -- you usually get (apart from ...
42
votes
3answers
4k 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 ...
23
votes
2answers
6k 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 ...
25
votes
4answers
770 views

Smart parentheses?

Is there a way of smartly nesting parentheses and square brackets (in text mode), so that LaTeX detects nesting relations and typesets them accordingly? I'm thinking in something like csquotes does ...
28
votes
2answers
15k views

Should you put citations before or after interpunction?

This probably also could go to English.SE, but I'm not sure. When I want to cite a source for a complete sentence, you put the citation before or after the period? And if you cite for a word, or ...
13
votes
1answer
954 views

\@ vs. \␣ after abbreviation. (Read backslash-at vs. backslash-space)

I was used to write abbreviations like foo i.e.\ bar but today learned that I could also write them as foo i.e.\@ bar. Both of these apparently have the effect of keeping the space to its normal ...
29
votes
6answers
5k views

Automatic german quotation marks

I would like to compile a file according to German standards, in which quotation marks are to be put like this: \glqq text \grqq In my LaTeX document I use quotation marks in the standard way: ...
23
votes
4answers
754 views

Is there a special hyphen-symbol to be used between capital letters?

In words consisting of small letters, the - hyphen seems right. In words (abbreviations, acronyms) consisting of capital letters, the common hyphen appears (at least imho) to be placed too low and to ...
8
votes
1answer
196 views

How can I replace a full stop with an image?

I would like to hide an easter egg in my document by replacing the last full stop of my conclusion with a (vector) image scaled down to pass as a punctuation, almost like a microdot. Is this possible ...
6
votes
1answer
162 views

How to deal with different commas in text and math mode?

I'm writing a thesis and decided to use Charter (\usepackage{XCharter}) for text and Palatino (\usepackage{mathpazo}) for math. Unfortunately the commas in Charter and Palatino look very different, so ...
24
votes
2answers
1k views

Italics emphasis and punctuation [duplicate]

Possible Duplicate: Should I include punctuation marks in \emph, or should I place those marks after the command? When emphasizing the last part of a sentence by making it italic, is it ...
19
votes
2answers
394 views

How do I define a new punctuation mark?

Here's is some code for a variant exclamation point despite its various short comings (such as non-scalability) \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{calc} ...
15
votes
1answer
5k views

TeXStudio : Disable auto-completion of parentheses

I cannot stand the auto-completion of TeXStudio (formerly TexMakerX) regarding parentheses, braces, etc. I agree auto-completion is useful sometimes, but here it does just not work as I would like. ...
10
votes
1answer
895 views

\slash allows for hyphenation of only the word on its left; how to fix it for the right-hand word

I often use \slash to allow for linebreak after the slash. However I found that \slash doesn't allow for hyphenation of the word to its right, while it does for the word on its left. How do I use ...
8
votes
4answers
6k views

Avoiding placing `,\,` everywhere in mathmode

Whenever I write ", " (with a space after the comma) in mathmode, I really want a space there. usually, this is either something like the points, $a, b$, and $c$.... or in an explicit vector: ...
7
votes
1answer
3k views

Comma in math mode

In some countries one use comma as decimal separator instead of a dot. I ususally use: %%%% Une vrai virgule pour les décimaux \DeclareMathSymbol{@}{\mathord}{letters}{"3B} and $3@2$ to obtain 3,2 ...
7
votes
2answers
733 views

Footnotes with automatic final period

I'm tired to always add a period at the end of the \footnote command. Is there the possibility that LaTeX automatically does this at the end of every footnote?
25
votes
1answer
3k 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", ...
20
votes
1answer
532 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?
18
votes
2answers
1k views

Fixing punctuation after a field in biblatex

Customising a biblatex style, I want to ensure that after the title of books only a space is used. If you take a look at one of the standard drivers: \DeclareBibliographyDriver{book}{% ...
16
votes
2answers
278 views

Placement of ellipsis

Consider the following example: \documentclass{article} \begin{document} $(1-\theta_1) \dots (1-\theta_m)$ \end{document} Isn't the ellipsis supposed to be vertically centered since they indicate ...
15
votes
2answers
7k views

Correct use of hyphen, en dash, or em dash in compound words [duplicate]

Possible Duplicate: Dashes: - vs. – vs. — I know that there are many sources on the use of dashes both on tex.sx ( Dashes: - vs. – vs. — ) and in the real world (Wikipedia: Dash). But there ...
8
votes
2answers
25k views

How to make apostrophes appear normally when copy-pasting from a MS Word document?

I have a report written in MS Word which I would like to turn into a LaTeX document. I copy-pasted the content of the document in my LaTeX editor (TeXShop, LaTeX, pdfTeX) and everything comes out fine ...
7
votes
1answer
955 views

biblatex: sentence case and nested quotation marks

If a title contains formatting commands, how can we hook in \MakeSentenceCase to ensure correct casing and, say, nesting of quotation marks? The example below doesn't work; the quotes are properly ...
7
votes
2answers
1k views

Proper punctuation after cases environment

I know that when writing a displayed equation, it's correct to write punctuation before the closing \] as follows: This proves \[ x^2 = 3, \] and it follows that \[ x = \pm\sqrt{3}. \] If I'm using ...
5
votes
1answer
453 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 ...
4
votes
1answer
1k views

Block quote with big quotations - white on black

There is are some very nice answers to the question of how to put large quotation marks around a block of text at Block quote with big quotation marks. Using the first answer (which uses tikz) but ...
4
votes
1answer
3k views

Biblatex authoryear in brackets and with parenthesis around the year

I use square brackets around my citations (/parencite) from the answer to Biblatex, author-year, square brackets. So now I have [Doe 1995] in text. But I would like to have [Doe (1995)] ...
4
votes
4answers
7k views

Figure and table numbers in caption are terminated by a period and semicolon

I'd like help redefining the Table and Figure captions. Currently both Table and Figure numbers are terminated by a period and colon. For example, \caption{Foo bar} Produces the text, Table 1.: ...
3
votes
2answers
4k views

Backward opening quote in Mac

I am using Mac OS X, Standard US English Keyboard. I have written a full document using TeXShop. I have several double quote and single quote for single word or two words (not a quotation of many ...
22
votes
3answers
3k views

Help on dealing with items divided with slash

I am using a number of items in text that are divided with a slash. For example dates in different calendars or names of locations, such as 585/1190~CE (the first number is the year in Islamic lunar ...
21
votes
3answers
15k views

Correct use of \paragraph titles?

How should I use \paragraph? I mean, If I want to put "Characteristics", should I put \paragraph{Characteristics} or \paragraph{Characteristics:}. Or is it up to me which one to use?
17
votes
1answer
1k views

listings package changes hyphens to minus signs

The listings package transforms source-code hyphens (-, U+002D) into minus signs (−, U+2212) when using the default proportional fonts, though not when using the default monospaced typewriter font. A ...
14
votes
1answer
381 views

Dedicated symbol for […] in quotations?

I would like to use [...] in quotations to indicate a part which was not included. Just entering [...] does not render it perfectly in my opinion. Is there a special way of inputing said symbol? ...
14
votes
1answer
878 views

End quotes and punctuation when using biblatex

This seems like a rudimentary question but I haven't been able to find a clear answer. The cultural context in question is American English. When putting citations in footnotes in biblatex (I'm using ...
13
votes
1answer
949 views

Block quote with big quotation marks and opening quote on bottom

I wanted to adapt Block quote with big quotation marks to languages like my natural language German, but also some other mainly Germanic and Slavic languages (c.f. Wikipedia: Non-English usage of ...
12
votes
3answers
1k views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...