Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [punctuation]

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

2
votes
1answer
24 views

How to remove the comma before a post-note in citations using biblatex?

I'm managing my references using biblatex. Sometimes I need to write a post-note, but the citation appears with a comma (´,´). There is a way to erase it? \documentclass[12pt,a4paper]{article} \...
0
votes
2answers
46 views

Delete point after “author” that is not a person

I want to cite a corporation as an "author" in my references. However, there is always a point between the "author" and the "year" in the references. Normally this makes sense, as the typical author ...
2
votes
1answer
55 views

Removing comma after shorthands in biblatex-chicago

This is a follow-up question to a previous question I asked about "How to tweak volcite in biblatex-chicago to cite volume and page using Arabic numerals separated by a colon". I would like to know ...
0
votes
0answers
21 views

Punctuation issue on Harvard style [duplicate]

I have the following style: Anderson, E. (1988), 'Transaction costs as determinants of opportunism in integrated and independent sales forces', Journal of Economic Behavior & Organization Vol. ...
1
vote
2answers
63 views

Centralizing the dots in equations

Folks, forgive me for answering this question. I'm unable to centralize dots in equations though i believe that the script is right. Could you please advise on the following: \begin{equation*} \begin{...
3
votes
1answer
37 views

Quotation marks based on langid with biblatex

I use biblatex with the csquotes and the babel package. Sometimes words in titles are set in qoutation marks. Normally I use \enquote for quotation marks. I want the style of the quotation marks in ...
5
votes
1answer
300 views

Oxford comma only for three or more authors, but not for exactly two authors

I want to insert the Oxford Comma only if an entry has 3 or more authors, but not if the entry has exactly two authors. e.g. A and B (1999) [NO COMMA] A, B, and C (1999) [COMMA before C] I ...
0
votes
0answers
15 views

Relation signs compiled strangely [duplicate]

I met a strange behaviour. This small piece of code: \documentclass{article} \begin{document} <> \end{document} is compiled as Is it normal? Could you give an explanation? I use TeXLive ...
1
vote
1answer
52 views

Remove punctuation between url and addendum

Could someone please give me a hint on how to get rid of the dot after the url before the addendum in the bibliography list? Here's my MWE: \documentclass[12pt,a4paper,parskip=half,abstracton]{...
14
votes
2answers
1k views

Very long dashes in Victorian-era book

I am trying to faithfully recreate the typographic style of a Victorian era book. One thing I've noticed is the extensive use of dashes: em-dashes are everywhere, for example. Beyond the em dash ...
0
votes
1answer
45 views

biblatex no colon after isbn

I'm using biblatex with the ext-authoryear style. What I want to achieve is that there's no colon after the ISBN Entry. So it should look like: Cockburn, Alistair (2005): Writing Effective Use ...
2
votes
1answer
69 views

In a reference: how to remove the comma when the paper title ends with a question mark

I use the jf.bst bibliography style and the jf.sty package. I am trying to solve two issues related to the formatting of bibliographic entries. 1. How to remove the comma after the title field if the ...
3
votes
2answers
57 views

Formatting the text entered with commands in custom environment

