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

23
votes
3answers
9k 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 ...
5
votes
1answer
787 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
687 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
728 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
761 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
10k 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
706 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
226 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 ...
3
votes
1answer
639 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
332 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} ...
6
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
604 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
174 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
615 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
2k 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 ...
5
votes
1answer
142 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
358 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
373 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
255 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 ...
6
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 ...
6
votes
1answer
2k 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.
15
votes
2answers
13k 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. ...
18
votes
1answer
295 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
225 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
284 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
633 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
199 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
424 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
229 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
245 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, ...
15
votes
3answers
949 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 ...
2
votes
1answer
237 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
341 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) ...
15
votes
3answers
357 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
458 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 ...
5
votes
1answer
380 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
170 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
318 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
308 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 ...
19
votes
1answer
688 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
131 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
321 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
580 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
241 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
1k 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 ...
19
votes
5answers
676 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
680 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
169 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
189 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 ...
3
votes
2answers
689 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?