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

2
votes
1answer
164 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
285 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
98 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
355 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
2answers
219 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} ...
3
votes
3answers
192 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 ...
24
votes
8answers
8k views

How to get straight quotation marks?

How do I get straight quotation marks, i.e., " and ' in TeX? (No, \verb changes the font and this is unacceptable.) [Edit] I forgot to mention that I’m using XeLaTeX, and fontspec is a necessity. ...
0
votes
0answers
47 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
2answers
292 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.») ...
4
votes
1answer
110 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}. ...
7
votes
1answer
278 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 ...
14
votes
3answers
924 views

Help on dealing with items divided with slash

I am using a number of items in text that are divided with a slash. For example dates in different calendars or names of locations, such as 585/1190~CE (the first number is the year in Islamic lunar ...
6
votes
1answer
111 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} ...
9
votes
2answers
1k views

Separation by semicolon instead of comma in biblatex' \cites

I am using biblatex+biber for the bibliography of my thesis. I use the numeric-comp citation style. Overall this works perfectly. I generally use \cite to cite references; but occassionally also ...
10
votes
1answer
93 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
137 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
1answer
160 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 ...
19
votes
5answers
681 views

Hyphenation problem with — versus \textemdash

While investigating problems with hyphenation and em-dashes, I came across this: a piece---perhaps an installation---, involving structural feedback The document class is article. The problem was ...
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 ...
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 ...
3
votes
1answer
127 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 ...
2
votes
1answer
80 views

Set the number of inverted commas automatically based on document language

For some languages, babel would automatically interpret the inverted commas and convert it to the proper form of the selected language. For example, with Hungarian, when one begins a quotation and ...
4
votes
1answer
204 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 ...
8
votes
1answer
250 views

csquotes: punctuation and quotation marks

csquotes automatically includes or excludes the punctuation marks in or from the quotation depending on the language specified in the preamble. This can be adjusted individually by commands like ...
47
votes
3answers
10k views

Block quote with big quotation marks

How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia? Additionally it would be nice to place both quotation marks and quote in a colored box ...
23
votes
3answers
9k views

What is best method to insert an ellipsis in a (Xe)TeX document?

What is best method to insert an ellipsis in a (Xe)TeX document? \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} a...b a ... b %or a\ldots b a \ldots b ...
11
votes
4answers
465 views

Why can't LaTeX smartly match the double quote?

In many word processors, when you type " twice, it will give you a left and right double quotation marks in sequence, they are smartly matched. Why does latex end up with using, ``Blahblahblah...'' ...
3
votes
1answer
146 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.
17
votes
1answer
249 views

Is there a method just write `---` to get an em-dash, putting thinspace both before and after it?

Is there a method just write --- to get an em-dash, putting a thinspace both before and after it? The situation about break is similar with the original ---.
4
votes
1answer
180 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 ...
12
votes
3answers
693 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
4
votes
2answers
601 views

Encoding italian quotation marks

I've noticed that using \usepackage[utf8]{inputenc} my quotation marks are ignored. I've used " in my source files and i would like to see the same glyph(?) in my output file. I saw i should use ...
4
votes
0answers
152 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
174 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 ...
75
votes
4answers
107k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
6
votes
1answer
311 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 ...
5
votes
1answer
122 views

Using \@-ified punctuation while using \frenchspacing

After reading this very informative TeX.SE thread about spacing and punctuation, I was left wondering about an issue that didn't seem to be addressed: using \frenchspacing together with the modified ...
63
votes
5answers
8k views

\includegraphics: Dots in filename

\includegraphics cannot handle filenames that contain more than the one dot, separating the filename from the extension. Apparently it uses everything after the first dot as extension and then, of ...
7
votes
1answer
275 views

Automating processing of trailing punctuation (if any) for hyperlinks

This is a follow-up to Should Hyperlinks include trailing puctuation as part of the link text?, and this question is about automating the processing of the trailing character. I would like to be able ...
5
votes
2answers
190 views

Curly Braces: adding half-spaces around each brace

When I use the commands \{ and \}, the braces rendered are "too tight" or hug too closely to the text and math that lies between them. I would like to redefine \{ to \{\,, and \} to \,\} , but I'm ...
7
votes
4answers
263 views

How to write “dumb” quotes?

I need to cite a part of a string, which contains "dumb" quotes, and I want to keep them like this. When I write the quotes like they are, I face two problems: The spacing behind a quote is missing ...
5
votes
1answer
157 views

How to access the quotation marks in Berling font using lualatex?

Here is a small example: \documentclass[11pt,article,oneside]{memoir} \usepackage{fontspec} \setmainfont[ItalicFont={BerlIt}, FeatureFile=myligatures.fea]{Berling} \begin{document} ``Lala la'' ...
1
vote
0answers
25 views

Separating plural possessive apostrophe from closing double-quote [duplicate]

Let's say that I have a plural noun that I am trying to make the possessive form of, for example, butchers'. Let's say that for some reason I need to enclose this word directly inside double-quotes, ...
7
votes
2answers
148 views

Should Hyperlinks include trailing puctuation as part of the link text?

I realize that this may be a subjective question, but I think this site is the best place for this. I am trying to determine if any trailing punctuation should be part of the link text. The ...
4
votes
1answer
129 views

The quote environment and the typographically correct notation of reference

This is a typography and latex related question. I have seen various examples of how the quote environment and the belonging reference to the quote are used. What is correct in the following minimum ...
5
votes
1answer
343 views

Microtype and LuaTeX: changing protrusion and hanging punctuation

I'm experimenting (using TeXLive 2013) with having my punctuation marks extend fully into both the left and right margins. I don't know how to include images so I'll do my best to format this here to ...
5
votes
3answers
661 views

How to break long word containing symbols but with no hyphen?

Below is my minimum working example: \documentclass[10pt,a4paper,draft]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} ...
39
votes
3answers
2k views

How to properly typeset all forms of punctuation used in English-language documents?

English documents tend to use these types of punctuation: periods apostrophes brackets of various kinds colons and semicolons commas dashes and hyphens ellipsis exclamation and question marks ...