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.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

How to punctuate description environment within prose

I am using the very common description environment to illustrate the analogy between the symbols of a parable and their real-world counterpart. I'm struggling to know how to punctuate this kind ...
12
votes
1answer
449 views

When ending a sentence with the period, does it matter if the period is in maths mode or not?

Option 1: The area of the disk is \[\pi r^2.\] Option 2: The area of the disk is \[\pi r^2\text{.} \] Do they produce exactly the same result? If not, is the second option more "standard" ...
3
votes
3answers
172 views

fancyhdr and rightmark - how to remove the dot

I am using the fancyhdr package to create a heading for my document. It is working really good, but on the odd pages on the right side I get "1.1. Section 1", but what I want is "1.1 ...
0
votes
1answer
87 views

Greyed out En dash in resume template

I am using CS/IT/SWE Resume Template from Overleaf (and am also a LaTeX noob). Currently, an en dash -- shows up as greyed out. See the below image for what I am seeing: I don't like this greyed out ...
0
votes
1answer
35 views

How to delete a symbol between article name and journal name and add new symbol in bibliography?

I have already added symbol "//" between article name and journal name, but how can I delete dot "."? What I have: Advani, J. Torok, and J. Lee. General solutions for ...
5
votes
1answer
103 views

Text formatting not working in Bangla text

Issue 1: With the reference of this answer, I am using babel for writing Bangla text in Lualatx. But it show no দাঁড়ি চিহ্ন (।) which is a equivalent of full stop (.) in English. Here is a snippet of ...
1
vote
1answer
33 views

Horizontal space between math mode and punctuation

In the following minimal example, the first version is what I would normally type. However, for my taste the space between the T and the comma is too large. The other three versions look better to ...
2
votes
1answer
66 views

Semicolons/ commas in align - typographic standards?

This might be more of a typography question. Say have two equations, and I put them in an aligned environment. \documentclass{article} \usepackage{amsmath} \begin{document} The following equations ...
13
votes
3answers
346 views

xstring - How to define a macro that removes final punctuation?

Is it possible to create a command to remove final punctuation from a sentence (here to simplify, just remove the final period)? Thanks to the xstring package, I can remove the final punctuation for a ...
7
votes
2answers
170 views

Increase the skip after a comma, in math mode

