{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
3answers
303 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 ...
26
votes
8answers
9k 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
50 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
331 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
140 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}. ...
10
votes
1answer
531 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 ...
16
votes
3answers
1k 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
126 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
2k 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
102 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
147 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
205 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
173 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 ...
20
votes
5answers
821 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
125 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
140 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
155 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
84 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
319 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 ...
9
votes
1answer
298 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 ...
51
votes
3answers
11k 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 ...
24
votes
3answers
12k 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 ...
12
votes
4answers
722 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
171 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
52 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
277 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
249 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
779 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
688 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
166 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
189 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 ...
81
votes
4answers
125k 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.
8
votes
1answer
463 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
137 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 ...
7
votes
1answer
291 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
234 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
295 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 ...
6
votes
1answer
191 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
162 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
137 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
398 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
720 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} ...
40
votes
3answers
3k 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 ...
7
votes
1answer
613 views

Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)

Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after: I would like to prevent the word ...
6
votes
1answer
377 views

Overfull \hbox caused by em-dash

There is one problem that currently seems insolvable to me. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual ...
4
votes
1answer
443 views

How to add vertical and horizontal dashed lines in array and tabular enviroments?

I want to present big matrices using concatenation of rows and columns with dashed lines. Also, I need to do the same for some tables. Is there any way to insert dashed lines in arrays and tabulars, ...
0
votes
1answer
61 views

How to type mdash in bibtex [duplicate]

How can I type the HTML &mdash; character into the title field of my .bib file?
8
votes
2answers
165 views

Why this " (one symbol) works as one double quote as well

According all the tutorials I could found, I need to use `` + '' (two single quote symbol) to produce the double quote. However, it seems that `` + " (one symbol) works as well. Is ...
8
votes
1answer
101 views

BibTeX writes “pages” where it should be “page”

In a book I'm citing, the pages are numbered as following: X-Y, where X is the chapter number and Y is the number of the page in that chapter. For example, the fifth page of the third chapter would be ...