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

9
votes
2answers
238 views

Proper use of Backticks and Butterick's Practical Typography

In his book, Practical Typography, Butterick makes the following remark. Com­put­er sci­en­tists and doc­u­men­ta­tion writ­ers, take note: straight quotes and back­ticks in soft­ware code should ...
4
votes
2answers
186 views

Double-quote produces guillemets in emacs

I am having a totally bizarre problem with typing quote marks in tex documents in emacs. I work as an editor, so I receive tex source files from a publisher and I work on them. I work in emacs 24.3.1 ...
3
votes
0answers
43 views

biblatex: stop supressing double punctuation after title which ends with a dot [duplicate]

I have a problem with the automatic punctuation while using \footcite: I use references whith titles ending with a dot (e.g. 'Die Reichstuerkenhilfe in der Zeit Karls V.'). The dot is part of the ...
3
votes
2answers
146 views

Listings problem with quotes in a string

A single quote occuring inside a listings string seems to be interpreted as ending the string. Is there a way to avoid this from happening? \documentclass[12pt]{article} \usepackage[top=0.3in, ...
2
votes
1answer
84 views

Why aren't backtics giving me curly quotes?

I'm using the appropriate keystrokes to get curly quotes, but I'm not getting them. What is wrong here? \documentclass[nols,nohyper,openany, letterpaper]{tufte-book} ...
8
votes
2answers
263 views

'=' and '-' characters single quotation

I have a problem getting the - and = characters between single quotations. `-' and `=' both produces -' in the generated pdf. If I put an alphabetical character between ` and ' it works as expected. ...
0
votes
0answers
29 views

Override the spacing on the right of an in-line equation when followed by a punctuation mark

I set \mathsurround to 2pt in order to have a bit more horizontal spacing between text and in-line equations. Is there a way to set it to 0pt on the right whenever the in-line equation is followed by ...
7
votes
1answer
370 views

Comma in math mode

In some countries one use comma as decimal separator instead of a dot. I ususally use: %%%% Une vrai virgule pour les décimaux \DeclareMathSymbol{@}{\mathord}{letters}{"3B} and $3@2$ to obtain 3,2 ...
6
votes
1answer
96 views

Turn each single dash into en-dashes for page ranges in biblatex

I use biblatex with the setting, \usepackage[backend=biber, sorting=nyt, citestyle=ieee-alphabetic, bibstyle=ieee-alphabetic, maxnames=3,minnames=1,maxbibnames=99]{biblatex} and my ...
6
votes
1answer
152 views

„German“ quotation marks in .cls file

I have a class file which, among other things, generates a title page for my paper. The name of of my school, which appears at the top of the title page, is hard-coded into the class file. I would ...
4
votes
2answers
2k views

Display ' apostrophe

Is there a small package free way of implementing something like this, in pdflatex, and LaTeX? I wish for the outcome of \documentclass{article} \begin{document} `It's a nice day!' ...
7
votes
1answer
107 views

Biblatex: suppress colon after “In” for edited volumes

I'm using Biblatex with biber backend, authoryear-comp style. Is there a quick way to remove the colon after the "In" introducing the title of an edited book (@inbook bibliography items)? I've found ...
1
vote
2answers
231 views

German-style quotation marks in LuaLaTeX using polyglossia

Could someone post a complete minimal input file for LuaLaTeX to output "Hallo" also to get around ,,Hallo´´ In LaTeX I would have written ``Hallo´´ %% Minimal Inputfile for LuaLaTeX ...
6
votes
1answer
74 views

Preventing repeated periods in citations

I'm using natbib to do citations in text, and sometimes those citations end with a period. When this corresponds to the end of a sentence, a duplicate period can easily be inserted. A MWE: ...
3
votes
1answer
152 views

How to type apostrophes in an easier way?

I find typing `a word' and ``a word'' quite inconvenient, because I find it rather annoying to type ` and `` all the time. Instead, I'd prefer typing 'a word' and "a word" ...
1
vote
0answers
21 views

Ending sentences in an aligned equation [duplicate]

This is more of a general "mathematical english/punctuation" question, but I figure TeX users will know the answer. The following sentence seems natural: We define the $xyz$ constant via ...
8
votes
1answer
176 views

In biblatex, treat periods in journal as abbreviation dots

I would like to consistently have a comma between the journal and volume number for article references using biblatex with biber as the backend. Unfortunately, the punctuation between the journal and ...
2
votes
2answers
76 views

Getting rid of semicolon in vancouver style bib file when using @Webpage

As the title says, I am getting an extraneous semicolon after the type entry when using vancouver style bibtex. Here is the example .tex file: \documentclass[11pt, oneside]{amsart} ...
5
votes
2answers
279 views

Changing “and” to “&” and removing Oxford comma in bibliography

I need to change the "and" to "&" and remove the Oxford comma in my bibliography. I saw a solution here for removing the oxford comma that suggests changing the .bst file, but I'd prefer not to do ...
3
votes
1answer
92 views

Dashes (any kind) not showing up in table

I'm making a table that contains bond lengths and angles, and I can't get any dashes to show up to indicate a bond. I have typed (ETA entire table code): \begin{table}[hbp] \caption[Selected bond ...
11
votes
1answer
119 views

Use \index before or after punctuation?

It seems to me that you get different kerning if you use say\index{say}. than if you use say.\index{say} The following silly example is where I can see it: \documentclass[12pt]{memoir} ...
2
votes
1answer
225 views

quotation mark (quotation sign) xelatex + polyglossia + csquotes

the problem I have is the "?" that shows instead of appropriate quotation marks (signs) when citing/quoting text in foregin language. I have searched manuals for the packages such as polyglossia or ...
17
votes
3answers
421 views

Hanging punctuation with quotation marks in left margin?

Plain TeX has a method of creating hanging punctuation, where a punctuation mark/character immediately to the left of some text sits effectively in the margin. I want to do this with quotes, so that ...
6
votes
1answer
61 views

Adding parentheses to figure references

Using pretty much no packages, when using the \ref{label of figure} i get just the number of the figure. Is there an easy way to set it to make parentheses around that number? At the moment I have ...
5
votes
2answers
140 views

Comma in front of & in the reference section

I'm handling with a problem concerning referencing and citing sources in APA-Style. Here is my example code: \documentclass[a4paper, 12pt, bibtotoc, liststotoc, pointlessnumbers ...
9
votes
2answers
182 views

Hyphenation of words containing apostrophes

My question is plain and simple. Any way to hyphen words such as “Lor'themar”, “Kel'Thuzad”, etc.? Using \hyphenation{Kel'-Thu-zad} gives me this error, for instance when compiling. Error in ...
1
vote
1answer
61 views

Citation style: pages punctuation

Look at following \autocite-example: \autocite[15]{kant} Immanuel Kant: Freizeitparks im Harz, S. 15. How can I change the comma into a period? For the bibliography it's easy. I can use: ...
7
votes
1answer
144 views

Defining HTML-like tags as TeX macros

I have to admit, my catcode skill are not that good. I'm working with some templates that will be filled in by a programme (HTML::Template, made for HTML but very handy for LaTeX as well). I'd like ...
8
votes
2answers
225 views

How to get single curved quotation marks in math mode

I know I can get these fancy quotes `abc' I want to get those quotes separately. I know how to get the left one: {`}a But when I try just the right one, I get a different quote then when ...
4
votes
1answer
78 views

Global setting of hyphenation for words containing dashes

I'm using the word "Zwei-Drittel-Abstimmungsmehrheit" a bunch of times in my document. Often it won't fit into the current line, extending into the right margin. I figured out that the following ...
8
votes
1answer
147 views

How can I make my dash work with microtype?

Consider the following definition: \documentclass[a6paper]{article} \usepackage[showframe]{geometry} \usepackage{microtype} \def\Dash{\unskip\thinspace\textemdash\thinspace\ignorespaces\allowbreak} ...
4
votes
2answers
334 views

Change period after the title

I will loose my nerves here... Please help me with this crazzy bibtex style code. I want to change my bibtex style file in order to change the dot after the authors and the title with the comma: ...
2
votes
1answer
102 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 ...
5
votes
1answer
177 views

Package: songs strange opening quotation marks

I'm typesetting a songbook, and I have to cite a title of the original melody just under the current title. \documentclass[a4paper,12pt]{mwart} \usepackage[lyric]{songs} ...
21
votes
3answers
820 views

Can cleveref be made to use the Oxford comma for multiple citations?

Simple question: Is there a simple way to get cleveref to use the Oxford comma? \documentclass{article} \usepackage[standard]{ntheorem} \usepackage{cleveref} \begin{document} ...
8
votes
2answers
142 views

Quotation marks around operator in math mode

I want to create formulae where the \rightarrow is enclosed in double quotation marks and appears like any other word in a formula. What I'm getting instead, are formulae where these quotation marks ...
4
votes
0answers
71 views

Using comma as a decimal mark with SageTeX [closed]

There are a lot of questions about how-to use comma instead of dot in standart LaTeX documents. But how i can do this in documents with SageTeX? P.S. I use online editor cloud.sagemath.com
1
vote
0answers
73 views

Comprehensive list of mathmode dots with explanations

I have read on several occasions that there are differences between the multitude of dots commands that TeX and amsmath offer. However, I am not sure up to this day when to use which, and how critical ...
1
vote
1answer
58 views

Using doublequotes in bibtex fields and babel

I have autocreated (Mendeley - so editing by hand will be rendered useful on the next autocreation of the file) bib-files, which contain e.g. ". Unfortunately, those " are treated as the LaTeX ...
1
vote
1answer
141 views

Arabic comma in polyglossia

I'm writing a book of probability in arabic, and was using for this arabtex, which is now obsolete for my use. I've done my migration to polyglossia arabic, by the way, \usepackage{polyglossia} ...
5
votes
1answer
506 views

pgfplots import data from table with comma as decimal separator

I am trying to plot data from data files which are using the comma as decimal separator instead of a point (as is normal in SI style (French version): ...
5
votes
1answer
164 views

Avoid inverted exclamation and question marks, when followed by quotes

In an automated system that is generating LaTeX to render PostScript and PDF, i need to avoid an ambiguity in LaTeX: Two backticks (``) produce a closing doublequote: “ A question/exclamation mark ...
5
votes
2answers
214 views

Left and right quotation marks aren't correct when using fontspec

Using XeLaTeX the following document produces the correct result if \setmainfont{Arial} is never called (the quotation marks are proper left- and right-quotation marks). Once I try to set a font (even ...
0
votes
1answer
98 views

Hyphen going into margin

I have the following issue with a hyphen going into the margin: As you can see, the Spatio-Temporal word has crossed the margin. How can I fix it in LaTeX? I am using the TeX template at ...
8
votes
3answers
169 views

Move periods inside quotes in bibliography

I'm writing an article in Norwegian, and the guidelines specify that articles should be quoted in the bibliography as follows: John Doe. 2005. "My article." A Cool Journal 16. My impression is ...
0
votes
0answers
45 views

\AtBeginDocument breaks csquotes nesting - or \xspace won't add space

A couple of months ago, I asked this question because xspace wasn't adding whitespace before an active quote. The apparent solution was to add \AtBeginDocument. However, this breaks csquotes nesting ...
5
votes
1answer
74 views

Should a code sample be followed by a punctuation to conform to the language grammar?

Let's say I have the following text: The first program a computer science student sees is usually program HelloWorld(output); begin WriteLn('Hello, World!'); end. or 10 PRINT "Hello ...
2
votes
1answer
126 views

Why won't the quotation marks and dash be shown correctly?

I tried to write a document having a dash after a quotation mark. However, pdflatex has problems to show the document correctly. It looks like the second quotation mark is missing and the second dash ...
4
votes
1answer
237 views

Periods show up as hieroglyphs in TexMaker OS X

I am getting the following strange and somewhat annoying behavior in TexMaker for OS X 10.9: It happens any time a period immediately follows a curly brace. Why? Is there any way to fix this...? ...
4
votes
1answer
98 views

Multiple series of footnotes with and without period after \thefootnotemark

I am in the final stages of editing a complex document with different series of footnotes — mainly, a normal series using Arabic numerals and a second set using an asterisk. (Because this is a ...