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

39
votes
7answers
11k views

Allow line break, but without inserting a dash

I have a sentence that contains a number of long dataset names. I would like to allow LaTeX to break these names at certain positions that I would like to specify somehow just like I can use \- to ...
4
votes
1answer
812 views

Remove punctuation (comma) after volume number in biblatex

Using this code: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[a4paper,twoside]{memoir} % Unix options \isopage ...
1
vote
1answer
197 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} ...
3
votes
1answer
722 views

Quotation marks in Beamer

I have something like this \documentclass[xcolor=svgnames]{beamer} \usecolortheme[named=Crimson]{structure} \usetheme[height=7mm]{Rochester} ... \begin{document} \begin{frame} In fact ...
8
votes
1answer
361 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 ...
14
votes
2answers
7k 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} ...
42
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
187 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
176 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
22 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
2k 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
185 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
291 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
169 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
91 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 ...
7
votes
1answer
113 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 ...
10
votes
2answers
380 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
164 views

Quotation marks in TexWorks [closed]

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
46 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 ...
12
votes
1answer
4k 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
350 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
5k 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
178 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
281 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
34 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
2k 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
126 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
169 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 ...
7
votes
1answer
227 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
507 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
154 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
216 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
104 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
22 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 ...
32
votes
4answers
2k 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
642 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
155 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
140 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
493 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 ...
19
votes
3answers
660 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 ...
11
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
87 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
634 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
194 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
166 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
299 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: ...
10
votes
2answers
441 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
2k 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
987 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 ...