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

33
votes
5answers
10k views

What is the best way to use quotation mark glyphs?

There are several types of quotation marks in the English language (and in other languages there are even more). There are also several ways in LaTeX to represent these. I have seen editors, that are ...
5
votes
1answer
219 views

How do I make en/em dashes work in Myriad when using it with MinionPro

I'm using MinionPro for the body of a document and Myriad for figure/table captions. Because I can't load packages MinionPro and Myriad at the same time, I load the Myriad fonts for the sans-serif ...
1
vote
1answer
23 views

Get comma between multiple reference superscript numbers

When I add multiple references at the same point in my document, the superscript numbers are shown directly next to each other. I want a comma between them but cannot work out how to do that. It was ...
7
votes
1answer
107 views

Locally disabling en and em dash ligatures

A programming tool that I use (coqdoc) generates LaTeX documentation from my source code. Parts of the manual include pretty-printed code listings and math proofs. These listings and proofs are ...
1
vote
0answers
22 views

Color of dash gaps in tabular and dash endpoint alignment?

I am using the \usepackage[table]{xcolor} and the \rowcolors{...}{...}{...} command to get rowwise alternating background colors in my tables. Now i wanted to have dashed vertical lines and came ...
15
votes
1answer
1k views

How to break long URLs using common hyphenation but adding a line feed indicator?

I saw several questions like this one that request a solution for breaking apart URLs. I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
4
votes
1answer
221 views

