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
2 answers
27 views

How to remove the Oxford comma in natbib bibliography author list using IEEEtranN?

How can I remove the Oxford comma after "S. Author"? I've looked through IEEEtranN.bst, but can't figure out where the comma is added. I'm not using babel as it seems to clash with some math ...
Anna's user avatar
  • 821
0 votes
0 answers
27 views

comma between a name and a symbol [closed]

Some authors write a comma between the name of a physical quantity and the mathematical symbol for that quantity (pressure, p), some don't (pressure p). What is correct? Thanks for your kind help. ...
Pavel's user avatar
  • 1
3 votes
1 answer
53 views

Remove oxford comma on title page in German apa7

I'm using the apa7 package in LaTeX. In the German language, we do not have the oxford comma (eg. ", and") when we list multiple authors. However, even with babel set to ngerman, I get an ...
JonathanF's user avatar
2 votes
1 answer
94 views

The horizontal gap/kern before the comma is too large with unicode-math

The following minimal example is stripped down from the sentence, “Let (𝑇, ≤) be a poset.” Feeding lualatex or xelatex with \documentclass{standalone} %\usepackage[math-style=ISO]{unicode-math} \...
AlMa1r's user avatar
  • 411
1 vote
1 answer
53 views

Polyglossia with Russian language set does not render -- and --- and nice quotes [duplicate]

