{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
317 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?
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 ...
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 ...
6
votes
2answers
485 views

Minted+Inconsolata: Straight Quotes

I am using minted to display my source code and the Inconsolata package to set the output font. Unfortunately, this produces the following ugly result (note the direction of the quote marks: ...
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 ...
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 ...
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} ...
17
votes
1answer
764 views

Abbreviations and full stop--how to avoid double dots?

I have trouble with macros expanding to an abbreviated expression. Say I have \WHP which expands to "with high prob." (artificial example). I want to avoid the dot after the abbreviation colliding ...
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 ...
16
votes
3answers
685 views

How do you end with a single quote followed by a double quote?

I have a paragraph as follows: ``This is a quote. `Here is a quote within a quote.''' But the formatting works out to be a double quote (") followed by a single quote (') instead of the other way ...
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 ...
14
votes
3answers
3k views

How to enable ligatures for emdash/endash in LuaTeX ?

I cannot switch on ligatures for emdash (---) and endash (--) in LuaLaTeX. Here is my test file: % !Mode:: "TeX:UTF-8" \documentclass{article} \usepackage{fontspec} ...
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 ...
4
votes
2answers
131 views

stops become blank squares in cjhebrew

The following code: \documentclass[12pt,a4paper]{book} \usepackage{cjhebrew} \begin{document} \begin{cjhebrew} hd . \end{cjhebrew} \end{document} Generates the correct hebrew letters, but the stop ...
14
votes
1answer
702 views

In the minted package, how do I enforce straight single quotes?

Basically I want \mint{python}|'banana'| to produce straight single quotes, rather than the curly ones it normally produces (in pdflatex).
2
votes
1answer
193 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 ...
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 ...
5
votes
2answers
554 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 ...
11
votes
2answers
201 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
246 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 ...
77
votes
5answers
22k views

Dashes: - vs. – vs. —

This may or may not be a real TeX/LaTeX question but rather a general question on punctuation: How are the different dashes - "-", -- "–" and --- "—" supposed to be used?
1
vote
1answer
120 views

Babel + Hebrew + aeguill incompatiblility

(Question split off from here.) If you try to use the aeguill package (which adds some guillemets to the ae fonts) with Babel and Hebrew: \documentclass{standalone} ...
6
votes
2answers
1k views

biblatex, authoryear-icomp: brackets around the year in footnotes

I use biblatex with the cite-style authoryear for footnotes, which results in Chang et al. 2005, p. 1116. Faculty guidelines require Chang et al. (2005), p. 1116. though. Which files need ...
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 ...
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 ...
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)
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} ...
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] ...
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, ...
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 ...
24
votes
4answers
575 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 ...
2
votes
1answer
169 views

biblatex-apa: sentence case not working

Biblatex-Apa should automatically print titles in the reference list in sentence case, but for some reason it doesn't work (note the lowercase A after the colon): \documentclass{article} ...
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 ...
31
votes
2answers
963 views

Replace “quotes” with „quotes“?

I live in a funny part of the world where we're required to quote text like this: „quotes“ (note the difference between the opening and closing quote). Is there an easy way to set up a LaTeX document ...
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.
3
votes
2answers
2k views

Backward opening quote in Mac

I am using Mac OS X, Standard US English Keyboard. I have written a full document using TeXShop. I have several double quote and single quote for single word or two words (not a quotation of many ...
31
votes
4answers
3k views

How to prevent linebreaks after hyphen if word starts with hyphen?

(Remark: Maybe this is a typically German problem, I'm not sure in which other languages that might be relevant) Sometimes there are words which start with a hyphen, as they are connected with a word ...
9
votes
1answer
137 views

What is the difference between the hyphen-like characters #45 and #127 from the T1 encoding?

What is the difference between the symbols with decimal indices #45 and #127 from the T1 encoding? Character #45 seems to be the ordinary hyphen, but what about #127? The en-dash and em-dash are at ...
2
votes
1answer
312 views

\parencite in footnote: where to put the full stop?

I am not entirely sure, if this question fits the agenda of this site. I you feel that it does not, please accept my apologies. Just a brief question: If I have a footnote with a quote, then ...
5
votes
1answer
153 views

Chinese punctuation problem

I am trying to move a Chinese punctuation mark to the head of a character. I am using the following macro, which works fine. But if I redefine the \CJKpunctsymbol, it will be a messy. Can any one help ...