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

7
votes
1answer
547 views

How to reduce the spacing between punctuation and the superscript citation

I'm using biblatex with the autocite=superscript option, so I can use \autocite to switch the interpunction and a superscript citation when the \autocite command is placed before an period or comma. ...
51
votes
1answer
13k views

\dots versus \ldots - is there a difference?

Is there a difference between \dots and \ldots, the ellipsis? If yes: Which? When to use \dots and when to use \ldots? If no: Why are there both at all?
1
vote
0answers
30 views

Removing comma after last name in the last-first biblatex macro [duplicate]

Possible Duplicate: Biblatex: remove commas between last and first names in bibliography Is there an easy work-around with the last-first biblatex macro so that the comma after the last ...
2
votes
1answer
242 views

Problem with “and” keyword translation

I'm trying to generate bibliography using bibtex. My problem is that keyword and is not generated to comma. I also want to put First name after Last name. (I'm using Gummi as LaTeX editor). Document: ...
4
votes
1answer
275 views

Problem with libertine font for pretty big quotes

The following code, that I used with success, does not work with the last TeX LIve distribution. I don't know why. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
14
votes
1answer
1k views

adaptive \ldots with no (“…”) spacing

Due to the typographic traditions I'm used to, I prefer my \ldots to have no spacing in between, ideally exactly the same amount as in text. In math mode I would like to write things like \(1, 2, ...
3
votes
2answers
158 views

hyphens in index entries

If I write: \index{axioms!Zermelo–Fraenkel} LaTeX generates axioms, 184 ZermeloFraenkel, 203, 208 How do I stop the hyphen from disappearing? EDIT: MWE... \documentclass{article} ...
3
votes
1answer
316 views

Error message and newline

In the following, why is the exclamation mark (!) repeated in the error message? \def\error#1#2{% \begingroup \errhelp{#2}% \errmessage{^^J! package Error: #1^^J}% \endgroup } \error{Stop ...
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 ...
7
votes
1answer
3k views

«» resemble too much \ll \gg

I am typesetting a translation of some ancient poetry book from another language (namely Finnish). In the text there are several quotes which uses the Guillemets (« and »). Since I am using a UTF-8 ...
1
vote
1answer
128 views

Babel + Hebrew + aeguill incompatiblility

(Question split off from here.) If you try to use the aeguill package (which adds some guillemets to the ae fonts) with Babel and Hebrew: \documentclass{standalone} ...
5
votes
1answer
197 views

XeTeX/mathspec punctuation issue

In a previous question, a solution was given for changing the font of punctuation marks in a math environment when using mathspec. Unfortunately, this solution gives the punctuation marks in italics ...
3
votes
1answer
651 views

How remove dot after section number in ToC with babel's spanish?

I'm using the book document class and the babel package with the spanish option, I have a ToC like this: CHAPTER NAME 1.1. SECTION NAME 1.1.1. Subsection name 1.1.1.1. ...
17
votes
3answers
1k views

How do you end with a single quote followed by a double quote?

