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

13
votes
2answers
5k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
40
votes
5answers
3k views

Upright parentheses in italic text

This question led to a new package: embrac Bringhurst, in Elements of Typographic Style, recommends to use upright parentheses in italic text (i.e., write 'a (simple) example' as opposed to 'a ...
3
votes
1answer
126 views

XeLatex and greek quotation marks

Background: «» are the greek analogues of the English quotation marks "". Goal: To be able to write "quote" in my .tex file and have XeLateX render it as «quote». Minimal test case that fails for ...
1
vote
1answer
107 views

CJK bracket quotes for english text?

This is a MWE for german style quotes in english text. Now how can japanese bracket quotes be used using the enquote command? Or should another command be used? Also how do I install CJK taken from ...
2
votes
0answers
21 views

apalike bibliographystyle:: how to quote title of each article? [duplicate]

I am using apalike biblographystile in latex. I would like to quote each article title. Currently, my latex file looks like: \documentclass[12pt]{article} \usepackage{apalike} \usepackage{natbib} ...
10
votes
1answer
1k views

How to modify a bibliography style to surround titles in quotes in a bibliography?

My advisor wants me to cause all titles for papers, books, and articles in " for my thesis in my bibliography. I am using natbib and the plainnat bibliography style and am unsure how to do this. I am ...
2
votes
2answers
138 views

Strange symbol in place of full-stop in TexMaker [duplicate]

Writing in texmaker these lines (the mount heigh is $1200m$). we saw it in \ref{chapter1}. width=6.02099737532808in (inside tikzpicture environment) all the dots (fullstop) get replaced ...
4
votes
1answer
269 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...? ...
2
votes
1answer
98 views

How to change how suspension points (dot dot dot) look with LaTeX?

What I want to do I know it is bad, but I would like to redefine how \ldots and its equivalents (the Unicode character … for instance) are rendered by TeX. Indeed, in my opinion, with LaTeX, the ...
1
vote
1answer
61 views

Enquote title using csquotes

I use the package csquotes and the \enquote command to place quotes in my documents that depend on my babel settings. For my current document I would like to enquote of an article. Therefore I wrote ...
6
votes
1answer
96 views

How to set a global setting for hyphenation of already hyphenated words using XeLaTeX?

Please consider the MWE below, I want to globally invoke hyphenation of already hyphenated words using Babel package, Hyphenat package in English, to get the same effect when using ...
9
votes
2answers
287 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 ...
1
vote
0answers
110 views

Quotation marks in TexWorks

I pasted a lot of text with quotation marks into TexWorks, expecting to have to change all the opening quotation marks to ``. But only about half of them actually look wrong when I compile. Is there ...
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 ...
8
votes
1answer
3k views

TeXStudio : Disable auto-completion of parentheses

I cannot stand the auto-completion of TeXStudio (formerly TexMakerX) regarding parentheses, braces, etc. I agree auto-completion is useful sometimes, but here it does just not work as I would like. ...
3
votes
2answers
185 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, ...
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.
2
votes
1answer
107 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
272 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
30 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
815 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
107 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
160 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
8k 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
145 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
307 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
86 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
166 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" ...
2
votes
2answers
87 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} ...
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 ...
31
votes
4answers
1k views

Coloring combining characters without changing color of a base character

Problem I am trying to find out is there a good way to paint combining characters without changing the color of the base character they are combined with. My actual problem case is to make some ...
5
votes
2answers
371 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
109 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
124 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
309 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 ...
18
votes
3answers
483 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 ...
5
votes
2answers
176 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 ...
10
votes
6answers
5k views

Dashed box environment

I am new to LaTeX and I'm having a hard time trying to create a dashed box environment without success. Can someone please share a code for a dashed box environment such as the one in the image? I ...
6
votes
1answer
63 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 ...
10
votes
3answers
1k views

Avoiding “minus sign” dash in listings commentstyle

Is there a general way to get listings package to typeset a hyphen as a minus character in the rest of the code (the default behavior), but typeset a hyphen as a true hyphen if it occurs in comments ...
8
votes
1answer
462 views

Single quotes in csquotes

I'm using the csquotes package with the modifications recommended by this answer, to detect quotation marks in my text (pasted from Microsoft Word) and make them look good in the output. Is there any ...
3
votes
1answer
159 views

make ``quote'' output as “quote„

I have a document in which everything is quoted in the form: ``quote'' How do I make them appear in the output document as “quote„ thanks
7
votes
1answer
153 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 ...
2
votes
1answer
253 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: ...
9
votes
2answers
256 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 ...
6
votes
2answers
1k views

Curly quotes in non-default font with xelatex

I have the following: \usepackage{fontspec} \setromanfont [Ligatures={Common}, Numbers={OldStyle}]{Palatino} And compile with this: xelatex main.tex I use: ``word'' But the quotes are never ...
3
votes
2answers
907 views

How to add LaTeX style quotation marks to the Hunspell spell checker?

Quotation marks in LaTeX have to be added with `` and '', but this results in the word being marked as misspelled in Texmaker, which uses Hunspell files (.dic and .aff). I tried adding `` and '' to ...
11
votes
1answer
262 views

Declare acronyms and abbreviations to automatically correct spaces after periods?

If I understand correctly, (La)TeX assumes that a period after a lower-case letter ends a sentence while a period after an upper-case letter does not. Unfortunately, my documents usually contain ...
63
votes
3answers
76k 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?
1
vote
1answer
69 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: ...