Multilingual document: Problem between babel and csquotes: \MakeOuterQuote{"}

: Line 5 is my problem... I want to use simple quotation marks in a multilingual document with csquotes AND babel, with the help of \MakeOuterQuote{"}, and I need the command \selectlanguage{ngerman} ...
8
votes
4answers
2k views

How to correctly write number ranges?

Suppose I would like to write something like: "She has between 1-5 cookies on her at all times."; what is the correct way to write such a number range in TeX? Is it: $1$-$5$ Or: $1\text{-}5$ ...
5
votes
4answers
132 views

French guillemets specific look

I want to find the french guillemets in latex. To be honest I found them by many ways : \og text \fg{} with or without OT1 and french babel, but they do not produce the same result as those which ...
5
votes
2answers
13k views

Display ' apostrophe

Is there a small package free way of implementing something like this, in pdflatex, and LaTeX? I wish for the outcome of \documentclass{article} \begin{document} `It's a nice day!' ...
1
vote
2answers
30 views

Biblatex delimiter after journal title

I am trying to change the separator between the title of a journal article and the following element (In this case the name of the journal). however, I cannot find the proper delimiter in the §4.10 of ...
1
vote
1answer
44 views

position punctuation after a box

In this document I think the period would look better horizontally aligned with the floor of the box. Perhaps it should be bolder, too. If you think the alignment is right as is please say so. Edit: ...
5
votes
1answer
57 views

Adding a comma after “et al.” in citations doesn't work for a different language “et al.”

In an assignment, I am required to have citations formatted in the following manner: in the authoryear style with a comma after the andothers-string (normally "et al.") with "et al." translated to ...
7
votes
1answer
145 views

How to prevent a stranded comma on the next line?

In this document, where I am replicating my original document in order to get the issue I am highlighting here, a comma is stranded on the next line: \documentclass[a4paper, 14pt]{extarticle} ...
2
votes
2answers
86 views

French-style quotes look ugly

I want to use French-style quotes like so: «Quote» So i replaced the quotes with \flqq{} and \frqq{} but unfortunately it looks very ugly (see example) is there a way to have the french quotes ...
0
votes
0answers
53 views

Removing period after subsection

How is it done? Here are my style file examples \renewcommand\thechapter {\Roman{chapter}} \renewcommand\thesection {\arabic{chapter}.\arabic{section}} ...
3
votes
0answers
37 views

Spurious punctuation in xelatex + biblatex + Cyrillic or Greek

Biblatex has a mechanism that prevents spurious punctuation. Generally, it works fine but fails with xetex and some languages. The MWE below compiles fine with pdflatex but with xelatex yields double ...
1
vote
1answer
71 views

Replace “dot” with “comma” using biber and verbose-trad1

I'd like to have a "comma" instead of a "dot" after the authors and before the title. In other words, replace the "dot" for a "comma" as the author-title separator... MWE : \documentclass{article} ...
3
votes
2answers
369 views

Double dot at the end of sentence when figure reference ends with a dot

I try to make a class. I wrote \renewcommand\thetable{\thechapter\arabic{table}.} and under the table or in sentence I have e.g. "Table 2.1." but problem is when reference is at the end of ...
2
votes
0answers
37 views

Removing double punctuation when SI units with dots occur at the end of a sentence

I'm writing a document that uses a mix of SI and atomic units. The latter are usually written in the slightly awkward notation p = 1 a.u. with dots and all. (I know, it's not great, but what can ...
1
vote
1answer
53 views

Biblatex journal: issue, number punctuation

I use biblatex-biber in a report class, and need to modify my journal footnote from this: JOUR 24, no. 2 (1998) to this: JOUR 24.2 (1998) I am using a document style I did not create, and ...
1
vote
1answer
13 views

Can not redefine the command of \figureformat (\figureformat undefined)

I want to redefine the \figureformat to customize the output of figure captions: \renewcommand*{\figureformat}{\thefigure.\figurename} However, it gives an error when I compile: \figureformat ...
1
vote
0answers
17 views

use dots instead of comma in math mode with babel package use [duplicate]

hi i started to use math mode for lab reports but when i use the babel package (\usepackage[spanish]{babel}) the dots changes by comma, i been tried to use \DeclareMathSymbol and \mathcode.="8000` ...
55
votes
3answers
13k views

Block quote with big quotation marks

How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia? Additionally it would be nice to place both quotation marks and quote in a colored box ...
1
vote
0answers
42 views

vancouver.bst : How to remove the dot after the journal name

I need to remove the dots after the names of the journals in the references of my paper. I am using the vancouver style file. My minimum working example (MWE) looks like this: ...
1
vote
1answer
27 views

How to except code blocks from csquotes smart quoting?

\LaTeX newbie here. I figured out that csquotes can be used to automate smart curly quotes, and have added this to my preamble: \usepackage{csquotes} \MakeOuterQuote{"} This has the effect of ...
5
votes
1answer
67 views

Is there a way to disable kerning of punctuation marks globally?

I use the font XCharter in my document. Unfortunately, I get undesired kerning of punctuation marks following capital letters like W, P and T – especially in the bibliography (biblatex). Is there a ...
3
votes
2answers
39 views

Footnotemark after period in bibliography

I need footnotes in either the pages or addendum fields of some of my references. Since I don't have control over the period appended at the end of those fields, the footnote mark will end up before ...
3
votes
2answers
3k views

Is there an alternative way to double quote in Latex?

I am editing my Latex code using MS Word. Before you get any ideas (I know it's weird) please refer How to run Latex from Word? Having found myself in this unusual predicament, I also have to use ...
0
votes
1answer
44 views

biblatex: title and authors to be switched and followed by a line break instead of punctuation

The following MWE explains what I'd like to obtain: \documentclass{article} \usepackage{filecontents} \usepackage[backend=biber]{biblatex} % \begin{filecontents*}{\jobname.bib} @Book{ ...
6
votes
2answers
572 views

A comma decimal separator that is bigger than a dot

\documentclass{mwrep} \usepackage{amsmath} \begin{document} Check:\\ with "," $0,125$\\ with "." $0.125$ with commas: \begin{equation} P= \begin{bmatrix} 0,1 & 0,3 & 0,0 & 0,6 \\ ...
1
vote
1answer
149 views

Biblatex: Remove comma after andothers / et al.? Only if editor field is used [duplicate]

I need a pretty specific human-science citation style, that's why things got a bit difficult. Most of the times it works, but now I've got a problem: sometimes a book as only one or more editors, ...
6
votes
1answer
251 views

French spacing for semicolon in math mode

When writting mathematics in a french document, you should use the semicolon instead of the comma to separate the coordinate of a vector or a point (for example). The problem is that in math mode, ...
3
votes
2answers
63 views

Typesetting novel dialogue where one speaker has multiple paragraphs

I'm typesetting a novel wherein many characters have 2+ paragraphs of uninterrupted dialogue. Example: “Lorem ipsum dolor sit amet…tik. “Nullam orci dolor, porttitor a…julo? “Nulla nibh ...
2
votes
1answer
48 views

How to automatically put the footnotes before punctuation?

I have little problem :). I have a big file with 1422 footnotes. The problem is that I need to put every footnotes before punctuation (.,;). How to automatically put the footnotes before punctuation? ...
9
votes
2answers
1k views

Avoid line break between em-dash and the next word

I'm writing a text in Spanish, and I have a phrase wrote between em-dashes (that work like parentheses). The problem is that if the "opening" em-dash is too near the end of the line, then it may ...
7
votes
3answers
120 views

Non-breaking spaces inside dashes

Exists a method or environment to write in French, exactly like a quote in « guillemets », a text in — en dashes — with automatic non-breaking spaces inside ? So, I used this trivial method, but it ...
0
votes
1answer
43 views

Biblatex change punctuation between authors in multiple citations

I use biblatex package. I have a problem with changing multiple citations punctuation. I want use such commands as \cites and \parentcites follows: \cites{AuthorYYYY,AuthorYYYY,AuthorYYYY} I have ...
1
vote
1answer
54 views

Page-Range: output hypen as en-dash in \autocite

I'm trying to get \autocite to output -- for the page-range, the same way Biblatex does it for the bibliography entries: This is my MWE: \documentclass{article} \usepackage[ backend=biber, ...
1
vote
3answers
212 views

How to make LaTeX do auto punctuation like Word

Something is bothering me while I use LaTeX. If using, for example, Word, it will automatically capitalize the first letter of the beginning of each sentence and also suggesting to make some other ...
4
votes
1answer
110 views

Increasing the kerning around ' (apostrophe) but not inside the " (double quote) in microtype?

The microtype package (with kerning=true) allows to use \SetExtraKerning [ unit = space ] { encoding = {OT1,T1,LY1} }{ ' = {500, 400} } to increase the kerning before (500) and after (400) the ...
6
votes
5answers
177 views

How can I input normal quotes in LyX?

For example, if I type "this" into LyX file, the output PDF will show “this”, the quotes change to a set of curly quotes. But I want it looks like "this". Especially in LyX, there are six quotes ...
3
votes
1answer
38 views

Theoremstyle : adding dots

I need an extra dot in the format of \theoremstyle, for example; 2.1.3. Theorem 2.1. Lemma I use : \documentclass{article} \usepackage{amsthm} \swapnumbers \newlength{\spacelength} ...
24
votes
4answers
10k views

Guillemets in LaTeX («»)

I need the characters «» in my LaTeX document. I'm writing in English though, and I don't want to use Babel. I have the following hack but I'd like a better way: \newcommand{\q}[1]{{% \font\larm = ...
13
votes
2answers
237 views

Typewriter apostrophe in typewriter font for apostrophe symbol

Is there a way of producing a typewriter apostrophe (U+0027) in a typewriter font when an apostrophe symbol is entered in .tex document? To give an example, I’d like \texttt{'hello'} to produce ...
1
vote
1answer
54 views

No dot after year, when bib entry has no title

When an @online entry contains a note, but no title, I get a period after the year. Even with \renewcommand{\labelnamepunct}{\addspace} How to tell biblatex to not print the period, when no title is ...
4
votes
1answer
210 views

Biblatex add comma after journal issue before year

I just started to work with Biblatex and I'm struggling to figure out how to add a comma for articles after the issue number and before the year. This is how my footnote citation looks like: And ...
7
votes
1answer
76 views

\mkbibquote does not close quotation marks if immediately followed by colon

The following biblatex record (embedded within a minimal LaTeX example): \begin{filecontents*}{\jobname.bib} @article{test1, Author = {Craft, Robert}, Title = {Stravinsky at His ...
3
votes
1answer
69 views

Remove punctuation between urlseen and url, using biblatex (American Sociological Association reference formatting)

I've just about gotten my bibliography up to my advisor's standards, but there's one thing that I just can't seem to figure out. I need to remove the punctuation between the printouts of {urlseen} ...
6
votes
2answers
134 views

Macros that can lead to double periods at end of sentence

Suppose that a document makes a heavy use of one of the abbreviations PhD, Ph.D., DPhil and D.Phil., and for the sake of consistency the author decides to define a \PhD macro and use it whenever they ...