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

6
votes
1answer
303 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 ...
11
votes
4answers
456 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...'' ...
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
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 ...
7
votes
2answers
147 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 ...
5
votes
2answers
185 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 ...
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
339 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 ...
7
votes
4answers
262 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 ...
2
votes
1answer
79 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 ...
3
votes
1answer
319 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
51 views

How to type mdash in bibtex [duplicate]

How can I type the HTML — character into the title field of my .bib file?
14
votes
3answers
911 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 ...
8
votes
1answer
85 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 ...
8
votes
2answers
147 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 ...
6
votes
2answers
105 views

Punctuation after multiline math diagram

How to place the punctuation after multiline math diagram at the last line rather than the first line as the case showed in my following code. \documentclass{article} \usepackage[utf8]{inputenc} ...
7
votes
1answer
539 views

How to modify natbib to surround titles in quotes in a bibliography?

My advisor wants me to cause all titles for papers, books, and articles in " for my thesis in my bibliography. I am using natbib for this and am unsure how to do this. I am NOT asking how to do this ...
10
votes
1answer
102 views

Variations in ldots

Here is my code: \documentclass{article} %\usepackage{unicode-math} %\setmathfont{Latin Modern Math} \begin{document} The letters $a, \ldots, z$ are used. \end{document} It produces this ...
0
votes
1answer
116 views

Automatically replace open quote with accent

Shaloha, My Emacs/AUCTeX combination used to automatically replace a single open quote ' with an accent `, as is required by LaTeX. Many machines and .emacs files later, it doesn't do that anymore. I ...
5
votes
2answers
278 views

How do I make ``` appear as ' + “ and not ”+ '?

It may look like a minor difference, but I'm trying to put quotation marks between single quotes, e.g. ‘“go away” he said’ but ''' results in “‘go away” he said’ which is not what I ...
5
votes
2answers
171 views

Avoiding double dots in glossaries package

I would like to incorporate the suggested solution by Herbert, that can be found HERE, within certain glossary records. Consider the following example: \documentclass[a4paper]{book} ...
5
votes
1answer
155 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'' ...
2
votes
1answer
57 views

biblatex-apa puts comma at the end of collection-entries instead of period

I am writing my thesis with biblatex-apa style for biblatex. Unfortunately biblatex-apa behaves strange for whole collections. Instead of putting a period at the end of such an entry it puts a comma ...
1
vote
0answers
44 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
5
votes
1answer
288 views

Quotation marks: Is there any difference between \grqq/\glqq and “` / ”'?

I am currently employed at university to proof-read lecture notes. This means I read quite a lot of text and correct language errors / wrong references to tables / images, but I also try to improve ...
3
votes
1answer
107 views