Using polyglossia package with \setdefaultlanguage{russian} stops producing en-dashes and em-dashes from -- and ---, respectively. Also, no more nice 'upper 99' quotemarks (or any other nice ...
yury10578's user avatar
  • 169
1 vote
1 answer
135 views

How to type lambda expressions?

In computer science and related field the identity function is sometimes written lambda x.x, the square function lambda x.x^2 an so on. What is the correct way to typeset this in LaTeX? I have a ...
richardIII's user avatar
0 votes
1 answer
34 views

Need a dash with a certain thickness and length (and something above it)

\documentclass[10pt,a4paper]{llncs} \begin{document} -\ \textemdash\ \textendash\ =\ $\equiv$ \newline $\hat{-} \hat{\textemdash} \hat{\textendash} \hat{=} \hat{\equiv}$ \end{document} And again, ...
Hauke Reddmann's user avatar
2 votes
1 answer
38 views

Spacing and punctuation problems when customizing the list of figures

I am required to modify the appearance of the list of figures and tables so that the indexed elements appear in the form: Figure X.X: Figure caption...... page (and the same with the tables). I'm ...
Aradnix's user avatar
  • 3,735
5 votes
1 answer
378 views

Extra Spacing After "s.t."

Whenever I type "s.t." in my paper, there is always extra space after it. It also has this wierd thing when I highlight that extra space, it highlight through some random point in my paper. ...
Everett Holbrook's user avatar
0 votes
1 answer
73 views

persistent issues with overfull \hbox in bibliography

Hi there I'm working on a document report. I'm pretty much satisfied with the overall appearance, but for the sake of me I cannot figure out the issues I'm having with the bibliography. At a first ...
Matteo's user avatar
  • 163
0 votes
0 answers
11 views

TeXShop Problem: No auto-replacement of quotation marks (unless Key Binding activated)

I have searched around, but I did not really find a solution to my problem, that is not based on csquotes, which I would like to avoid. Presently, I am using TeXShop (which I cannot really avoid) and ...
Kolmin's user avatar
  • 559
1 vote
0 answers
30 views

Comma in the decimal numbers (Italian notation) [duplicate]

I wanted to ask this question a few months ago, and I don't know if there is a duplicate. I have searched but couldn't find anything. Here there is a minimal working example: \documentclass[a4paper,...
Sebastiano's user avatar
  • 54.1k
1 vote
1 answer
39 views

Is the advice I find to use \colon for punctuation and : for set notation outdated

I am working on a novel that include a fair amount of religious discussion, including citing bible verses. The advice I find on various sites on the internet is to use \colon for punctuation and ...
Michael Wagner's user avatar
4 votes
2 answers
184 views

Remove the dot after a specific theorem environment

The following code can remove the trailing dot from all theorem environments. \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother See Remove dot after theorem with ...
licheng's user avatar
  • 773
2 votes
0 answers
64 views

Fontspec mapping tex-text AND devanagarinumerals

I am unable to figure out the correct way to tell fontspec to adhere to both Mapping=tex-text and Mapping=devanagarinumerals. Here's an MWE: % !TeX program = XeLateX \documentclass{article} \...
Karthik Raman's user avatar
4 votes
2 answers
272 views

I switched to using polyglossia for some hebrew text and all of em dashed in my text reverted to three dashes

Switching from babel to plyglossia in my text seems to be associaed with em dashes (typed as three dashes in a row) now being printed as three dashes. I assume that the change to polyglossia is ...
Michael Wagner's user avatar
2 votes
1 answer
106 views

Automatic raise of punctuating commas inside math mode

How to have a switch to turn on/off the raising of punctuating commas inside the math mode so that (when the switch is true) they are typeset by \newcommand{\CommaPunct}{\mathpunct{\raisebox{0.5ex}{,}}...
Diaa's user avatar
  • 9,599
0 votes
1 answer
67 views

Comma placed just before name of author in citation, with the Journal of Fluid Mechanics .bst style file

Edited. Technical context: I use a Mac. I use TeXShop. I use BibTex, and BibDesk. I have all jfm (journal of fluid mechanics) necessary files in the folder the of the tex file. Here is my code: \...
someone's user avatar
3 votes
2 answers
327 views

What's the correct way of writing a systems of equation in latex?

i was writing some equations in a paper for an exam, and i was wondering what was the correct ways of writing a system of equations, including the use of punctuation. For example i was writing: \...
forgetfuled's user avatar
0 votes
0 answers
62 views

How to add comma instead of dot after last author in reference?

Please suggest how to replace dot(.) after the last author in reference as shown in Figure. The code used in premeble is: \documentclass[AMA,Times1COL]{WileyNJDv5} %STIX1COL,STIX2COL,...
Gopal Verma's user avatar
4 votes
1 answer
290 views

French spacing in plain tex / optex

I've seen the answer here for Latex. How can I adapt this to plain TeX or OPTeX? \frlang \fontfam[Times] { \catcode`\:=\active \catcode`\;=\active \catcode`\?=\active \catcode`\!=\...
user574859's user avatar
1 vote
0 answers
55 views

How can I enable common Latex shortcuts for em-dashes (---) and quotation marks (`` '') while using a system font?

I am using TexpadTeX (from the Mac application Texifier/TexPad) and am trying to use Adobe's Garamond Premier Pro font, which is a system font on MacOS. I'm also very used to using some widely-used ...
protagoras's user avatar
0 votes
0 answers
41 views

Keeping original hyphen-minus character with the sourcesanspro package

The sourcesanspro package, which loads the Source Sans Pro font, changes the hyphen characters. MWE: \documentclass{article} \usepackage[default]{sourcesanspro} \begin{document} Hello-world. \end{...
Gabor Szarnyas's user avatar
0 votes
0 answers
38 views

xelatex: -- produces hyphens instead of en-dash [duplicate]

Using xelatex, the following code produces six hyphens, as in the code sample. Using pdflatex, it produces a hyphen, an en-dash and an em-dash, as should be. The behavior is reproducible with other ...
Philipp's user avatar
  • 1,595
1 vote
1 answer
63 views

Lower the period following a display style fraction

I dislike the look of the output of the following code because the period mark following the fraction looks confused (to my eyes, at least), almost like it's trying to be a degree symbol. I wish that ...
Noah J's user avatar
  • 515
0 votes
1 answer
17 views

When using \part, unwanted full stop/period appears after float numbers in scrbook [duplicate]

I'm writing a document using the scrbook class, and I'm having some strange behavior when combing floats with the \part macro. For the following document: \documentclass{scrbook} \begin{document} \...
Ben Zelnick's user avatar
3 votes
2 answers
336 views

Automatically add a final period to a caption where there is none

I tried to adapt the answer to Automatically add a final period if argument of '\paragraph' does not end with a punctuation character as a way to automatically add a period to a caption when ...
user94293's user avatar
  • 4,254
4 votes
2 answers
459 views

Automatically add a final period if argument of '\paragraph' does not end with a punctuation character

I'd like to automatically add a final period if the argument of \paragraph does not end with either ., ?, or !. A solution has been provided in Add a period after each paragraph title but this ...
user94293's user avatar
  • 4,254
4 votes
0 answers
105 views

OpenType case-senstive forms break microtype's protrusion for hyphens

By enabling the OpenType feature case-senstive forms ([Letters=Uppercase]), vertically lifted brackets, hyphens, or parentheses for example) via setmainfont with fontspec, I loose the protrusion for ...
archifont's user avatar
3 votes
0 answers
171 views

Is \[ c^2 = a^2 + b^2 \text{,} \] not better than \[ c^2 = a^2 + b^2 , \]?

I know the question of punctuation at the end of displayed equations has been discussed many times in here (see e.g. here). However, as far as I see, one of the elephants in the room has never really ...
Gaussler's user avatar
  • 12.8k
0 votes
2 answers
165 views

Add extra kerning before certain punctuation in Babel, but not for the typewriter font

I want to add extra kerning before exclamation marks, question marks, colons, semicolons, etc. and extra kerning before and after en and em dashes. My current code is based off of this answer. The ...
Amarakon's user avatar
  • 165
2 votes
1 answer
31 views

Changing "and" word in authors names of polish article for "," (comma separator)

The problem looks simple (but probably is not). I need to change word "and" for simple comma separator (,) in the part related with authors names. I would like to not change the "layout&...
Rejnold's user avatar
  • 67
3 votes
3 answers
516 views

take space after comma in math mode

I have searched hard for the answer to this question but have not been able to find it. I'm typing an article and I have to write a lot of formulas, and for me it's more beautiful write f(x, y) than f(...
Fatima  Bogatyreva's user avatar
2 votes
0 answers
64 views

assymetric-spacing colon as middle separator in set comprehension at various sizes

Let's assume within this post that an author unconventionally insists on using the colon as a middle separation symbol in all three traditional variable binders (class/set comprehensions, quantifier ...
user avatar
3 votes
1 answer
187 views

What's the point of \colon always inserting additional spacing around : with amsmath, NewTX, or TeX Gyre Termes Math?

When looking at https://tex.stackexchange.com/a/64435, it seems to me that \mathpunct{:} and \colon should be interchangeable. But with amsmath, or NewTX, or unicode-math + TeX Gyre Termes Math, they ...
user avatar
1 vote
0 answers
21 views

punctuation in traditional Chinese {bkai} is in the middle instead of the right bottom corner, how to fix it?

I use the following code for some traditional Chinese characters output: \documentclass[12pt]{article} \usepackage{CJK} \begin{document} \begin{CJK}{UTF8}{bkai} 君子一言,駟馬難追。 \end{CJK} \end{document} ...
user1134924's user avatar
2 votes
1 answer
51 views

Remove period after author (year) generated by \usepackage[style=authoryear]{biblatex}?

My bib file: @book{tgt, title = {The Great Title}, author = {Jane Doe}, year = {2022}, publisher = {Macmillan}, address = {Paris}, } My LaTeX code: \documentclass{article} \usepackage[style=...
Lone Learner's user avatar
  • 3,226
0 votes
0 answers
22 views

Some questions relating to writing project number

I'm writing acknowledgement for a paper and have some questions that I need some help. The acknowledgement is something like below with some modification to hide the real name. This research was ...
hana's user avatar
  • 759
2 votes
1 answer
53 views

No protrusion into left margin with Nordic quotation marks with microtype, babel and csquotes

I want opening quotation marks to protrude into the left margin. And all is fine and dandy as long as I use English, but Nordic languages use \textquotedblright (”) for both opening and closing quotes....
Fredrik P's user avatar
  • 1,386
0 votes
0 answers
50 views

List comma-separated chemical formula within the sentence

NiCl2, NaPO_2H2, C4H4Na2O4, and HF. I have to list these chemicals within a sentence. But when I tried to put superscript and subscript, the remaining sentence and the whole paragraph are changing ...
Hameed's user avatar
  • 1
0 votes
0 answers
61 views

Comma after english word

I am using the Arabic language in writing my latex file, I have a problem in in the comma which appear in there reverse place for the English words, some times I keep some terms in English for the ...
Abed's user avatar
  • 1
0 votes
1 answer
49 views

Dash at the end/beginning of a harpoon arrow

I need to insert a harpoon arrow up with a dash, that can be both at the beginning or at the end of the arrow. I've found this method but it only allows me to insert normal arrows. \documentclass{...
Lorenzo's user avatar
0 votes
1 answer
93 views

How to vertically align and format numbers in scientific notation inside tables?

I need to get a centered alignment inside the first column with respect to the dash "-" and insiedthe last column. Can you also show how to customize and visualize only two decimal places in ...
g_don's user avatar
  • 779
1 vote
3 answers
141 views

Defining an Em Dash with Length Greater Than the Cabin Default

I have noticed that the length of an em dash is not always uniform, depending upon the font being used. Consider the following code which defines an em dash: \documentclass{book} \usepackage[T1]{...
DDS's user avatar
  • 8,816
0 votes
0 answers
104 views

How to have a comma most distinct from a prime

At times, students in some introductory classes mistake the comma after an equation for a prime. This occurs for example if the comma shows up after a fraction, in which case the student thinks it is ...
Maesumi's user avatar
  • 9,059
1 vote
2 answers
146 views

Conditionally remove trailing period

I have an abbreviation "f.o.o.". However, I might later want to change it to simply "foo". I thus define a macro in order to easily switch (by (un)commenting the relevant lines) ...
dwolfeu's user avatar
  • 473
2 votes
1 answer
613 views

Command for comma in math or text mode

I have the following csv file (myCSVfile.csv) which contains header with LaTeX code: $T_{1,2}$, $T_{3}$ 100, 300 200, 500 In my LaTeX document, I import this table with \pgfplotstabletypeset[col ...
zetyty's user avatar
  • 777
5 votes
2 answers
431 views

Punctuation in commutative diagrams

I'm using many commutative diagrams in my notes and I'm trying to punctuate them, as any other mathematical object. Now I have two questions on how to achieve the right punctuation. When the period is ...
Luis Turcio's user avatar
  • 2,759
0 votes
0 answers
26 views

Missing en dashes in MSN bibliography entries

I am quite new to the research wolds in Mathematics. Apparently, a lot of researchers use the database of MathSciNet (American Mathematical Society) to find bibliography entries, to then be used in ...
Lios's user avatar
  • 101
2 votes
1 answer
65 views

Problem aligning tikzpicture or caption (side by side) with subfloat and comma separator in xaxis

I am facing a problem with the alignment of the caption when positioning two tikzpicture with subfloat and a comma separated number format in the x axis. Can someone solve this? Here is the MWE: \...
KaZ's user avatar
  • 21

1
2 3 4 5
21