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
1 vote
1 answer
21 views

make siunitx the decimal points alignment starts from the 3rd row of the table

I got a table has two rows as titles at the top of it, and numbers in the rest cells, so I've checked the document of the siunitx, It says something abt multicolumn but its kinda different from what ...
user avatar
  • 13
5 votes
3 answers
421 views

How can remove double dot in Theorem numbering

I use this code below to get the form name: Chapter I., II., III., section 1., subsection 1.1. in both text and table of contents.: \renewcommand\thechapter{\Roman{chapter}.} \renewcommand\thesection{\...
user avatar
  • 53
0 votes
1 answer
150 views

How to make the references appear in order in LaTeX?

I have a well-known problem in LaTeX, even though my case seems to be a little bit special. I've tried all the possible solutions suggested at "StackExchange" and elsewhere but I didn't ...
user avatar
1 vote
1 answer
33 views

Formatting periods and capitals after dashed entries in the bibliography

Consider the following MWE. \documentclass{article} \usepackage{fontspec} \setmainfont{EB Garamond} \usepackage[style = authoryear-comp]{biblatex} \usepackage{xpatch} \xpatchbibmacro{date+...
user avatar
  • 19.8k
1 vote
0 answers
24 views

Making punctuation groups almost unbreakable, avoiding orphans and widows

I have a script that generates PDF from the rich text. I want to make sure there are no orphans and widows that contains only punctuations or line break before punctuation if there is a word attached ...
user avatar
0 votes
1 answer
29 views

Manually typeset single and double quotations marks in dierect succession

Usually I use \usepackage{dirtytalk} to typeset quotation marks, however this usepackage does not seem to work within a \textcite[Section: "This needs quotation 'marks'"]{source1} ...
user avatar
4 votes
1 answer
80 views

Fixing right quotation marks

I am currently using the textcmds package to get the quotation marks, but how can I fix the right quotation marks in the below latex code? $\boldmath{\q{DIST^{V1.1}\textbf{-}SPRD}}$ What is need is ...
user avatar
2 votes
1 answer
31 views

How to include Oxford Comma in Chicago.bst for more than two authors?

FUNCTION {format.lab.names} { 's := s num.names$ 'numnames := numnames #4 > % change number to number of others allowed before % forcing "et al". { s #1 "{vv~}{ll}" ...
user avatar
  • 31
0 votes
0 answers
40 views

natbib: remove comma after journal name if volume exist in .bst

I am modifying the natbib .bst file by adding a blank after journal name where there is an indication of the volume, but I would like to keep the comma in case there is no volume mentioned as follows, ...
user avatar
  • 23
1 vote
1 answer
38 views

Command to change a string on the whole document [duplicate]

I was wondering if it was possible to use a variable within the document to quickly change a string. For example in my cover letter I want to insert the name of a different company but without ...
user avatar
0 votes
1 answer
40 views

Change rules for spacing in formulas

The following note is given in Donald Knuth 's TeXbook (page 170): How can I change these rules? More specifically, I am interested in changing the Punct line from (1) (1) * (1) ... to 1 1 * 1 .... ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 9,552
14 votes
1 answer
481 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" ...
user avatar
  • 784
3 votes
3 answers
253 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 ...
user avatar
0 votes
1 answer
264 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 ...
user avatar
0 votes
1 answer
38 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 ...
user avatar
5 votes
1 answer
138 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 ...
user avatar
  • 2,081
1 vote
1 answer
39 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 ...
user avatar
  • 1,638
2 votes
1 answer
71 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 ...
user avatar
13 votes
3 answers
360 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 ...
user avatar
  • 387
7 votes
2 answers
182 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,...
user avatar
0 votes
1 answer
38 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 ...
user avatar
1 vote
1 answer
26 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 ...
user avatar
  • 831
2 votes
1 answer
42 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 ...
user avatar
1 vote
1 answer
128 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 ...
user avatar
0 votes
1 answer
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. \...
user avatar
  • 185
6 votes
3 answers
428 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 ...
user avatar
2 votes
2 answers
91 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 ...
user avatar
  • 21
1 vote
1 answer
70 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} 男は店主とは顔馴染みらしく、...
user avatar
  • 13
1 vote
1 answer
77 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,...
user avatar
  • 45
0 votes
1 answer
51 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 ...
user avatar
  • 445
6 votes
2 answers
287 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 ...
user avatar
  • 295
1 vote
1 answer
45 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} \...
user avatar
6 votes
2 answers
573 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 ...
user avatar
  • 2,917
1 vote
1 answer
87 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 ...
user avatar
  • 10.9k
0 votes
1 answer
51 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. ...
user avatar
  • 81
1 vote
1 answer
58 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] \...
user avatar
  • 558
3 votes
1 answer
260 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 ...
user avatar
  • 31
0 votes
0 answers
71 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 ...
user avatar
3 votes
2 answers
199 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 ...
user avatar
  • 1,157
0 votes
1 answer
94 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 ...
user avatar
2 votes
1 answer
28 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}...
user avatar
  • 1,133
2 votes
1 answer
565 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{...
user avatar
0 votes
1 answer
113 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 ...
user avatar
  • 458
4 votes
1 answer
135 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 ...
user avatar
  • 43
1 vote
1 answer
49 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. ...
user avatar
  • 85
2 votes
1 answer
252 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 ...
user avatar
  • 85
1 vote
1 answer
83 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 ...
user avatar
  • 166
1 vote
1 answer
58 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 ...
user avatar
0 votes
0 answers
86 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 (...
user avatar

1
2 3 4 5
20