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

0
votes
1answer
19 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
37 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
189 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
89 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
116 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
32 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} ...
22
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
178 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
28 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
82 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
65 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
46 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
123 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 ...
44
votes
7answers
14k views

Isn't there any other way of doing double quotes in LaTeX besides `` + ''?

The standard way of writing quotes and double quotes in LaTeX is with `` and '', but I find them quite ugly. Isn't there something similar to \emph{}, but for quotes? I mean something like ...
1
vote
1answer
27 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
53 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 ...
1
vote
1answer
46 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
53 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
31 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
49 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
46 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 ...
0
votes
0answers
23 views

Conflict: \Makeouterquote & \begin{quote}

I'm having a problem with using: \usepackage{csquotes} \MakeOuterQuote{"} and moments in the text when I use: \begin{quote} blah, blah blah \end{quote} For some reason, this keeps the document ...
3
votes
1answer
51 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
731 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
1answer
100 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
55 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 ...
4
votes
1answer
55 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
82 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
61 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
176 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
38 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 ...
51
votes
2answers
14k views

Aligning numbers by decimal points in table columns

Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the ...
16
votes
3answers
627 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. ...
1
vote
1answer
82 views

Fontspec en- and em-dash ligatures

When producing en- or em-dashes with fontspec enabled i XeLaTeX, the ligatures are not produced, it simply prints -- and ---. MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
98
votes
4answers
149k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
2
votes
1answer
58 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
1k 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 ...
48
votes
2answers
67k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) &middot; &#183; U+00B7 "midpoint (in typography)" ...
4
votes
3answers
230 views

Cut and Paste Non-Math Text from MS Word to a .tex file

I am helping a friend use LaTeX to generate a book of short stories. The stories are received from the authors in MS Word -- unfortunately that is only text editor most of the world knows. There is no ...
4
votes
3answers
245 views

How can I get straight quotes in pseudocode?

The quotes in pseudocode currently look like this: How can I get quotes that look more like a programming environment and less as if I just typed it with MS Word? MWE \documentclass{article} ...
2
votes
3answers
206 views

Remove last dot in title numbering

My current document is processed like this: 1. Some chapter 1.1. Some section 1.1.1. Some subsection Appendix A. Some appendix What I want to have: 1 Some chapter 1.1 Some section 1.1.1 Some ...
3
votes
1answer
142 views

How do you code Mr./Dr./Mrs. in LaTeX? [duplicate]

Bit of a newbie question. I have read somewhere (can't seem to find it now) that if you wish to write Mr. John Doe or Dr. Jane Doe that LaTeX with treat the . as a full stop and add an extra space. ...
4
votes
2answers
94 views

How to typeset an em dash in an alltt environment

I am trying to typeset an em dash using --- inside an alltt environment, but I get three hyphens instead of a single em dash. MWE \documentclass[12pt]{article} \usepackage{alltt} \begin{document} ...
1
vote
0answers
88 views

French quotation marks in titles

I'm currently finishing my PhD thesis. I use Lyx and the packages \usepackage[french]{babel} \frenchbsetup{FrenchFootnotes=false} I use the french quotation marks (guillemets) without any problem ...
2
votes
1answer
115 views

ConTeXt: Substitute em-dash for double-hyphens

Background I am trying to substitute an em-dash for double-hyphens (--) whenever they occur in user-generated text. The fonts that I am using (Chivo and Gentium Basic) result in double-hyphens added ...
4
votes
2answers
70 views

colon after Appendix name

I am trying to solve a simple problem but have been unable to find a answer on this forum. My question is -- how can I put a colon after the appendix name? I feel that it should be pretty simple but ...
2
votes
2answers
49 views

Centering enquoted text

I am using csquotes package in my document which has a title with quoted phrase. The title should be centralized, so it is nested into center environment. LaTeX (XeLaTeX to be more precise) handles ...
0
votes
2answers
89 views

How to make LaTeX properly hyphenate a word followed or preceded by a triple dash?

I'm using memoir class to write a novel. As it is widely known, writer comments inside novel characters' dialogues are usually enclosed between long dashes which in turn are written as a triple dash ...
3
votes
1answer
71 views

csquotes and invalid nesting with two nested \mkbibquotes

I was surprised when today I got the error message Package csquotes Error: Unbalanced groups or invalid nesting. After a while I found the culprit in my bibliography-file. It is a bib-item whose title ...
4
votes
0answers
75 views

How to cite correctly in a document with quotes in several languages using csquotes? [closed]

I'm working on a document written primarily in Spanish, but contains many quotes between quotation marks, multiple nested. It also contains text blocks that I usually compose with the environments ...