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

22
votes
1answer
853 views

Why can words with hyphen char not be hyphenated?

Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why? why isn't it something like this: where the small ticks indicate possible hyphenation points. A ...
11
votes
2answers
251 views

What is a good way to typeset dot-separated acronyms?

I am trying to find a good appearance for typesetting "C.A.T.A.P.U.L.T.". When I type it as is, it appears to me that P.U.L. are bunched up together while the other letters are well apart. Perhaps ...
8
votes
1answer
476 views

Acronyms without double dots using glossaries

I want to typeset my acronyms with abbreviating dots with, for instance, P.C.A. standing for principal component analysis and use macros for them. This question provides a trick to avoid double dots ...
6
votes
3answers
825 views

lualatex and line breaks after em-dashes

I’ve just installed TeX Live 2012. As mentioned elsewhere on this site, the release history explains that “the parameter \XeTeXdashbreakstate is set to 1 by default, for both xetex and xelatex. This ...
10
votes
2answers
394 views

Vertically aligning hyphens and en dash in a compound word

I was wondering if there is a way to make the hyphen and en dash in a compound word appear at the same "height." For instance the style guide I'm following suggests using en dash to reduce the ...
22
votes
3answers
618 views

Comma-separated list environment

This question is somewhat of a follow up to an answer to a previous question (http://tex.stackexchange.com/a/11587/13522). I would like to create a list environment (similar to itemize and enumerate) ...
21
votes
1answer
255 views

Why do ``` and ''' produce outputs with different spaces?

Why do ``` and ''' produce outputs with different spaces? \documentclass{article} \parindent=0pt \begin{document} Input: \begin{verbatim} ```\\ ''' \end{verbatim} Output: ```\\ ''' ...
4
votes
1answer
313 views

Ellipses & Correct Space Factor

I’m trying to use the Unicode ellipsis character (U+2026 ‘…’) in my source files. To this end, I’m looking for an ellipsis macro which I can use with newunicodechar. The trouble is, I’ve noticed, ...
17
votes
3answers
2k views

en dash and em dash spacing

I've noticed that en dashes and em dashes run into certain numbers and letters, and I don't believe it's standard to use spaces with these. For example, if a 'b' comes before the dash or a '6' comes ...
3
votes
1answer
333 views

zero-width Quine corners

I would like to create symbol pairs that can be used like quotation marks (spacing-wise) look like Quine corners (roughly: \ulcorner ... \urcorner) or Japanese quotation marks (roughly: \ulcorner ...
5
votes
1answer
612 views

Special punctuation marks

Is there an easy way to render special punctuation marks present in some fonts, such as double question mark, double exclamation mark, or interrobang? Also, is there a font (preferably open-source) ...
16
votes
3answers
466 views

German-style quotation marks too close to italics letters and mathpazo font package

When I type an text in italic with the Palladio font the German quotation marks are (far) too close to the letters. The problem does not occur with English quotation marks. Is there any solution or ...
3
votes
4answers
837 views

Disabling interword spacing for periods following capital letters

By default, LaTex inserts a longer, intersentence space after a period. The exception is if the period follows a capital letter, in which case an interword space is assumed. This thread describes ...
6
votes
2answers
720 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 \\ ...
4
votes
1answer
217 views

How to avoid superfluous punctuation for shorthand in bibliography?

I would like to have the shorthand printed in the bibliography in square brackets before the bibliography item. I adapted this answer by lockstep which works with one problem: if there is no author, ...
16
votes
2answers
378 views

Defining \xthinspace: Thin space only if not followed by certain characters

Following this 2005 thread from the XeTeX list, I’ve defined a \spaceddash command and assigned it to the Unicode em-dash character U+2014 “—”: \documentclass{minimal} \usepackage[utf8]{inputenc} ...
5
votes
2answers
438 views

Spacefactor & Unicode Curly Quotes

Unicode curly quotes seem not to have the correct space factor. Consider the following minimal example (not using french spacing): \documentclass[12pt]{minimal} \usepackage[utf8]{inputenc} % Or ...
25
votes
1answer
3k views

Why should I use -​- in pages field of a BibTeX entry?

In most BibTeX entries I found on the internet a page range in the page field is separated by a double hyphen --. Why should I use a double dash and not a single one -? @misc{blub, title="blah", ...
4
votes
2answers
172 views

stops become blank squares in cjhebrew

The following code: \documentclass[12pt,a4paper]{book} \usepackage{cjhebrew} \begin{document} \begin{cjhebrew} hd . \end{cjhebrew} \end{document} Generates the correct hebrew letters, but the stop ...
1
vote
2answers
355 views

newtheorem report class with `part' as reset counter

Sorry i have no MWE for this question. I have a .dtx class and looking at the diff between a previous "good" version and the present i have, there is nowhere some recollection about what exactly is ...
7
votes
1answer
829 views

Linking quotation environment with citation styles

I was just wondering if it is possible to combine citation commands (preferably of biblatex) with quotation environments. The reason is this: In German language papers you often have two choices ...
12
votes
1answer
355 views

Avoiding dot in true single-character middle name (abbrv-style)

One of my co-author's name has the pattern "Aaaa B Ccccc", where (due to transcription from Chinese) the "B" is indeed a single character (part of the given name). Now BibTeX (in abbrv-style) likes to ...
3
votes
3answers
2k views

An extra dot after section counter while numbering equations

My sections are numbered with a dot after counter. I get it like this \renewcommand{\thesection}{\arabic{section}.} I also need the equations to be numbered within sections and I try to do it like ...
21
votes
5answers
1k views

Hyphenation problem with — versus \textemdash

While investigating problems with hyphenation and em-dashes, I came across this: a piece---perhaps an installation---, involving structural feedback The document class is article. The problem was ...
7
votes
3answers
1k views

Remove comma after title ending with questionmark

I am using a bit modified bibtex style but with quite common base. It is based on utphys 2.7 which is based on "IEEE Transactions bibliography style (29-Jan-88 version)" I'd like to remove comma ...
0
votes
2answers
191 views

Force printing of parentheses around a single character in math mode [closed]

Although this is not strictly mathematical notation, I would like to denote an object with a calligraphy capital T and subscript non-italic P. I have this: ...
3
votes
1answer
206 views

problem with biblatex-chem bundle, babel, and inbook entry

I'm writing my thesis in French, and thus use the package babel. I have chosen the "chem-angew" bibliography style, and all is good so far, except for citations of chapters in books. Here is my bib ...
4
votes
2answers
2k views

What kind of dash is used before a quote attribution?

In this quote example: “Planning your video is the first step.” -Christine Cloud, Producer Should the name be preceded by an em dash, or a swung dash?
31
votes
2answers
2k views

Is there a way to automatically change kerning between commas/full stops and footnote marks?

This question led to a new package: fnpct Following up on my question on the kerning of footnote marks after punctuation marks, I'd like to know if there is a way to achieve the kerning of ...
23
votes
2answers
6k views

How to properly typeset footnotes/superscripts after punctuation marks?

I find the spacing of footnote marks after punctuation marks quite unsatisfactory, especially with sans serif fonts and compared to the spacing after letters. Example follows: I came up with a ...
-1
votes
1answer
798 views

Comma sign in Bibliography [closed]

I am using \documentclass[a4paper 12pt]{article} and \bibliographystyle{unsrt} to write a report. The problem i am facing is that latex is not putting comma between the author names in my ...
42
votes
3answers
4k views

How to properly typeset all forms of punctuation used in English-language documents?

English documents tend to use these types of punctuation: periods apostrophes brackets of various kinds colons and semicolons commas dashes and hyphens ellipsis exclamation and question marks ...
3
votes
1answer
393 views

Which spacing after a semicolon following acronym?

Similar to my previous question, I have a few sentences ending ACRONYM; word. chktex recommends I insert intersentence spacing (ACRONYM\@; word). I can't find a decent reference to explain why an ...
42
votes
1answer
4k views

When should I use intersentence spacing (`\@')?

I've got a sentence that ends on an acronym: blah blah WORD. Next sentence blah Running this through chktex, I'm informed that: Warning 13 in ./file.tex line 9: Intersentence spacing (`\@') ...
19
votes
3answers
2k views

Range of Dates (1999-01 — 2012-12)?

How to typeset range expressed with dash of two ISO8601 dates ? 2010-01--2012-03 or 2010-01---2012-03 or another option ?
6
votes
3answers
1k views

How to break long word containing symbols but with no hyphen?

Below is my minimum working example: \documentclass[10pt,a4paper,draft]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} ...
3
votes
2answers
899 views

How to have an amsart-like subsection style

If you use the amsart class, then it puts a period after the subsection title, but not if there is no title. For example, if I write \subsection{Title} Blah1 \subsection{} Blah2 Then amsart ...
2
votes
1answer
1k views

Matrix in an align environment

I'm currently writing on my masters thesis and I have a question about matrices at the end of a sentence. I write my matrix as a pmatrix in an align environment. Actually the matrix is at the end of ...
93
votes
3answers
117k views

What is the LaTeX command for “em dash” (—)?

I am trying to insert the symbol in the title of the question, which I copied from a PDF article, but it appears as space in the output file. What is the corresponding LaTeX command?
16
votes
1answer
1k views

How to fix kerning of comma/colon after quotes?

How to fix kerning of comma/colon after quotes? Hello, I’m a relative newbie in latex and am trying to reduce the space between closing quotes and colon/comma, but by a general way in the preamble, ...
3
votes
1answer
1k views

Punctuation between authors in bibliography?

I am finalizing my doctoral dissertation in LaTeX, and before printing my university has some very specific requirements regarding the formatting of the references section. Using makebst I have been ...
18
votes
2answers
7k views

Straight quotes?

How do I get a straight quote instead of curly quotes? I’m not inside verb or listing or any other special environments, and I’m not using XeLaTeX or anything—just normal LaTeX. I don’t want to change ...
4
votes
1answer
151 views

autopunctuation not working properly

What am I doing wrong? According to my understanding, these two formulae should look different (the second one should have a thin space): \setupmathematics[autopunctuation=yes] \starttext $(2,5)$ ...
7
votes
1answer
812 views

authblk footnote marks before/atop commas

The authblk package, in footnoted mode, puts footnote marks inside commas ("Alice1,") which is bad typography. Is there any way to persuade it to put the footnote marks outside the commas ...
31
votes
2answers
77k views

Quote marks are backwards (using texmaker/PDFLatex) [duplicate]

Possible Duplicate: What is the best way to use quotation mark glyphs Automatically convert quotations in the form of “abc” to become ``abc" I am (obviously) new to LaTeX and ...
7
votes
2answers
287 views

Big quotes drawn with TiKz does not compile

My problem Sorry to give such a long code but my problem appears in it. I don't see why the first long code given below does not work : more precisely, the problem comes from the big quotes drawn ...
2
votes
1answer
283 views

mathptmx gives me commas in the wrong font

When I use mathptmx, it gives me commas in computer modern not times roman. Anyone know how to fix this anomaly? Compile this to see the difference: \documentclass{article} \usepackage{mathptmx} ...
1
vote
1answer
2k views

Changing the colon to a comma after the vol.(num.) in bst file

I need to change the format in the .bst file that I am using. The format currently as: Beth, T. and Gollmann, D. (1989). Algorithm Engineering for Public Key Algorithm. IEEE Journal on selected ...
3
votes
1answer
9k views

Using quotation marks [duplicate]

Possible Duplicate: Automatically convert quotations in the form of “abc” to become ``abc" I have a Microsoft Word document whose text I have copied into a LaTeX document. One ...
12
votes
1answer
501 views

Old-style figures: Use in references/brackets (e.g. to equations, bibliography) or not?

In my documents I usually use old-style figures for "non-mathematical" numbers. By this I mean for example dates, page numbers, telephone numbers and the like. For tables, results of equations etc. I ...