I want to create some kind of a to-do list. Here is a simple example: \documentclass{article} \newenvironment{myEnv}[1]{% \begin{center}% --- #1 ---% \end{center} }{} \newcommand*{\...
2
votes
1answer
109 views

Better solutions for a 2em-dash

For anonymization, I want to remove people's names. I have read that the 2em-dash is fine for this. Since there's no ---- for that, I googled a bit about the options. There's a source (TUGboat, ...
3
votes
1answer
185 views

Can't typeset guillemets in Russian beamer presentation

I can't seem to produce guillemets (angle quotes) inside of a beamer frame, I get the error message <to be read again> < l.9 \end{frame} for the following MWE \...
1
vote
1answer
36 views

Suppressing comma after question mark in one index entry

I want to index the name of a book that ends in a question mark. What I get is \textit{What is Life?}, 27, but what I'd like is \textit{What is Life?} 27. In other words I want to suppress the ...
3
votes
2answers
129 views

$x_1, \dotsc, x_n$ vs. $x_1$, $\dots$, $x_n$

For example, if I want to say something like Let x_1, ..., x_n be real numbers. should I use Let $x_1, \dotsc, x_n$ be real numbers. or Let $x_1$, $\dots$, $x_n$ be real numbers. Note that if ...
2
votes
1answer
37 views

Using stringstyle with quotation marks does not fit properly using listings package

Please consider this MWE with stringstyle=\bfseries\color{blue}: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{color} \usepackage{enumitem} \usepackage{...
1
vote
1answer
32 views

How to make biblatex-chicago put a footnote before punctuation?

I use the \autocite command from the package biblatex-chicago for referencing, and I use the \footnote command for other footnotes. Usually, I want footnotes to appear after punctuation, but in rare ...
0
votes
1answer
59 views

How to remove commas from between multiple authors (Biblatex)

I am using numeric-comp style. As can be seen from the quoted text, between authors commas and full-stops are together, ie Smith, J., Berry, M., I dont know if this is normal style in Biblatex but ...
4
votes
2answers
268 views

Comma should come in italic font inside equations

My tags are as follow: \documentclass{book} \usepackage[T1]{fontenc} \usepackage{txfonts} \begin{document} Test \quad $a,b$\quad \textit{a, b}\quad a, b \end{document} In this, I need to get the ...
0
votes
1answer
39 views

How to get a separator symbol longer than emdash (maybe a quadruple hyphen)? [duplicate]

I am trying to typeset a table, wherein some headers do not apply to a particular row, i.e. for certain cells. I do not want to use "N.A". According to the package author of booktabs, it is ...
3
votes
2answers
86 views

Custom command with space and following punctuation?

I want to write a custom command to produce a species name but I am having trouble getting it to work with punctuations. The specifications for my desired output are: Text in italic font No ...
1
vote
3answers
112 views

Auctex: replacing quotation marks with proper TeX ones

I'm LaTeX-ifiying a document produced by exporting an MS Word document into plain text. I'm wondering if there's some automatic method for replacing all the double quotes, so that "quoted text" is ...
12
votes
3answers
383 views

reflectbox in emphasis environment

I try to get irony punctuation mark in LaTeX with CMU font. This symbol is in Unicode: ⸮ (U+U+2E2E) So I search a way to get a correct rendering with CMU of this symbol. But the problem is the ...
0
votes
0answers
26 views

How to hyphenate word including a dash in list of references?

I have a concatenated word that contains a dash in the title of a biblatex entry. The problem is that I cannot add the correct hyphenations manually to the entry since Zotero seems not to allow for ...
2
votes
0answers
36 views

pdfLaTeX solution to en dash kerning around numbers with newtx font

I often write number ranges using en dashes, e.g. 1--2. However, I've noticed that whenever I encounter the number 4 on the right end of an en dash, the two characters appear so close to each other it ...
2
votes
1answer
48 views

Failure of proper quotation marks with pxfonts

\documentclass{article} \usepackage{pxfonts} \begin{document} `' \end{document} gives improper quotation marks, as opposed to \documentclass{article} %\usepackage{pxfonts} \begin{document} ...
0
votes
1answer
25 views

Biblatex entry type @online: endash in field year

I want to add an endash to the year field of an online resource @Online{Galebach:2002, author = {Brian Galebach}, title = {Collection of n-uniform tilings}, year = {2002-...
0
votes
1answer
34 views

How to use biblatex's \addperiod outside the bibliography?

Sometimes the \addperiod command from biblatex could be useful in other situations as well. How to use it outside the bibliography? M(N)WE: \documentclass{book} \usepackage{biblatex} \begin{...
3
votes
1answer
251 views

What is the difference between “-” and “--” in text mode? [duplicate]

I'm interested in all the difference, that means: appearance: If there are common rules across fonts like distance from baseline, length and so on. typographical rules: If they are handled ...
2
votes
3answers
247 views

Too much space after an abbreviation period in tt mode

Is there any way to reduce the space between "CTRL." and "OUT", in the following text? \documentclass[11pt,a4paper,twoside,openright]{book} \begin{document} \noindent Press the button \texttt{CTRL. ...
3
votes
1answer
68 views

Problem with \begrelateddelim, punctuation tracker, and parentheses in biblatex

I'm having a problem with related entries in biblatex when they are started within parentheses. \begrelateddelim is inserted after the first field in the related entry, since it isn't included at the ...
1
vote
2answers
85 views

How I can write quotation marks correctly?

I have problen with quotation marks when I used in spanish language. This is an example a I got error Package csquotes Error: ucs package not supported. \MakeOuterQuote{"} \documentclass{report} \...
3
votes
2answers
850 views

Left Quotation Marks when using RMarkdown and knitR

Normally when you want left quotation marks in LaTeX, you type the following: `` However, in RMarkdown, you will trigger a block of R code to run when you type two pairs of backticks on the same ...
1
vote
0answers
51 views

Double quote and less characters (">) create a problem with listings

I don't know how to fix this problem, when I use "> in a listings I see a weird double > as result. See this example, where the following section of my article: De esta forma si el título ...
1
vote
1answer
100 views

Different kinds of quotation marks on the same document

I've just generated a pdf and I got the following output. As you can see the quotation marks differ. I am using Lyx if that's important, and in that environment I also get the same thing. I ...
4
votes
1answer
71 views

How can I fix active quote mark characters on update to TL 2018? [duplicate]

MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{csquotes} \MakeAutoQuote{‘}{’} \MakeAutoQuote*{“}{”} \begin{document} Hylo \end{document} This code works fine with pdfLaTeX ...
2
votes
1answer
53 views

Biblatex punctuation recognition

I'm trying to switch to biblatex/biber. I started using the authortitle style for the bibliography. For my thesis I need lots of changes in the style. Along the way I changed the separator between ...
0
votes
0answers
99 views

Punctuation in Equation that finishes with superscript

I want to typeset something of the following form in display math \begin{equation*} \Big(x\Big)^{1+2}. \end{equation*} After compiling it looks like I understand why it is set like this. ...
4
votes
1answer
129 views

Same font in math mode decimal comma? [duplicate]

I want to use comma (,) as decimal separator. The problem is that it is typeset with wrong font (Computer Modern, I suppose), not with the normal font defined using mathspec package. I have tried ...
2
votes
2answers
60 views

pst-infixplot with babel puts unintended comma sign at the beginning

I had unintended comma sign at the beginning of the document. If I comment out the babel package or pst-infixplot package, then comma sign disappeared. Here is a minimal example: \documentclass{...
2
votes
2answers
41 views

Using enumitem on a cheetsheet seems to cause -{}- to render as en-dash

I'm using this cheatsheet class to create a git cheatsheet. I have a couple commands the are too long for a single line, so I added the enumitem package to use the [style=unboxed] to force lines to ...
1
vote
1answer
73 views

(Two hyphens != n-dash) even out of math mode

I am not trying to do this in math mode, and yet a pair of consecutive hyphens \documentclass{article} \begin{document} \sffamily\bfseries\itshape How are you?\\ {\emph --Bob} \end{document} are not ...
1
vote
1answer
102 views

does LaTeX automatically handle spacing for punctuations?

It is said that different punctuation rules apply, see https://www.lcps.org/cms/lib/VA01000195/Centricity/Domain/1695/Punctuation%20Rules%20Table.pdf Can LaTeX automatically handle this for us, i.e. ...
0
votes
0answers
21 views

How to prevent -> from being formatted into an inverted question mark [duplicate]

I am trying to write a document where I have multipled instances of -->, <--, ----> etc... as it's a formatted answer to a referee response (and it follows their styling). However, LaTeX ...
1
vote
1answer
297 views

Setting em-dashes with hair spaces

Em-dashes — when used to separate parenthetical clauses — are often used without any spacing, but I rather prefer them with a hair (or perhaps thin) space on either side. The ‘obvious’ way to do this ...
0
votes
1answer
262 views

Remove some commas from “ModernCV”

You can see in this picture (made by ModernCV ) that the commas appear automatically between fields I would like to remove some commas without changing the definition of this macro.
0
votes
0answers
45 views

Changing Punctuation in capt-of [duplicate]

I have a little problem with the punctuation of the captions for my figures for my thesis: I use the capt-of package and the figure cations I get have a period behind the number of the figure and ...
1
vote
1answer
64 views

X-axis decimal “,” instead of “.”

i have little problem. Have this bar chart made by this code \begin{tikzpicture} \begin{axis}[ ...