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

8
votes
3answers
139 views

Move periods inside quotes in bibliography

I'm writing an article in Norwegian, and the guidelines specify that articles should be quoted in the bibliography as follows: John Doe. 2005. "My article." A Cool Journal 16. My impression is ...
0
votes
1answer
93 views

Hyphen going into margin

I have the following issue with a hyphen going into the margin: As you can see, the Spatio-Temporal word has crossed the margin. How can I fix it in LaTeX? I am using the TeX template at ...
4
votes
2answers
285 views

Biblatex — how to add colon after volume?

How does one place a colon after the volume and before the page range for articles? \documentclass{memoir} \usepackage{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} ...
0
votes
0answers
42 views

\AtBeginDocument breaks csquotes nesting - or \xspace won't add space

A couple of months ago, I asked this question because xspace wasn't adding whitespace before an active quote. The apparent solution was to add \AtBeginDocument. However, this breaks csquotes nesting ...
5
votes
1answer
72 views

Should a code sample be followed by a punctuation to conform to the language grammar?

Let's say I have the following text: The first program a computer science student sees is usually program HelloWorld(output); begin WriteLn('Hello, World!'); end. or 10 PRINT "Hello ...
4
votes
1answer
79 views

Multiple series of footnotes with and without period after \thefootnotemark

