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

19
votes
4answers
7k views

Comma as decimal point leading to confusion [duplicate]

I'm writing a report in a language that uses decimal commas. In some cases that clashes with commas used for punctuation, causing hard to read text, e.g.: for $x_i \in [-1,5, 1,5]$. Is there a way ...
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 ...
2
votes
1answer
734 views

Dashed /^/ in xy package

I am trying to make the following arc between two objects using the /^/ but I need it to be dashed my matrix is as follow: \xymatrix{ &0\ar@{-->}[r]&0'\ar@{-->}[l]\\ &x\ar@{-...
3
votes
3answers
1k views

Is it possible to change the appearance of a \ref ?

I am using article class, and by default, the numbers of the sections, subsections appear like 1 section, 2 section in time I want them to appear like 1. section, 2. section (with dots). I have ...
12
votes
2answers
2k views

Disallowing line break before dash (en dash and em dash)

In Polish typography dash (pol. myślnik) should not be put after a line break. Below you can find badly and correctly typed samples using en dash (pol. półpauza) and em dash (pol. pauza). \...
4
votes
1answer
458 views

Fixing Quotation Marks in Large Blocks of Text

I am writing a casebook with a law professor using TexShop, and a large portion of project are legal cases, all of which have "quotes" and not ``quotes'' I know the programming difficulties of auto-...
7
votes
2answers
1k views

Hyphenating a number in the BibTeX pages field

Some journals, such as Phys. Rev. B., use unusual page numbering conventions, such as 081401-1–081401-4. (Depending on the way this gets rendered by your computer, you may not be able to discern that ...
18
votes
1answer
6k views

Comma as decimal marker with siunitx (Spanish usage)

I'm using siunitx to input some big numbers and units in my document. Is there a way to make the output of \num{3.14} be "3,13" instead of "3.13"? In Spanish, we use the first one.
21
votes
3answers
5k views

How to enable ligatures for emdash/endash in LuaTeX ?

I cannot switch on ligatures for emdash (---) and endash (--) in LuaLaTeX. Here is my test file: % !Mode:: "TeX:UTF-8" \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=...
3
votes
1answer
683 views

How to avoid confusion between special characters and delimiters or separators? [closed]

Some countries use , instead of . in a decimal. Unfortunately, a 2D coordinate, for example (2,3,4), becomes ambiguous for readers. How to avoid this?
7
votes
2answers
2k views

Caption and punctuation

This is more a Writing Style question than a LaTeX-specific question so Mr. Moderator feel free to move it elsewhere or even delete it! The question: What is the proper way to write a caption to a ...
14
votes
1answer
946 views

End quotes and punctuation when using biblatex

This seems like a rudimentary question but I haven't been able to find a clear answer. The cultural context in question is American English. When putting citations in footnotes in biblatex (I'm using ...
77
votes
2answers
144k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)" ...
3
votes
1answer
819 views

Using a dash (--) in LaTeX Beamer class

I want to use a dash in my beamer presentation, however 4--6 looks just like that in the output (i.e. the -- is not converted to a dash as it usually is). Does anyone know a way around that? Here's ...
9
votes
2answers
312 views

Changing citation delimiters

The default citation delimiter is ,. For instance, \cite{John96, Doe78, White05} generates something like [8, 2, 4], where the citation numbers (8, 2, and 4) are separated by a comma (,). This is ...
25
votes
3answers
8k views

Remove colon in the caption of a figure if the caption is empty

One of my figures should not have a caption, only the normal numbering. To get this, I use this code: \begin{wrapfigure}{l}{4cm} \begin{center} \includegraphics[width=3cm]{graphic.pdf} \...
17
votes
1answer
3k views

biblatex: remove commas between last and first names in bibliography

I am new to biblatex, and I need to create a bibliography with the authors' names with last names followed by pure initials. Using the style=numeric, firstinits and terseinits options along with: \...
5
votes
1answer
603 views

biblatex puts comma after bibliography entry

This is driving me crazy, biblatex decided for some reason to put a comma after one of my entries, in my bibliography. My entry is: @mvbook{Kepler, author={Kepler, Johannes}, editor={Frisch, ...
1
vote
1answer
424 views

How to typeset 'tis or 'em with TeX

Sometimes 'Tis will be used to represent "this is" and 'em will be used as "them" in spoken English, but how do I typeset them with TeX? Should the tick mark be "left quote" or "right quote" or some ...
4
votes
1answer
687 views

How to make sure I get regular ASCII quotes in code examples when using `listings`

So I am writing a book on AWK and when using listings code highlighting module, I get the fancy quotes “ ” and ‘ ’ instead of the regular ASCII ones " " and ' '. I hate these fancy quotes because when ...
7
votes
3answers
3k views

German quotation marks are broken in XeLaTeX

Although I known nothing about German, I have to complie some German TeX documents. The German quotation marks "' or \grqq and "' or \grqq in my document are replaced by cmr font and the PDF file is ...
63
votes
3answers
17k views

Block quote with big quotation marks

How can I create a block quote enviroment with big quotation marks similar to the Cquote Template of Wikipedia? Additionally it would be nice to place both quotation marks and quote in a colored box ...
7
votes
1answer
966 views

biblatex: sentence case and nested quotation marks

If a title contains formatting commands, how can we hook in \MakeSentenceCase to ensure correct casing and, say, nesting of quotation marks? The example below doesn't work; the quotes are properly ...
3
votes
2answers
478 views

Changing Orientation of Tick Marks

I had a question about changing the orientation of an tick mark. For example doing something as so: 'u' Both are pointing to the left, but for the tick mark on the left side of the object, I want to ...
4
votes
1answer
334 views

biblatex and bibnamedash

I'm trying to figure out with biblatex how to have a dash instead of a ibidem when an author is repeated on the same page with \footcite. Here is what I have so far: \documentclass[fleqn,10pt]{book} \...
4
votes
1answer
901 views

How to get " in TeXnicCenter with auto-replacement for quotation marks enabled

I usually appreciate TeXnicCenter's feature of automatically replacing " with `` and '', but sometimes I actually need " in the source, e.g. in "| to prevent a ligature. Is there a clever way (like a ...
6
votes
1answer
918 views

Appendix changes sections and figures numbering

I don't know how to face a strange behavior caused by the appendix package. I'm using KOMA-Script book class and many other packages (see here: http://pastie.org/1728702) When I add an appendix (not ...
24
votes
3answers
661 views

Should I include punctuation marks in \emph, or should I place those marks after the command?

I wonder if I should place punctuation marks directly after the \emph{} command, or should I include those marks within the curly brackets? Thus: The languages only differ in their \emph{grammar}, ...
1
vote
1answer
402 views

removing the full stop after “excercise”

So I am doing a homework assignment. The homework is selected numbers from various pages of the textbook. So I can not use a ordered list, ie. 1, 2, 3, ... So I was looking at some ways to separate ...
1
vote
1answer
1k views

Comma between author and pagenumber

I need help with my term paper. When I quote with \cite[px]{author}, I want to remove the comma between the author and the pagenumber (px). I get this: (author, px) I need this: (author px) Thank ...
19
votes
4answers
668 views

Microtype and quote environment leads to different indent of first line

When the microtype package is loaded a quote environment which starts with punctuation marks is inconsistent "indented". The first line in the following minimal example is unaffected, i.e. at the same ...
33
votes
4answers
4k views

How to prevent linebreaks after hyphen if word starts with hyphen?

(Remark: Maybe this is a typically German problem, I'm not sure in which other languages that might be relevant) Sometimes there are words which start with a hyphen, as they are connected with a word ...
36
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 ...
46
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 (...
20
votes
1answer
1k views

Wrong protrusion with csquotes and microtype

I’m experiencing problems using the csquotes package and microtype using protrusion (margin kerning). The problem is that using \enquote I only get margin kerning on the left margin. \documentclass{...
3
votes
2answers
2k views

Space after closing double quotes in XeLaTeX

I'm writing some non-technical text that I'm trying to typeset using XeLaTeX. For simplicity, I'm keeping the actual text in plain text files which after certain modifications (e.g. escaping %, \ and ...
1
vote
1answer
1k views

biblatex: the last-name first-name separator authortitle

In the answer to the post Modify the last-name first-name separator in biblatex's authortitle it was shown how to customize formattting author's name. I need a somewhat different formatting, namely "...
28
votes
5answers
12k views

biblatex: How to remove the parentheses around the year in authoryear style?

The standard authoryear style in biblatex puts parentheses around the year in the bibliography and no parentheses around in text citation years: Smith 2011 shows ... (citation) Smith, Joe (...
12
votes
2answers
2k views

Palatino displays wrong opening quotes

I've just started using Palatino for my documents, and I've realized the opening quotes are all rendered as closing quotes. As per the question What is the best way to use quotation mark glyphs I use `...
18
votes
1answer
881 views

Abbreviations and full stop--how to avoid double dots?

I have trouble with macros expanding to an abbreviated expression. Say I have \WHP which expands to "with high prob." (artificial example). I want to avoid the dot after the abbreviation colliding ...
6
votes
1answer
1k views

How to avoid double dot in Theorem Head Spec in case of theorem with no name?

I'm using the \newtheoremstyle{name} command to generate a specific theorem head spec in the form of: {\thmname{#1}\thmnumber{ #2}.\thmnote{ #3}} where #1 is Theorem, #2 is 'the theorem number', ...
14
votes
2answers
435 views

Automatically add quotes

I would like to create a new environment which will behave similar to quote, but with quotes added. I tried something like this: \newenvironment{newquote}{\itshape\color{blue!20!black!30!green}\begin{...
8
votes
1answer
4k views

Punctuation in equations

My document will contain a lot of equations, and as usual in that case I would like to use "punctuation" in the equations, like commas, colons, periods/full stops, semicolons, etc. Is there a special ...
18
votes
2answers
2k views

Fixing punctuation after a field in biblatex

Customising a biblatex style, I want to ensure that after the title of books only a space is used. If you take a look at one of the standard drivers: \DeclareBibliographyDriver{book}{% \...
10
votes
1answer
968 views

Automatically formatting punctuation using biblatex field format

Customising a biblatex style, I’d like to use ‘traditional’ typography where the format of punctuation follows that of the preceding text, for example J. Organomet. Chem. 691. 13 with the full ...
13
votes
6answers
7k 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 ...
10
votes
4answers
7k views

Escape “> and <”

I have the following piece of text which I want to output literally: <<"Welcome">>. However it's converted to those funky quotations. I've been trying all sorts of things with \ mostly but ...
8
votes
2answers
3k views

Quotation with double quote and O results in Ö

I have an issue with the double quote in my quotation. Using "OpenGL....." results in ÖpenGL... even with \"OpenGL... the result is the same. Using \verb results in double quotes in a wrong font ...
26
votes
3answers
115k views

Quotes in LaTeX ? [duplicate]

Possible Duplicate: What is the best way to use quotation mark glyphs Can I just use " for the quotes in my document? I'm asking this because when I use them in my TextMate editor the ...
6
votes
2answers
1k views

Quotation marks in section titles

I have a question similar to that in Cite in the caption of a graphic but not in \listoffigures? I'm using this to create bookmarks in my generated PDFs: \usepackage[pdftex,bookmarks=true]{hyperref} ...