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

3
votes
2answers
589 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 ...
1
vote
1answer
183 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 ...
2
votes
1answer
120 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
19 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` ...
62
votes
3answers
17k 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
177 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
70 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
133 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
69 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
8k 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
105 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
782 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
373 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
468 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, ...
4
votes
2answers
162 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
60 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 ...
8
votes
3answers
170 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
97 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
108 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
434 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
191 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 ...
7
votes
5answers
838 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
83 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} ...
27
votes
4answers
15k 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
527 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
118 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 ...
5
votes
1answer
690 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 ...
8
votes
1answer
168 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
177 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} ...
7
votes
2answers
216 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 ...
2
votes
1answer
253 views

How to use \guilsinglleft and \guilsinglright in csquotes

I was reading Jan Tschichold's The Form of the Book and he suggest to use ‹ [\guilsinglleft] and › [\guilsinglright] instead of « » for the outer quotation mark. So, I wonder how to do it, provided ...
4
votes
1answer
160 views

Longtable formatting in List of Tables

I have a List of Tables which is comprised of longtables and tables. My List of tables appears as 1. Table 1 2. Table 2 3 Table 3 4. Table 4 5 Table 5 The 3rd and 5th table punctuation is ...
2
votes
1answer
94 views

Automatically enclose \glt line from gb4e in \enquote{}

How can I automatically enclose the \glt (\trans) line in gb4e's interlinear glosses in context-aware quotation marks with \enquote{} from csquotes? \documentclass{article} ...
3
votes
2answers
1k views

\langle \rangle with punctuation

Is there a way to write \langle some text \rangle where the "some text" will be written with punctuation and will not contain any math symbols ? Maybe there is a different command for this bracket ...
0
votes
0answers
196 views

spbasic.bst and natbib without comma

I have problem. I use natbib and spbasic. And I want to have citation in text like this: John and Jack 2012; Loess et al. But I have this one: John and Jack, 2012. ; Loess et al Can you help me?
3
votes
2answers
168 views

Space after comma in empheq package

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{empheq} \begin{document} 0,5 \begin{empheq}{align} 0,5 \end{empheq} \end{document} Good (normal) is comma in first 0,5 . But not good in ...
5
votes
1answer
119 views

Hyphen Sporadically Appearing In Enumerated List

I am having an issue with hyphens not appearing in an enumerated list using IEEEtran. Sometimes the hyphen will present correctly, and other times it will not appear at all. Here is a working ...
3
votes
1answer
518 views

package csquote edit enquote to get single quote

I am using the package csquotes: \usepackage{csquotes} When I'm using \enquote{my text here}, I get double quote. How can I get singlequote instead by using \enquote{} ?
10
votes
3answers
814 views

Does the comma look the same within/without the dollar signs?

In math mode when I type a sentence, my habit was to put commas/full stops/semicolons, etc. outside the dollar sign. For example, I would write Let the variable be denoted by $x$., instead of Let the ...
1
vote
0answers
139 views

Ascii punctuation characters in listings [closed]

Let me explain. When I put some listings using listings package, then simple signs are replaced with similar, but more fancy signs, for example: ' into ` and so on, therefore there is no way to copy ...
3
votes
2answers
95 views

Quotes within quotes breaking

When a word in single quotes falls at the end of the quotation, LaTeX decides to render it as "' instead of '". For example: ``He said it was `off the hook''' would render: "He said it was 'off the ...
5
votes
1answer
120 views

No support for American-style punctuation in csquotes?

I was under the impression that csquotes provides support for American-style punctuation, whereby a punctuation mark adjacent to a closing quotation mark is moved inside, not outside, the quotation ...
4
votes
2answers
194 views

Incorrect Chinese punctuation spacing

When typing Chinese using xeCJK, periods and/or closing square brackets are too closely spaced together. How can I get more natural-looking spacings (e.g., tweaking xeCJK settings to match the Word ...
5
votes
1answer
133 views

Makeidx, Subentries and dashes

The following is the type of code I made. \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} ... something\index{Lois!Lane} ... \printindex \end{document} I'd like an index ...
6
votes
2answers
198 views

Can I create one command for quoting?

I would like to get this result: I currently use this piece to get the result: \glqq{\textit{Analysis II}}\grqq{} Can I create a single command like the following to get the desired result? ...
4
votes
1answer
134 views

Remove trailing period in Boxhandler package

Is there a way to remove the trailing period in the boxhandler package? It seems to occur with both the bxfigure and bxtable commands, but I have instances where I need no trailing periods. Minimum ...
16
votes
3answers
823 views

How can I typeset a quote directly above a period?

Is there a way to typeset a right double quote directly above a period (if the quotation ends with a period)? Not to the left (for example, ."), not to the right (for example, ".), but directly above. ...
2
votes
1answer
72 views

My CJK punctuation sits in a margin

I'm trying to forge a macro to produce nice formatting for pairs of sample Japanese sentences and their translation, but I seem to have run into a problem with indentation. If I have a hard line ...
12
votes
4answers
2k views

How do I prevent LaTeX from creating en-dash and em-dash?

All over the internet, there's this question on how to make LaTeX do the en-dash and em-dash. I have the opposite problem. I have some text from which I am generating HTML and LaTeX outputs. The ...