I have a paragraph as follows: ``This is a quote. `Here is a quote within a quote.''' But the formatting works out to be a double quote (") followed by a single quote (') instead of the other way ...
7
votes
4answers
2k views

How can I display two single quotes in LaTeX?

I need to display two single quotes without anything between them (I'm preparing computer science lecture slides and I want to display '\''), but of course LaTeX wants to translate '' to closing ...
25
votes
3answers
16k views

What is best method to insert an ellipsis in a (Xe)TeX document?

What is best method to insert an ellipsis in a (Xe)TeX document? \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} a...b a ... b %or a\ldots b a \ldots b ...
6
votes
1answer
1k views

Removing dot after section letter

Right now this I'm getting this for my first subsubsection: G.1.1. I would like for this to be G1.1. Does anybody know if it is possible to remove the first dot and put G and 1 together ...
12
votes
3answers
848 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
24
votes
2answers
942 views

Italics emphasis and punctuation [duplicate]

Possible Duplicate: Should I include punctuation marks in \emph, or should I place those marks after the command? When emphasizing the last part of a sentence by making it italic, is it ...
17
votes
2answers
898 views

Entire document typed in monospace font

I want to put an entire document into monospace font for various reasons. This is nominally fairly easy; you can say \renewcommand{\familydefault}{\ttdefault}. However, there at least two problems ...
6
votes
2answers
14k views

How to make apostrophes appear normally when copy-pasting from a MS Word document?

I have a report written in MS Word which I would like to turn into a LaTeX document. I copy-pasted the content of the document in my LaTeX editor (TeXShop, LaTeX, pdfTeX) and everything comes out fine ...
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 ...
6
votes
2answers
321 views

Why the point is missing after the number in this enumerate list?

I've always used latex for writing papers and documents but I'm not really expert of templates and styles. Currently I'm working on a document and I'm using a template that was provided by a ...
4
votes
1answer
811 views

Block quote with big quotations - white on black

There is are some very nice answers to the question of how to put large quotation marks around a block of text at Block quote with big quotation marks. Using the first answer (which uses tikz) but ...
8
votes
1answer
431 views

Colon instead of “p.” in Biblatex authoryear-comp

I'm using the authoryear-comp style with biblatex. But when using citing commands, instead of p/pp. I would rather have a colon. I have tried these: \DeclareFieldFormat{postnote}{: #1} ...
9
votes
1answer
2k views

Citation style in biblatex: (1) get rid of first names; (2) remove comma before year

I'm trying to use biblatex and biber so as to have access to @online, etc. But I'm quite overwhelmed. In-text citations used to just show the last names. Now they are including first names or ...
4
votes
1answer
775 views

Colon after appendix number

How do I get a ":" to show up after Appendix in my ToC. Right now I have APPENDIX A. Classification experiments but I want: APPENDIX A: Classification experiments In the preamble I am ...
2
votes
1answer
192 views

Getting email address as endnote in LyX revtex document

I'm having trouble getting the author email address to appear as an endnote -- marked with a letter -- in a LyX revtex document. Instead, it's showing up as a footnote. Here's a .lyx document and an ...
9
votes
1answer
783 views

Removing full stop after first name initial in biblatex, for all authors

I am using biblatex to format my references and I want to format them according to <LastName> <FirstNameInitial>, <LastName> <FirstNameInitial> and so on. In order to remove ...
8
votes
1answer
3k views

Handling quotes inside quotes in a bibliographic field

I have an entry in my bib file of the form @conference{abc, author = "Some name", title = ""This is inside quote" and outside quote content", . . . } when I check this entry through jabref, I get ...
6
votes
2answers
174 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? ...
14
votes
2answers
402 views

Automatically adding space before punctuation in old-style English texts

I'm typesetting an English text in an 18th century style (based on a 1725 edition of Alexander Pope's "Dunciad"). Is there a LaTeX package I can use to automatically add the correct space before (and ...
18
votes
1answer
416 views

Three quotation levels for csquotes

The recommended way of solving nested quotations in Norwegian is to use «» for the outer level and then alternating between ‘’ and “”. (Source) Is it a large undertaking to do this with csquotes?
5
votes
1answer
326 views

Automatically capitalize macro output if used after a period [duplicate]

Possible Duplicate: Detect beginning of a sentence in a macro for capitalization Is it possible to write a macro that is able to determine if it is used at the beginning of a sentence? For ...
7
votes
1answer
2k views

Change leftmark in fancyhdr

Can anyone tell me how, in the minimal example pasted below, I can achieve that the dot after Appendix in the header disappears? I understand that it is there because I simply made the number of the ...
10
votes
2answers
4k views

How to write quotation marks in math environment?

How to use quotation marks in math mode? I need to get \lim with the quation marks above.
17
votes
2answers
17k views

How to make a real apostrophe or single-quote in LaTeX

I am trying to incorporate programming examples in a LaTeX document. The document renders nicely with pdflatex; however, the single quotes get transformed into U+2019, a right-single-quotation mark. ...
20
votes
1answer
434 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
232 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
349 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
698 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
244 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 ...
21
votes
3answers
481 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
241 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
274 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, ...
16
votes
3answers
1k 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
277 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
429 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
400 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
581 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 ...