Tagged Questions

{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
185 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
441 views

Quotation marks in Beamer

I have something like this \documentclass[xcolor=svgnames]{beamer} \usecolortheme[named=Crimson]{structure} \usetheme[height=7mm]{Rochester} ... \begin{document} \begin{frame} In fact ...
2
votes
1answer
260 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
154 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
130 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 ...
4
votes
1answer
47 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 ...
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: ...
4
votes
1answer
160 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
682 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
138 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
281 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
167 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
219 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
98 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
417 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
217 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
193 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
405 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
102 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
441 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
358 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
113 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
342 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
201 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
264 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
149 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
264 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
257 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
243 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
384 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
147 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
121 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
103 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
128 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
142 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
402 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
343 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
437 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
146 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
368 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} ...
8
votes
1answer
605 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
437 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
348 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
52 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
171 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
370 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
746 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
142 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
106 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
174 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 ...