I am in the final stages of editing a complex document with different series of footnotes — mainly, a normal series using Arabic numerals and a second set using an asterisk. (Because this is a ...
25
votes
6answers
2k 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: ...
2
votes
1answer
102 views

Why won't the quotation marks and dash be shown correctly?

I tried to write a document having a dash after a quotation mark. However, pdflatex has problems to show the document correctly. It looks like the second quotation mark is missing and the second dash ...
8
votes
2answers
452 views

Comma in legend in pgfplots

The following code with the comma in the legend entry fails to compile. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
0
votes
1answer
133 views

using csquotes' shorthands in English

Is there a special reason why csquotes' shorthands cannot be used in English text or am I overlooking something? The \enquote command works fine. It's true that English style quotes are amongst the ...
4
votes
1answer
155 views

\footcite and \autocite handle comma differently

biblatex, with verbose-trad2 style, has different behaviors when you use \autocite and \footcite. It is weird because, in this context, \autocite calls \footcite. Here is the problem (look the place ...
3
votes
1answer
91 views

The - (dash) disappears in document url

I have the following problem. I am writing a paper in LaTeX and at some point I am adding a URL as a footnote. It looks like this: ...
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 ...
2
votes
1answer
198 views

How to delete a full stop on reference ending

According to APA rules, after each reference there must the digital object identification (doi). I use JabRef as a reference manager and for some reason, if I put an article doi on its "doi" field, it ...
4
votes
0answers
116 views

Multilingual document: Problem between babel and csquotes: \MakeOuterQuote{"}

: Line 5 is my problem... I want to use simple quotation marks in a multilingual document with csquotes AND babel, with the help of \MakeOuterQuote{"}, and I need the command \selectlanguage{ngerman} ...
8
votes
1answer
124 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 ...
9
votes
1answer
110 views

Inconsistency with period at the end of bib entry with original date

LaTeX apparently treats the same case with two different outputs. When a bib entry has origdate according to the APA style, the string (Original work published xxx) should be appended at the end of ...
12
votes
2answers
1k views

How to quote correctly with csquotes?

I am unsure how to quote correctly using csquotes and \textquote and \blockquote. In the documentation I found this general advise: \blockquote[cite][punct]{text}tpunct but am unsure how to really use ...
2
votes
1answer
560 views

How to automatically remove space before punctuation and adding after sign?

Sometimes when I write some text, I mistakingly put space before dot/comma or I forget to put space after dot/comma. I would like LaTeX to remove all space before dots and add space after punctuation. ...
4
votes
1answer
43 views

How to reassign — and — in unicode fonts?

In XeTeX, after loading the font lmroman10-regular.otf, -- and --- are not matched to en- and em-dashes. Here-have--some---text. \font\rm="[lmroman10-regular.otf]" \rm Here-have--some---text. \bye ...
4
votes
1answer
146 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 ...
2
votes
2answers
422 views

How to force csquotes to show the quotations marks in block quotes?

How can I force the csquotes package to always show quotations marks in my block quotes, regardless of the language etc...? Tried this, but no cigar: \usepackage{csquotes}[english=british] % ...
21
votes
3answers
449 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) ...
8
votes
1answer
164 views

Why is there no space behind closing quotation mark in enumeration?

I'm using the following code: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[dutch]{babel} \newcommand{\add}{$\oplus$\space} \newcommand{\ent}{\textit} \begin{document} ...
9
votes
2answers
228 views

Matching punctuation size to small caps

Normal apostrophes are too big for small caps and this is making my running headers look weird. I'm getting around this by shrinking each apostrophe to \footnotesize and lowering it by -0.55ex. ...
5
votes
2answers
129 views

Is there a punctuation mark that does not take up any space?

I'm typesetting a text from a 17th century Chinese woodblock print. The original text is printed vertically, and I'm printing it horizontally. The text has the same number of Chinese characters per ...
6
votes
1answer
95 views

Problem in revtex4-1 when a footnote ends with an equation

RevTeX4-1 automatically ensures that a period appears at the end of each footnote (or endnote). In most circumstances this causes no difficulty. But when an endnote ends with an equation, RevTeX ...
2
votes
2answers
231 views

Double dot at the end of sentence

I try to make a class. I wrote \renewcommand\thetable{\thechapter\arabic{table}.} and under the table or in sentence I have e.g. "Table 2.1." but problem is when reference is at the end of ...
8
votes
3answers
365 views

Change the appearance of commas in a certain font

I'm using the kerkis font, which I love everything about except for the commas. (The curl of the commas is very small, making them appear like periods unless you look very closely.) Is there a way ...
12
votes
2answers
398 views

The punctuation signs; comma and dot, below footnote indicator is beautiful in the context of typographic styles?

The norm say: When there are punctuation marks (e.g. a comma, colon or period) at the point where the footnote indicator should be inserted, the indicator is placed after the punctuation in English ...
15
votes
2answers
204 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 ...
4
votes
2answers
236 views

Making aliases for variables

I'm trying to figure out how best to define an alias. I have some moderately complicated variable names, such as $p^{i,j}_{t}$, and having to type them over and over again is a pain. More importantly, ...
1
vote
1answer
154 views

punctuation after authors/editors in bib latex

Using the following code \DeclareFieldFormat [article,inbook,incollection,inproceedings,patent,thesis,unpublished] {title}{#1\adddot\nopunct\isdot} I can remove punctuation from around titles ...
8
votes
2answers
170 views

Selectively disable dash ligatures in LuaLaTeX

With pdfLaTeX, I can print two hyphens using -{}-. This does not seem to work in LuaLaTeX. Indeed, the following snippet \documentclass{minimal} \begin{document} en dash -- two dashes -{}- ...
5
votes
2answers
178 views

How to have straight single quotes in lstlistings [duplicate]

All single quotes in code samples are displayed as backticks and the copy-pasted code can't be compiled without fixing the quotation. Is it possible to prevent this? for example: ...
5
votes
2answers
295 views

biblatex: remove comma after last author only in book

I am using biblatex with the biber backend and the chem-acs style. For journals and inproceedings, the author list is printed followed by the title; however, for books and book chapters, there is a ...
2
votes
1answer
154 views

How can I renew the \textcite command and change the delimiter for two authors of the same cite key?

I am using the author-year style luh-ipw and need to use \slash as delimiter for two or more authors in the bibliography. I changed it via adding following code in the preamble: ...
4
votes
1answer
204 views

Replace quotation marks (or: use << and >> as csquote like auto-quotes)

I use french quotation marks (<< and >>) in many documents. Is there any way I can define in the style file to replace all french quotation marks by english ones? Furthermore I'd like to ...
3
votes
1answer
172 views

Remove period at the end of subsubsection

I am using amsart. For specific isolated uses of subsubsection*, I would like to prevent the addition of a period at the end of the title. MWE: \documentclass{amsart} \usepackage{tikz} ...
4
votes
1answer
205 views

LaTeX allows line break between concluding em-dash and comma before a new sub clause begins

I am surprised by LaTeX putting a comma which follows an em-dash on a new line when the previous line is flushed. My intuition and sense of style tells me that they should never be separated. For ...
3
votes
1answer
192 views

Biblatex — how to add comma before and between two names

I'm currently getting: Surname, IN and Secondauthorsurname, FM. I need: Surname, IN, and Secondauthorsurname, FM. Searching for "comma" in the documentation is impossible, since it also ...
7
votes
1answer
123 views

Verbatim code environment dash dash

I have the following environment for displaying code: Which works pretty fine but now I have the problem that -- becomes an en dash inside that environment. For example here: I tried also {-}{-} and ...
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 ...
4
votes
2answers
116 views

Using dash instead of point in headers

How can I set - instead of . as separator in headers? 1 Chap 1-1 Sec 1-2 Sec 1-2-1 SubSec 2 Chap 2-1 Sec I use XePersian package. The following does not work: \documentclass{book} ...
6
votes
2answers
96 views

Could not change level separator

When I use XePersian package the following code does not work to set - instead of . as separator in headers? \documentclass{book} \renewcommand{\thesection}{\arabic{chapter}-\arabic{section}} ...
3
votes
1answer
517 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
2
votes
1answer
263 views

moderncv: unwanted punctuation

I am trying to prepare my resume using LaTeX but everytime after I compile I see an unnecessary '.' after the sentence. The code snippet looks like this: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ...
7
votes
1answer
446 views

csquotes: Footnotes after Block Quotes with Quotation Marks

Pretty often, I come across a situation where I'd like to add a footnote to a block quote in order to comment on the passage quoted. \documentclass{scrartcl} \usepackage[english]{babel} ...
4
votes
1answer
121 views

how to enter a dot with whitespace preceding it?

I'm getting Whitespace before punctuation mark in " ." when I'm trying to enter the word .Net with whitespace before it. How can I fix that? What's the proper way of entering a . with whitespace ...
19
votes
2answers
364 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} ...