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

10
votes
1answer
109 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
131 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
284 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
185 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} ...
6
votes
1answer
187 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
60 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
373 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
132 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
109 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
287 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
230 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
847 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
293 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
234 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
518 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
323 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
278 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
184 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
181 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
18 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
352 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
179 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
220 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
368 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
66 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
562 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
476 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
607 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
162 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
114 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
132 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
125 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.
17
votes
1answer
267 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 ---.
9
votes
1answer
140 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
329 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 ...
1
vote
1answer
145 views

Punctuation in superscripting with Natbib in Xetex

I'm trying to use the achemso package for my bibliography and citations. I'm also trying to using Xetex to use the Minion Pro fonts. When I just typeset with LaTeX and do everything in Computer Modern ...
5
votes
2answers
138 views

Ignoring Punctuation during Comparison

I am trying to compare two strings and ignore punctuation during the comparison. I thought that catcode redefinition would be a good way to proceed. But, obviously, the use of \catcode has a great ...
0
votes
0answers
35 views

How to insert a dot in the section headings? [duplicate]

I am using this macro: \newcommand{\ssection}[1]{\section[1]{\centering #1}} \ssection{BACKGROUND} Result, is centered but there are couple of spaces between 1 and B: 1 BACKGROUND ...
16
votes
2answers
3k views

How to force LaTeX not to break the line after a hyphen “-”?

With ~ we can enforce that no line break occures between two words. But this does not seem to work with special characters. I want LaTeX to enforce not to break the line after the - in (re-)creation. ...
12
votes
2answers
1k views

How to quote correctly with csquotes?

I am unsure how to quote correctly using csquotes and \textquote and \blockquote. In the documentation I found this general advise: \blockquote[cite][punct]{text}tpunct but am unsure how to really use ...
2
votes
1answer
240 views

biblatex: why no comma after abbreviated shorttitle?

Sorry, this is only a minor question, but I just realised for the first time that when you cite a bibliographic item which has no shortitle, then -- using style=verbose -- you usually get (apart from ...
2
votes
1answer
548 views

No italics in algorithm2e if-clause

Why does algorithm2e typeset the variables anychange and done in italics, and how can I turn this off? How can I remove the semicolon after done in the until-clause? $\textsf{anychange} \gets ...
2
votes
0answers
38 views

How to get language dependent quotation marks in citations with biblatex? [duplicate]

I cite german and french articles. In my bibliography the titles are given in quotation marks. Now, I would like to have the quotation marks dependent on the language of the article. I thought ...
3
votes
2answers
158 views

Ellipsis without brackets — fine tuning

Very much related to this question and its answer, I would like to ask the following: If I want to indicate omissions in a quotation not by using Text [...] more text. but instead by using Text ... ...
14
votes
1answer
229 views

Dedicated symbol for […] in quotations?

I would like to use [...] in quotations to indicate a part which was not included. Just entering [...] does not render it perfectly in my opinion. Is there a special way of inputing said symbol? ...
1
vote
1answer
177 views

new quote-based environment end spacing [closed]

In order to insert quotations, the document uses a quote-based \newenvironmentx \newenvironmentx{QUOTE}[1][1=.]{% \begin{quote}% \tiny\noindent% \gdef\parQ{#1}``% }{\parQ''% \normalsize% ...
2
votes
1answer
150 views

Texmaker Illegal unit of measure

I've got problems with my Texmaker on Windows 7... I changed some text in the document and configured the colors for my listings. Suddenly Latex throws an error by the optional parameter of the ...
5
votes
2answers
1k views

KOMA-Script scrbook: How to remove period after part

I'm using scrbook to typeset a document and I'm using \part for formatting the parts of it. The default output renders \part{Mytitle} into Part I. Mytitle Now I'd like to get rid of the ...
2
votes
2answers
414 views

How to force csquotes to show the quotations marks in block quotes?

How can I force the csquotes package to always show quotations marks in my block quotes, regardless of the language etc...? Tried this, but no cigar: \usepackage{csquotes}[english=british] % ...