Is there a way to make LaTeX interpret ``Nested `quotation''' as “Nested ‘quotation’”? [duplicate]

I know there is csquotes but is there a way to make nested quotation marks as in \documentclass{standalone} \begin{document} ``Nested `quotation''' \end{document} to show up as as “Nested ...
1
vote
0answers
105 views

Lyx - quotation mark in C program [closed]

I have a problem with double quotation marks in program listing. When I load a file.c as a child document in lyx and set it as program listing, I get error: #include "softSPI.h" undefined control ...
9
votes
1answer
209 views

\@ vs. \␣ after abbreviation. (Read backslash-at vs. backslash-space)

I was used to write abbreviations like foo i.e.\ bar but today learned that I could also write them as foo i.e.\@ bar. Both of these apparently have the effect of keeping the space to its normal ...
2
votes
1answer
195 views

Quotation marks are not appearing adequately

In certain documents of mine, the quotation marks are displayed incorrectly. For instance, while writing down `word', as usual, the word is formatted within two reverse backticks. Some of my other ...
5
votes
2answers
559 views

Vertical dashed line of a custom height

I need a vertically dashed line in my matrix, but my current solution looks like the dashes are going out of the array environment (and they are - i checked in photoshop). Can I manually shorten it by ...
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 ...
11
votes
2answers
202 views

Should a negative kern be added after a degree symbol if followed by punctuation?

Not sure why I have not noticed this before, but spacing between a degree unit and punctuation seems strange as shown in red. Should a manual \kern be added (as shown in blue)? Code: ...
13
votes
4answers
445 views

Using commas in mathematical formulas

I need write some formula, but I don't know how to arrange the comma's place. $p,\ q\in N$, blabla $0<a,\ b<1$ blabla $i,\ j=1,\ 2,\ \dots,\ n$ or $p,\;q\in N$, blabla $0<a,\;b<1$ ...
2
votes
4answers
247 views

Putting row of dots in an equation

Is it possible create a system of equations that will look like this: aX(x_0)+bX(x_0)+cX(x_0)=A dX(x_1)+eX(x_1)+fX(x_1)=B ......................... gX(x_n)+hX(x_n)+iX(x_n)=B I tried with this: ...
7
votes
1answer
246 views

Decimal comma: extract one feature from babel-spanish

\usepackage[spanish]{babel} makes $12.34$ to print "12,34", not "12.34". It doesn't change dot to comma if one says for example $x.y$. Can I use only that feature from babel package, and still use ...
5
votes
2answers
168 views

Uneven spacing around ellipsis in $[A_1;\dotsc;A_n]$

I've noticed that when a \dotsc has a semicolon on each side, there's uneven space around the ellipsis created. With \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} ...
6
votes
2answers
163 views

How do I type a Chinese dash in XeLaTex

How do I write a Chinese dash, a two-fullwidth-character long dash? 「——」 looks ugly typset with XeLaTex and the font that I am using (The two parts are not connected and there is a gap in the ...
0
votes
0answers
16 views

biblatex - year in parentheses for references with authoryear? [duplicate]

According to guidelines, besides printing the year in parentheses in the bibliography (which is working by default), I must have the year in parentheses for the references. Also, I have to use ...
2
votes
2answers
268 views

Smart quote in TeXstudio

A useful feature of TeXworks is the smart quote. Does TeXstudio have a similar feature? (to replace "" and '' with their Unicode opening and closing counterparts)
6
votes
1answer
157 views

biblatex: move backrefpages to after the period

I've used some tips about how to toy with the format of backrefs in biblatex, and I'm seeing that the formatting is quite flexible. In the screenshot below, I've put the backref into a box. That's ...
0
votes
1answer
179 views

How do I change the order of comma and ending double-quote after the title?

An example of a BiBTeX reference of mine @ARTICLE{58, author = {{Craig M. Pratt and Terry Eaton and Marilyn Francis and Antonio Pacifico}}, title = {{Ambulatory Electrocardiographic Recordings: ...
6
votes
1answer
312 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 ...
2
votes
1answer
62 views

XeLaTex: — sign

I use following code: \begin{center} \begin{tabular}[]{llcl} \hline \rowcolor[gray]{.9}\textbf{Parameter} & \textbf{Description} \\\hline -c, --create & Do something\\\hline \end{tabular} ...
2
votes
1answer
474 views

TexShop keeps converting apostrophes into curly ones [duplicate]

Whenever I type something such as The energy's source, TexShop changes the apostrophe into a curly one which does not print in the PDF. How can I stop future apostrophes from being changed without ...
4
votes
1answer
428 views

biblatex - comma with space behind every unit (style=authoryear)

I'd like to have a comma behind every unit in a bibliography entry except the year and at the end of an entry. How can I achieve that? This is what I have so far. \usepackage[ language=auto, ...
24
votes
4answers
576 views

Smart parentheses?

Is there a way of smartly nesting parentheses and square brackets (in text mode), so that LaTeX detects nesting relations and typesets them accordingly? I'm thinking in something like csquotes does ...
7
votes
2answers
144 views

fail to add Chinese punctuation after CJKnumber in chatper title in xeLaTeX

I'm writing my thesis in Chinese with xeLaTeX and I've to format the chapter name and section name. The following command works ok: \usepackage[CJKnumber][xeCJK] ...
2
votes
1answer
103 views

How to prevent \xspace from adding a full space after a period?

I have a little macro that I use for doing adding an e.g. in my writing: \newcommand{\eg}{\emph{e.g.}\xspace} The problem I have is that LaTeX is treating the g. as the end of a sentence and is ...
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 ...
0
votes
1answer
109 views

Override quotation style [duplicate]

Is it possible to override the default quotation marks of ``notation''? As a czech user, I have to use \uv{} to have czech styled quotations, which doesn't write so well.