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

4
votes
1answer
75 views

How to enable/disable automatic quotations marks and control indents with csquote and \blockquote

When my blockquote is long enough, latex don't put quotation marks when using \blockquote in the csquote package, e.g.: The Statistical Machine Translation (SMT) paradigm is largely attributed ...
1
vote
1answer
44 views

Problem with quotes and AtEndDocument

Consider the following code: \documentclass{article} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{babel,quotes,angles} \...
6
votes
1answer
98 views

ConTeXt \quote command resets font shape. Is this a bug?

Whenever I use \quote command, it resets font shape to upright (while \quotation command works as expected). I suppose it's a bug. Here's the minimal example: \starttext {\bf Font shape \quote{does} ...
0
votes
1answer
42 views

Can't remove an automated period

\section{Education} \cventry{2011 -- 2015}{Honours Physics, H.BSc}{FSU}{Tallahassee, Florida} \textit{} When this is translated there is a comma space period after florida (eg...Florida, .) I don'...
3
votes
1answer
66 views

Add Comma Before & in reference list

I am relatively new to LaTex and I am using TexMaker on Linux for my thesis. I am using the following code for my document and in particular for my reference list: \documentclass[11pt,a4paper,...
4
votes
1answer
49 views

Using — to produce Kav Mafrid (Hebrew dash) in XeLaTeX

I am using XeLaTeX + polyglossia for Hebrew typesetting. Recently I have encountered an issue with producing dashes (Kav Mafrid, in Hebrew) in Hebrew texts. The issue arises when I am using ...
3
votes
1answer
94 views

I'm not getting curly quotes or apostrophes

All the questions I've looked at say that curly quotes are the default, but that's not what I'm getting in my PDF. Is there anything amongst the following that would cause my document to have ...
1
vote
2answers
49 views

How to remove the dot in the proof environment (using ntheorem package)?

\begin{proof} something \end{proof} produces Proof. something and I want Proof: something The solution suggested here produces an error if one uses the ntheorem package instead of amsthm ...
0
votes
1answer
45 views

Separator between “in:” and maintitle

I meet some problems of bibliographical style because of my modifications. I modified my style to correspond at norms of my director but modifications are note very "clean". Sometimes, books have no ...
2
votes
1answer
51 views

space before and after emdashes

I am typing a document in French and I need to automatically get a fine space (unbreakable) after opening emdash and before closing dash. ---\, blahblah\, --- is not very good... How can I do that. ...
2
votes
1answer
46 views

Is there a way to add a quote inside smart quotes? [duplicate]

Is there a way to add a quote within smart quotes? Let's say I need to render something like "volonta'" (notice how there's a ' + " symbol at the end of the word), how would I do that? So far I've ...
1
vote
1answer
426 views

Wrong direction of quotation marks

How to change the direction of quote mark in latex? Both of them are in same direction. How to have one in opposite direction? \documentclass[12pt,a4paper,oneside,onecolumn]{iiscthes} \usepackage{...
4
votes
1answer
123 views

Impossible to overwrite a dot in subsection title

I am using a class from EMS (European Math. Society), which is largely based on amsart.cls but which has a specific line saying (so I read in the comments) that they redefine sub(sub)section(*) so ...
2
votes
1answer
68 views

How can I fix formatting (e.g., missing parentheses and punctuation) of reference entries created with biblatex-apa?

First, I should admit I'm still fairly new to LaTeX, but I love it so far, even if it can be a bit demanding at times. Regarding my issue, I searched here in Stack Exchange and within the ...
2
votes
0answers
27 views

How to modify a bibliography style to surround titles in single quotes in a bibliography? [closed]

I want to make the title show ` ' around it with capitalization being saved. I could go through and manually modify the .bib file I suppose...
2
votes
2answers
1k views

When to use \dots, \ldots, \cdots, and blanks? [duplicate]

I am writing math. questions like these: Complete the missing numbers: 3,4,...,...,7 5+...=7 The rectangle contains four ... angles (choices: acute, obtuse or right) In each case of the mentioned ...
3
votes
2answers
194 views

Add a dot after chapter and section/figure/table number in ToC/LoF/LoT using tocstyle

I am using package tocstyle package to format my ToC/LoF/LoT lists. I saw already some answers using other packages, but none with tocstyle. And the use of tocstyle is "mandatory". I want to have a ...
3
votes
1answer
84 views

Putting a full stop in the end of an equation makes equation number appear one line below

I'm having a problem. I am writing my thesis in physics, so I use a lot of equations. Since equations are to be treated as part of a sentence they include punctuation in the end. I have all the ...
2
votes
1answer
71 views

How to type apostrophes in verbatim material

How can I type an apostrophe in \verb mode? I've tried using \' and I've seen solutions that work in the verbatim environment, but I'm not sure how to do this inline. Thanks in advance!
5
votes
2answers
210 views

How to remove comma from authoryear citation

I am using biblatex and biber for the bibliography of my thesis and the required bibliography style resembles the one provided by authortitle. Citations are required to be in the form authoryear. I ...
0
votes
0answers
16 views

Full stop after an aligned formula? [duplicate]

maybe this is not the right context to ask, since it's not really a tex-question. Hopefully someone can still answer it. After an aligned formula as the last part of a sentence, am I supposed to put ...
0
votes
0answers
61 views

Print en dash instead of em dash

Is there any way to automatically print en dashes whenever an em dash (the UTF character, not threes dashes ---) is used?
3
votes
1answer
81 views

How to change a comma for a dot before number of pages in book or thesis in references generated with biblatex?

I'm preparing a thesis style for mi University, they have very particular format requirements as usually. In the references lists, they already have their own requirements too. I can solve it almost ...
1
vote
0answers
135 views

What kind of hyphen/dash should I use instead of bullets in itemize lists? [closed]

Bullets are cute, but I don't really like them for my \itemize lists (in Comp Sci papers, written in English). I want something more, shall we say, drab, humdrum, pizzazz-less... :-) Anyway, I was ...
1
vote
0answers
118 views

A math prime symbol instead of single quote in text mode

I have an abbreviated name say ABC and I want to write something like ABC', but I prefer the quote to be the math mode prime symbol. Something like ABC$'$ will give me that, but is there a better way ...
0
votes
4answers
56 views

Breaking a line that begins with \left(

Sometimes one needs to break a line that started with \left( to another line that ends with \right). This procedure can not be processed though using the command: \begin{equation} \begin{aligned} .......
4
votes
2answers
802 views

Is there a difference between \ldots and \textellipsis?

I was just reading about text formatting here, and the following is stated about ellipses: Therefore, you cannot enter ‘ellipsis’ by just typing three dots, as the spacing would be wrong. Instead, ...
5
votes
1answer
98 views

how to set spacing after \endash or — in Greek font (GFS Porson)?

In a former question I described the wrong spacing in Greek texts written in GFS Porson after -- (I though it depended on \,, which it does not as Ulrike Fischer noted). To sum it up: The spacing ...
6
votes
1answer
215 views

Adding straight quote marks to \texttt

Problem: Inline text gets curled quote marks and I would like to format these automatically to be straight ones instead. Minimal Working Example (MWE): \documentclass{article} \usepackage{xcolor} \...
0
votes
0answers
45 views

Custom punctuation and format in references using [natbib]{apa6}

I need to change to reference entry format. I am using [natbib]{apa6} for managing my references; basic structure is as below: \documentclass[natbib]{apa6} \begin{document} \bibliography{...
2
votes
2answers
313 views

How can I insert a special character at the end of each sentence?

I tend to write very long sentences. To easily detect sentences that are too long, I would like to make individual sentences stand out more clearly in my compiled latex document. I know that latex has ...
2
votes
1answer
118 views

Using “\citeauthor{key}.” at the end of a phrase renders repeated points

The present question is a follow-up question to this one: Preventing repeated periods in citations I have the same problem, using \citeauthor{key}. at the end of a phrase for a reference with more ...
1
vote
0answers
39 views

Commas in lists of items which themselves contain commas

An illustrative example I have in mind is, say, a list of coordinates I would like to typeset: $(0,1),(2,3),(3,4),\ldots$ I find that this looks a bit ugly to the eye, my best guess as to why this ...
0
votes
0answers
43 views

Spacing between quote marks, letters and footnote number (xeCJK)

At the end of a line, a break sometimes happens between a quotation mark and the number of a footnote, while using xeCJK with xelatex. MWE: \documentclass{scrreprt} \usepackage{xeCJK} \begin{document}...
0
votes
1answer
56 views

Closing quotes collapse leads to unbalanced quotes in some Balto-Slavic languages

The csquotes package does a very good job automatically placing quotation marks instead of dumb quotes in the input. This works well in many languages (e.g. English, or Lithuanian ), however there is ...
2
votes
2answers
56 views

Gobbling punctuation if command has no optional argument

I want to define a new macro that gets an optional argument X and a citation key Y. If only Y is present it prints \cite{Y} If, however, also X is present it prints X, \cite{Y} This ...
4
votes
2answers
120 views

Conditional dot

I did some changes to my LoF in order for the page number not to be printed with a dotted leader at the right margin but just with a short gap after the caption. Now I would like to have one dot ...
3
votes
1answer
94 views

Wrong ending single quote with \grq under XeLaTeX

I'm experiencing a glyph issue when using \grq from the german package under xelatex. \documentclass{article} \usepackage{libertine} \usepackage{german} \begin{document} \glq test\grq \end{...
0
votes
1answer
418 views

Remove period at end of bibliography items [duplicate]

Consider the following MWE: \documentclass[a4paper]{article} \usepackage{hyperref} \begin{document} \nocite{test1,test2} \bibliographystyle{plain} \bibliography{sample} \end{document} And the ...
10
votes
1answer
334 views

Different commas in text and math mode in Beamer

My question is closely related to this one. The difference is, that I would like to make a presentation with beamer and that I use standard fonts. As you can see in the following MWE the commas in ...
0
votes
1answer
46 views

How declare numeric constants with space without ~

I have written a document with some data that I must update at last minute. So I have created some newcommand: %-------------------------------- % Insert data here \newcommand{\srskm}{12,253~} \...
3
votes
1answer
316 views

pgf-plot: y-axis shows comma instead of decimal point

The ticks of the y-axis have to be displayed with a decimal point instead of a comma. I have no idea how to do that. I'm using \usepackage[english]{babel} and even the commad \decimalpoint does not ...
1
vote
1answer
110 views

Comma as letter and semicolon as operator in math formulas

Inside document source2e.pdf there are the following two lines \DeclareMathSymbol{,}{\mathpunct}{letters}{"3B} \DeclareMathSymbol{;}{\mathpunct}{operators}{"3B} which treats these two punctuation ...
21
votes
2answers
1k views

$a,\ b$, and $c$ vs. $a$, $b$, and $c$

If I want to list three constants a, b, c, it appears that both lines in the following MWE produce the same visual results, at least in the MWE itself and in all the experiments I have conducted: \...
0
votes
0answers
174 views

Why are my en-dashes and em-dashes light gray?

LyX seems to be generating light gray en-dashes and em-dashes in my PDF preview, when I use -- and ---. Why is this happening, and how can I get it to output normal black long dashes? Edit: I'm on ...
3
votes
3answers
369 views

Biblatex IEEE extra comma before and: author1, author2, and author3

When I use Biblatex with style=ieee, I get a COMMA and a AND before the third author in my bibliography: MWE: \documentclass{article} \usepackage[english]{babel} \usepackage[backend=bibtex,style=...
0
votes
3answers
76 views

Problem with lstlisting environment

I'm writing \documentclass{beamer} \usepackage{listings} \begin{frame} \begin{lstlisting}[language=bash] #!/bin/bash echo "Hello,world!" \end{lstlisting} \end{frame} But the output ...
1
vote
1answer
27 views

quotmark error message

Does anybody know why I get an error message when I use \tqt in \section{}? How can the issue be rectified? \documentclass[11pt,a4paper,twoside,openright]{book} \usepackage[T1]{fontenc} \usepackage{...
2
votes
1answer
85 views

Modification of biblatex APA style

For my final thesis I need to use a slightly modified version of the APA style. Before I go into more detail, I would like to show you a MWE: \documentclass[12pt]{scrreprt} \usepackage[T1]{fontenc} \...
0
votes
1answer
105 views

Does UTF8 add right-quote and left-quote recognition to LaTeX, XeTeX? [duplicate]

I've got a LaTeX novel writing project with lots of character quotations. I use Focuswriter to create chapter text files (ASCII, UTF-8). There is no LaTeX markup in the chapter files. A LaTeX ...