I want to define a command \widecomma, so that $\widecomma{a,b}$ looks the same as $a,~b$. The following is my attempt. \let\comma, \newcommand{\widecomma}[1]{\begingroup\catcode`,=\active\newcommand,...
0
votes
1answer
30 views

Natbib insert period inside parenthetic citation

On the project that I am working is a convention that the period comes inside the parenthetic citation. I am using the natbib package and do not want to change it because I am just putting the ...
1
vote
1answer
23 views

Suppress "in" for articles, modify for inbooks

I want articles to appear as Kowalski Jan, "Reforma reformatorska", Przeglad Historyczny 1 (1953), pp. 101-152. Inbook and incollection must appears as Kwiatkowska Anna, "Liczenie ...
2
votes
1answer
26 views

Suppress period between booktitle and series (BibLaTeX)

I'm trying to achieve the style: Author, Jane (2021). "Title". In Susan Editor (ed.), Volume title (Series Name #), pp. 22–50. University Press. I'm so close, but a period appears between ...
1
vote
1answer
81 views

Adding the Oxford comma to bibliography style

I am aware of several related questions on this topic, but have not been able to adapt these solutions for the following problem. I am using the econ-econometrica.bst bibliography style, available ...
0
votes
1answer
25 views

Add space after period when underfull hboxes occur?

Consider this MWE: \documentclass[10pt,journal,compsoc]{IEEEtran} \hyphenation{veryverylongword} \begin{document} \textbf{The word word word word word.} The word-veryverylongword word word word word. \...
6
votes
3answers
395 views

Punctuation character following a '\left(...\right)^3' group?

I'm attempting to reproduce an existing display math. \begin{equation*}P=50,210,000\left(\frac{t}{D}\right)^3\!,\end{equation*} This produces: I would like to shove the trailing comma back under ...
2
votes
2answers
68 views

Get an acute/backtick/left quote aka this thing ` in Latex

I am creating a document where I need to have the following output from latex: display "`example'" This is for an exercise for my programming class. It naturally needs to read exactly like ...
1
vote
1answer
53 views

upLaTeX get Japanese quotation mark indentation with utbook.cls

The utbook.cls gives full-width quotation mark align at the beginning of the paragraph. \documentclass[b5paper]{utbook} \usepackage{pxrubrica} \rubysetup{<->} \begin{document} 男は店主とは顔馴染みらしく、...
1
vote
1answer
66 views

Redefining Quotation Marks in LaTeX

Apparently, I have misunderstood how quotation marks have been written my entire life. In English, the left quotation mark is a double, inverted comma on top, i.e.: “ The way I thought it was written,...
0
votes
1answer
40 views

Punctuation after an inline formula [duplicate]

I always wonder if I should put the punctuation after an inline formula inside the formula, like in \(x = 1.\) or outside \(x = 1\). Which is the correct choice, and why? The related question is ...
6
votes
2answers
222 views

What's the difference between `--` and `\textendash`?

It looks like -- and \textendash have different line-breaking behaviour in LaTeX. I'd assumed that they would just insert an en dash character, and then act the same, but it looks like they don't from ...
1
vote
1answer
38 views

Comma in x coord (interval)

How can I replace the dot with a comma in x coords? \documentclass[border=10pt, 12pt]{standalone} \usepackage{pgfplotstable} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usepackage{times} \...
6
votes
2answers
503 views

How to decide if a comma or punctuation between math mode content should be inside math mode or in text mode?

Which of the two is the preferred way of writing LaTeX code that has punctuation between math mode content? Example 1: Therefore the solutions to the given equation are \( 2 \), \( 4 \), \( 6 \), \( 8 ...
1
vote
1answer
74 views

ConTeXt: Disable emdash

Background Some manuscript submission guidelines prefer em dashes to remain typeset as --- rather than —. Problem Setting features=none for the document's body font does not appear to affect the tlig ...
0
votes
1answer
42 views

Footnote with automatic final period not working with "Ibid."

I'm using this solution to automatically add a period at the end of every footnote; the code should insert a period only if the footnote does not already end with a period, a question mark or a bang. ...
1
vote
1answer
39 views

Use biblatex's \finalandcomma in text

How do I use biblatex's serial comma (\finalandcomma) outside of the bibliography? The following minimal example results in an error Undefined control sequence. [ One, two\finalandcomma] \...
3
votes
1answer
117 views

How to replace an en-dash in a citation with multiple references using Biblatex?

I want to stop my *.bbx file from forcing references into: [1-5] But rather I would like cited papers to be shown as: [1,2,3,4,5] I have found various answers but they mainly point out to changing ...
0
votes
0answers
52 views

Quotes and commas in \bibitem

I have followed Converting to bibitem in LaTeX to convert into the \bibitem format. However, the results are not as good as when I would have used the regular references.bib file. For example, one of ...
3
votes
2answers
149 views

Semantic line breaks and spaces around em-dashes

I would like to use semantic line breaks in my document's source code, but I'm not sure what to do with em dashes: ---. sentence-per-line, no em-dash spaces: The food---which was delicious---reminded ...
0
votes
1answer
60 views

Silencing chktex NumDash warnings only within certain commands

I use numbers with hyphens in them with certain commands. For example: \newcommand*{\orcid}[1]{\href{https://orcid.org/#1}{#1}} If I use \orcid{0000-0002-1825-0097} on a line, chktex will warn me ...
2
votes
1answer
24 views

Adjust space between multiple citations in memo-l class

I would like to reduce (more generally globally adjust to a specific length) the space after the comma in multiple citations, while using the memo-l class. MWE: \documentclass{memo-l} \begin{document}...
0
votes
0answers
36 views

Enclose additional information of book chapter in parentheses in bibliography

I am using the natbib package with a slightly edited version of the style apalike3.bst. Now, I would like to enclose the additional information of a chapter in an edited book within brackets after the ...
2
votes
1answer
342 views

Remove dot at the end of subsubsection

I am using IEEEtran (with the conference option). I would like to remove a period at the end of the title. \documentclass[conference,compsoc]{IEEEtran} \begin{document} \section{Section} \subsection{...
0
votes
1answer
84 views

Comma after article title with biblatex-chicago and xelatex

This has been asked a few times before, but according to the biblatex-chicago manual on page 178, this was supposed to be fixed in 1.0rc5 in Jan 2018 (at least for subtitles of books). My problem is ...
4
votes
1answer
131 views

Is it possible to change any character into punctuation in LaTeX?

I have a section of text that uses the mid-2000s online style of interspersing exclamation points with ones, for example (I’m sorry for the uninitiated): Oh Draco!111111!1 Oh mi fuking gud Draco!1111 ...
1
vote
1answer
30 views

Biblatex (bath) and removing punctuation from the reference list

I am using the style Bath with Biblatex, however I wish to remove a comma from way references are listed. For now my references show: However my university requires: ORTON, C. & HUGHES, M. 2013. ...
2
votes
1answer
150 views

Removing comma in in-text citation, Biblatex (Bath style)

I have been struggling to change my in-text citation from: (Pirone and Tykot, 2017: 80) To (Pirone and Tykot 2017: 80 ) I am trying to remove the comma between the authors and date for which I ...
1
vote
1answer
60 views

Biblatex: wrap postnote to \cite command in parentheses

I'm using biblatex with the authoryear-comp style. By default, the \cite command prints citations with no parentheses. I would like to keep this behavior while putting any postnote in parenthes ...
1
vote
1answer
53 views

Is it possible to remove the comma that appears before an in-text citation note?

I am using natbib and the apacite style. I want to cite Descartes' Meditations, and one standard way of doing it involves an in-text citation of the form '(CSM 25)'. I managed to use the alias system ...
0
votes
0answers
82 views

Finishing math with a period (part 2)

Related: Finishing math with a period I believe of the two options \[|f(x)-(y)|<\epsilon\text{.}\] or \[|f(x)-(y)|<\epsilon.\] the first one is correct. However, a problem that was brought up (...
0
votes
1answer
41 views

How can I insert a period without affecting equation alignment?

Here is the setup that I currently have: \[\triangle A_{1}B_{1}C_{1}\sim\triangle A_{2}B_{2}C_{2}\] \[\Big\Downarrow\] \vspace{-1.75em} \begin{align} \angle C_{1}A_{1}B_{1}&=\anglen C_{2}A_{2}...
1
vote
1answer
37 views

Biblatex-chicago: comma before closing quotation mark in author name

I would like to add a nickname to an author, but when I do the below the closing quotation mark ends up before the comma. Is there some way to fix so that the bibliography entry would instead read as ...
6
votes
1answer
124 views

Misplaced comma after LTR word in bidirectional document

I am writing documents with both English and Hebrew text in LaTeX. It works well, except for one thing: when there is a punctuation mark after an English word in a Hebrew sentence, the mark is ...
0
votes
1answer
47 views

BibLaTeX Superfluous punctuation and spacing in gost-inline (and gost-footnote) style

Sometimes the output of biblatex in gost-inline style (the same is for style=gost-footnote) has unnecessary space after a title of a citation and double punctuation between the author's name and the ...
3
votes
3answers
633 views

How to remove dot of section in \ref{}? [duplicate]

I renewed my section with dot and I want to get a number without dot when I use \ref{}. How can I do it? \documentclass[11pt]{article} \renewcommand\thesection{\normalsize{\arabic{section}.}} \begin{...
2
votes
1answer
51 views

Fixing punctuation in biblatex after a close-parenthesis while using custom macro for full page ranges

Recently @moewe kindly produced custom code in order to add full page-ranges to first-time citations of articles and book chapters. This code works well but results in a small bug I just noticed: when ...
3
votes
3answers
302 views

How to escape a quotation mark character/glyph?

I have the same problem as in this question, but the answers just circle around how to best use quotation marks. This is fine as long as you actually want a quotation mark. However, I explicitly don't ...
0
votes
0answers
113 views

Single or double dash between coauthors names?

Should I type: In the foundational paper of Eells-Sampson (...) or In the foundational paper of Eells--Sampson (...) So, single or double dash in the tex code between "Eells" and "...
0
votes
1answer
39 views

Avoiding fullwidth punctuation in English when xeCJK is loaded

When using the Unicode double quotes “ and ” in an English text when the package xeCJK is loaded, the behavior of punctuation changes everywhere (and not only in a CJK context), for example double ...
0
votes
0answers
170 views

els-cas-templates – Elsevier updated LATEX templates - extra comma when including images using \begin{figure}[h]

I'm using Elsevier single column using Overleaf. When I include images using the following code, I saw an extra comma added on the top of the image. My file is around 40 pages and I have many figures ...

1
2 3 4 5
20