{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
157 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
1answer
650 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. ...
5
votes
2answers
136 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 ...
2
votes
2answers
269 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
1answer
166 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} ...
15
votes
2answers
213 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 ...
3
votes
1answer
94 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: ...
4
votes
2answers
347 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
188 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 ...
9
votes
2answers
185 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 -{}- ...
8
votes
3answers
393 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 ...
6
votes
1answer
101 views

\xspace doesn't add whitespace before quotes if they are active

I'm trying to get \xspace to add a whitespace before “ if it is an auto quote using csquotes. Here is an MWE: \documentclass{minimal} \usepackage[autostyle,german=guillemets]{csquotes} ...
3
votes
1answer
387 views

Remove punctuation (comma) after volume number in biblatex

Using this code: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[a4paper,twoside]{memoir} % Unix options \isopage ...
6
votes
2answers
266 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: ...
6
votes
1answer
104 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 ...
5
votes
2answers
329 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 ...
3
votes
1answer
185 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
237 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 ...
0
votes
1answer
143 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
221 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
245 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
230 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 ...
4
votes
2answers
347 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} ...
7
votes
1answer
142 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 ...
9
votes
1answer
118 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 ...
6
votes
2answers
100 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}} ...
4
votes
2answers
124 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} ...
3
votes
1answer
140 views

make ``quote'' output as “quote„

I have a document in which everything is quoted in the form: ``quote'' How do I make them appear in the output document as “quote„ thanks
8
votes
1answer
388 views

Single quotes in csquotes

I'm using the csquotes package with the modifications recommended by this answer, to detect quotation marks in my text (pasted from Microsoft Word) and make them look good in the output. Is there any ...
2
votes
1answer
309 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: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ...
12
votes
2answers
421 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 ...
4
votes
1answer
134 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
365 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} ...
7
votes
1answer
524 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} ...
3
votes
3answers
393 views

How to type left/right quotes in mathmode?

I want to type "left-quotes" and "right-quotes" in an equation. I tried $P(x):`` \forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2. ``$ I get The end sign is not correct. How to ...
7
votes
2answers
302 views

csquotes: always enclose blockquote in “ ”

I'm trying to force csquotes to always set a \blockquote in display mode but still enclose the quote in quotation marks, German ones in particular. How can I achieve that? \documentclass{scrartcl} ...
0
votes
0answers
51 views

Automatically convert " to `` or '' [duplicate]

Is there any LaTeX option to treat " characters (ASCII 0x22) as either an opening quote or a closing quote, depending on whether it's at beginning or end of a word? e.g. I supply the text like: ...
4
votes
1answer
159 views

How to change hyphenation but not quotation marks in bibliography with biblatex?

I'm using biblatex with biber and an authoryear style for my bibliography. My main language is french, but I have different languages in my bibliography (so I load \usepackage[english, french]{babel}. ...
4
votes
2answers
351 views

Biblatex, Oscola, footcite: punctuation

I'm quite happy using the Oscola style. However, I do get a strange result using \footcite: in addition to the dot added by \footcite there is another dot after ibid («ibid..» or, eg, «ibid., 3.») ...
10
votes
1answer
671 views

How to add a comma between author and year

I use the authoryear style in biblatex, and when I do for instance \cite{bauman2000}, I get: Bauman 2000 But I would like to add a comma between the author and the year, in order to have ...
6
votes
1answer
134 views

How to stop biblatex's \footcite to reverse the order of dots/commas and footnote number?

The biblatex \footcite command always moves points or commas, that originally appeared after \footcite, before the footnote number. For example, I have: \documentclass[oneside]{scrbook} ...
10
votes
1answer
105 views

Hyphenate when using underscore as a letter

In many place in my current text I have to insert something like Name_of_model for instance. I found the last suggestion in this answer very helpful. However, I am facing a problem when it come to ...
3
votes
1answer
165 views

How to leave a space after an em-dash with xspace

I wish to have a space between and after my em-dashes as I do not like the english tradition to collate them to the nearest words. xspace permits to leave spaces for macros but does not handle well ...
0
votes
1answer
231 views

I can't get a quotation mark when I insert my bib file from Jabref

I'm using Jabref to make my .bib file for my LaTeX file because I needed quotations for my titles. They work, except when my title is directly next to a URL. This works: [5] ASCE (2013). "2013 ...
6
votes
2answers
129 views

Redefining the emdash so as to allow hyphenation

OK, so I use the emdash as follows: someword---anotherword, but the problem is this prevents hyphenation of both words around the dash. I can fix this by replacing --- with \textemdash, but I was ...
3
votes
1answer
176 views

biblatex-verbose: Comma after editor instead of period

The period after “Editor” should be a comma. I tracked down the byeditor+others bibmacro, but couldn’t figure out what I needed to change. A \DeclareFieldFormat, which has helped with punctuation in ...
8
votes
1answer
143 views

What is the preferred/correct way to punctuate menu sequences in manuals?

Since computers are around for quite a while now and menues turned out a success as user interface elements, I’m wondering whether there were efforts made to standardize a certain way of punctuation ...
8
votes
2answers
534 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} ...
6
votes
1answer
184 views

Bibliography using biblatex, XeTeX and bidi creating wrong punctuation

Although a Newbie, I have been using XeTeX, bidi and biblatex with great success in Urdu. I have alphabetical footnotes with most of the secondary sources in the endnotes. The endnotes and ...
4
votes
1answer
370 views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...