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

10
votes
1answer
603 views

Writing Biblical Hebrew texts with different coloring for consonants, vowel and accent signs

I have got the following problem: I am using Biblical Hebrew texts written in XeTeX but I would like to color consonants as well as vowel and accent signs differently. I have read Coloring combining ...
1
vote
2answers
2k views

How to create better dots in continued fraction

Consider $$\left( a_1, a_2, \cdots a_m \right) \mapsto a_1 + \frac{1}{a_2 + \frac{1}{\cdots + \frac{1}{a_m}}}$$ I want to change the cdots into three dots like the following dot space dot ...
5
votes
2answers
9k views

How do I prevent LaTeX from showing a whitespace following a quote when in an lstlistings environment? [closed]

When I am inside the lstlistings environment, it seems that using a quote such as (') or (") will toggle on the showing of whitespace indicators (small little half rectangles). Am I doing something ...
48
votes
7answers
16k 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 ...
3
votes
3answers
2k views

How to insert a dot after the theorem environment?

How to insert a dot after the theorem environment? I use \newtheorem{exerc}{}. \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{theorem} \newtheorem{exerc}{} \begin{document}...
10
votes
1answer
4k views

Remove dot after appendix numbering

I want my appendix section numbering to look like this Appendix A Section one B Section two I've figured out how to get the A and B (see question How to modify the appendix chapter numbering?). But ...
10
votes
1answer
2k views

Unbroken en-dash

I am trying to get an en-dash by using two '-' characters, but instead of appearing as one long en-dash symbol, I'm getting --. Any idea how I can get an unbroken en-dash?
14
votes
4answers
18k views

How to add a dot after the section number?

I wonder is there any way to change the format of section numbering from 1.1 to 1.1. ? I know this is trivial, but I really need to add one more dot after the section number. Does anybody know how to ...
2
votes
1answer
501 views

Single quotes in double quotes

I want to write "''" (to denote the empty string). However in LaTeX, when I try to enter "''", TexnicCenter replaces it with ``'''' , which displays as “”” (first pointing left, second two pointing ...
0
votes
0answers
1k views

Decimal point in LaTeX Math Mode [closed]

I am writing a large document with equations in LaTeX. I suddenly noticed that a small unusual problem is occurring. I am writing an equation as follows: \begin{equation} f_{c}(t) = 1.0 + 0.024 C(t)...
20
votes
4answers
479 views

How does TeX's mechanism for sorting out quotation marks work?

When I enter ``hello'' in TeX, it very nicely reformats it to some nicer version of "hello". The mechanism for this seems to be buried deep down in the depths of TeX (and I can't find it in my usual ...
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
754 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
459 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
690 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
959 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 ...
78
votes
2answers
148k 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
825 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} \...
18
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
605 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
426 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
692 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
18k 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
968 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
481 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
904 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
921 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 ...
25
votes
3answers
665 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
405 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
674 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 "...
29
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 `...