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

3
votes
1answer
74 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
139 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
93 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
145 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
311 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
92 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
0answers
215 views

Remove punctuation (comma) after volume number in biblatex

Using this code: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[a4paper,twoside]{memoir} % Unix options \isopage ...
5
votes
2answers
112 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
78 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
222 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
94 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
138 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
108 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 ...
3
votes
1answer
99 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
131 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
109 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
176 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} ...
6
votes
1answer
97 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
99 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
74 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
102 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
122 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
220 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
159 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
326 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
96 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
351 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
267 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
185 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
217 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
46 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
107 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
288 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.») ...
7
votes
1answer
268 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
110 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
89 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
124 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
131 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
117 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
126 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
125 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
268 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
159 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
197 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 ...
3
votes
1answer
144 views

Angle Quotes with English Text and English Figure and Table Labels

I use a standard package, csquotes, to handle quotes. But if I use it like in the MWE below, then in front of every table I get foreign language spelling for figure and table instead of English figure ...
2
votes
0answers
50 views

Redefining — ligature [duplicate]

Is there a way of redefining the em-dash ligature --- so as to mean \,---\,? Something like: \let\oldemdash--- \def---{\,\oldemdash\,} which of course doesn't work.
4
votes
1answer
176 views

lstlistings - How to highlight single quotes og keywords

I want to highlight some keywords in a listing. One keyword has an apostrophe. I searched and read already quite some time and found a couple of postings that textcomp could be very helpful for ...
4
votes
0answers
149 views

How do I make en/em dashes work in Myriad when using it with MinionPro

I'm using MinionPro for the body of a document and Myriad for figure/table captions. Because I can't load packages MinionPro and Myriad at the same time, I load the Myriad fonts for the sans-serif ...
4
votes
1answer
173 views

PDFLaTeX: Straight quotes in URLs (no smartquotes in urls)

Is it somehow possible to have straight quotes in URL's? Especially the single quote sign would be important to me, as this is the most confusing character within URL's, as the reader might not know ...
6
votes
1answer
301 views

Hanging punctuation with \enquote

Following this advice on tex.sx, I'm using csquotes. And I'd like to have hanging punctuations, for instance that left-quotation marks are displayed in the margins. I focus on this point in this ...