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

3
votes
1answer
254 views

how to get a colon “:” after the short abbreviation in acronym

I was wondering how to get in my acronym list ":" (colon) after the short abbreviation, for example: I want to get UV: Ultra Violet but I keep getting UV Ultra Violet without the ...
7
votes
2answers
588 views

Footnotes with automatic final period

I'm tired to always add a period at the end of the \footnote command. Is there the possibility that LaTeX automatically does this at the end of every footnote?
15
votes
1answer
714 views

listings package changes hyphens to minus signs

The listings package transforms source-code hyphens (-, U+002D) into minus signs (−, U+2212) when using the default proportional fonts, though not when using the default monospaced typewriter font. A ...
16
votes
2answers
3k views

Period after math-mode equation

If I write If $x \rightarrow y$, then $y \rightarrow z$. it looks fine. But if the sentence is more involved and formulas longer, I tend to change $...$ to \[...\]. In many cases I think the result ...
14
votes
2answers
1k views

How do I ensure a single character for \ldots

How do I ensure that \ldots comes out in the PDF as a single character? I'm formatting a document for a publisher, who has given this condition in its formatting rules, but I do not know how I can do ...
6
votes
1answer
840 views

Avoid line break between em-dash and the next word

I'm writing a text in spanish, and I have a phrase wrote between em-dashes (that work like parentheses). The problem is that if the "opening" em-dash is too near the end of the line, then it may ...
8
votes
1answer
388 views

polyglossia adds extra kerning to csquotes

When I use csquotes with polyglossia, an extra kerning is added after the first quotation mark. \enquote{Werk} becomes „ Werk“, not „Werk“. This doesn't look nice, especially when you have a word ...
11
votes
6answers
4k views

How to remove the “.” in the proof environment?

Using amsthm, is there a possibility to remove the dot when typing \begin{proof}...\end{proof}? This would be typeset as "Proof." If you change your proofname \begin{proof}[Proof:]...\end{proof} you ...
28
votes
2answers
9k views

number format in pgfplots axis

How can I change the type of the decimal/thousand separator from the american one to the european one? More precisely, I want: "1000" to be written as is, instead of "1,000" "0,1" instead of "0.1" ...
3
votes
1answer
300 views

Inserting period/stop at end of each reference

Using author-date style, how does one insert a period or stop at the end of every reference? I presume you have to \renewbibmacro and \setunit*{\adddot} to a specific field? ...
4
votes
1answer
402 views

Enclosing place: publication in parentheses

Using biblatex and author-date styles, how do I go about customising my bibliography so that place/address: publisher becomes (address: publisher) e.g. (London: Routledge) rather than London: ...
12
votes
5answers
2k views

Ellipsis with a period/fullstop

While quoting how ellipsis should be used if few sentences are omitted in between. (ommissions are not clauses or words or phrases, but sentences). For example if there is a passage like: This is a ...
8
votes
1answer
999 views

biblatex: How to remove the comma before ed./eds.?

How can I remove the comma before ed. or eds. and put this abbreviation in parentheses? I'm using biblatex. For example this reference: Dozy, Reinhart, ed.: Supplément aux dictionnaires arabes. ...
23
votes
3answers
1k views

How to avoid a linebreak before a comma?

I just had a problem with a linebreak after a word ending with a hyphen which was followed by a comma. This example shows the problem: (The example is constructed, but this just occurred to me in a ...
5
votes
1answer
179 views

“$$…$$.” has the dot on the wrong line; How to punctuate correctly?

I like to use the $$\sum S_{i}$$ or something similar. But I get the dot . or the comma , placed in an awkward position. I work around this problem sometimes by using $ \sum S$, but this is not good ...
3
votes
1answer
345 views

How to use autopair for double quotes in .tex files (so that typing " leads to ``'')?

I'm working with Aquamacs 2.3a to compile .tex documents. Typing double quotes " one time leads to ``. Then writing a word and finishing with " again, expands to ``myword''. How can I have autopair to ...
2
votes
3answers
5k views

Figure and table numbers in caption are terminated by a period and semicolon

I'd like help redefining the Table and Figure captions. Currently both Table and Figure numbers are terminated by a period and colon. For example, \caption{Foo bar} Produces the text, Table 1.: ...
11
votes
1answer
1k views

Colon (:) instead of period (.) after author with biblatex, alphabetic

With biblatex, alphabetic style, I have <author>. <title> But I want to have a colon ":" instead of the period "." after the author: <author>: <title> What do I ...
13
votes
4answers
344 views

How to prevent last period in captions from appearing in the list of figures?

Is there any simple way of removing the last character of an argument to a command (or environment)? I'm looking for a simple way to remove the punctuation mark from a caption when it appears in the ...
5
votes
1answer
349 views

Listing index uses wrong dashes

When generating an index of all my Listings, the library seems to use the wrong dashes to connect words: Expected Unported-2.0-Graphic Actual Unported—2.0—Graphic In the title of the listings, ...
8
votes
1answer
247 views

Unicode or control sequences?

What kind of troubles may occur if Unicode characters will be entered directly in the following situations (English, no math): Diacritics: for example, ö instead of \"{o}. Em, en dashes and minuses. ...
9
votes
2answers
2k views

Remove dot-after-number in figure captions while keeping the dot in chapter/section captions

In my document (using KOMAScript and babel[ngerman]) I have various figures which get captions like "Abbildung 1: ...". However, as soon as I add a \appendix to the document all those captions change ...
12
votes
3answers
1k views

Implementing a sort of “tightened frenchspacing”

By default, (La)TeX adds extra space between sentences. The exact rules are in the TeXbook, a summary by TH. can be found here. What follows is is my "executive summary": After any period (or ...
9
votes
1answer
464 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
1k 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
3k 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 ...
33
votes
7answers
7k 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 ...
2
votes
3answers
992 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}{} ...
5
votes
1answer
3k 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
1k 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?
8
votes
4answers
8k 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
403 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
777 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 ...
20
votes
4answers
427 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 ...
15
votes
4answers
3k 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 ...
5
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 ...
2
votes
1answer
326 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]\\ ...
3
votes
3answers
981 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 ...
11
votes
2answers
1k 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). ...
3
votes
1answer
414 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 ...
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 ...
10
votes
1answer
3k 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.
16
votes
3answers
4k 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} ...
3
votes
1answer
485 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?
5
votes
2answers
1k 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 ...
13
votes
1answer
655 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 ...
45
votes
2answers
56k 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 (·) &middot; &#183; U+00B7 "midpoint (in typography)" ...
3
votes
1answer
571 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
250 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 ...
19
votes
2answers
4k 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} ...