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

1
vote
1answer
61 views

Using doublequotes in bibtex fields and babel

I have autocreated (Mendeley - so editing by hand will be rendered useful on the next autocreation of the file) bib-files, which contain e.g. ". Unfortunately, those " are treated as the LaTeX ...
1
vote
1answer
148 views

Arabic comma in polyglossia

I'm writing a book of probability in arabic, and was using for this arabtex, which is now obsolete for my use. I've done my migration to polyglossia arabic, by the way, \usepackage{polyglossia} ...
5
votes
1answer
550 views

pgfplots import data from table with comma as decimal separator

I am trying to plot data from data files which are using the comma as decimal separator instead of a point (as is normal in SI style (French version): ...
5
votes
1answer
194 views

Avoid inverted exclamation and question marks, when followed by quotes

In an automated system that is generating LaTeX to render PostScript and PDF, i need to avoid an ambiguity in LaTeX: Two backticks (``) produce a closing doublequote: “ A question/exclamation mark ...
5
votes
2answers
232 views

Left and right quotation marks aren't correct when using fontspec

Using XeLaTeX the following document produces the correct result if \setmainfont{Arial} is never called (the quotation marks are proper left- and right-quotation marks). Once I try to set a font (even ...
0
votes
1answer
99 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 ...
8
votes
3answers
187 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
0answers
45 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
76 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 ...
2
votes
1answer
152 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 ...
4
votes
1answer
248 views

Periods show up as hieroglyphs in TexMaker OS X

I am getting the following strange and somewhat annoying behavior in TexMaker for OS X 10.9: It happens any time a period immediately follows a curly brace. Why? Is there any way to fix this...? ...
4
votes
1answer
109 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 ...
4
votes
1answer
198 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
487 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
275 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
158 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
132 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
162 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
706 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
140 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
288 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} ...
16
votes
2answers
227 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
102 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
473 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
236 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
194 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
414 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
482 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
428 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
117 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
351 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
217 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
286 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
157 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
285 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
273 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
253 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
413 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
150 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
123 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
105 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
130 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
146 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
416 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
392 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
451 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 ...