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

18
votes
1answer
857 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 ...
5
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
427 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: ...
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
1k 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
917 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
6k 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 ...
8
votes
3answers
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
2k 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 ...
22
votes
3answers
99k 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} ...
107
votes
5answers
21k views

\includegraphics: Dots in filename

\includegraphics cannot handle filenames that contain more than the one dot, separating the filename from the extension. Apparently it uses everything after the first dot as extension and then, of ...
5
votes
4answers
3k views

How to change captions and dots?

I've received my master thesis from proofreader. I've received a lot of small things to fix but they're defined inside my document class which is report. How to change caption name from "Table" to ...
24
votes
2answers
4k views

Should one use thousands separators in equations?

I understand that this is not strictly a TeX question but I have recently been asked to correct an equation presented as the first example in the image below to that of the second example i.e., to use ...
4
votes
2answers
2k views

Why the ugly .". in my unpublished citations?

Just as a preamble, I use MikTex 2.8, the latest TeXworks for Windows, the natbib package, JabRef to manage my citations, and the pdfLatex option in TeXworks for compilation. When I cite an ...
6
votes
3answers
883 views

Line break in lines with colons

I noticed that if I've got something like this: one::two::three::four one::two::three::four one::two::three::four something weird happen: % the right page margin would be here ...
9
votes
1answer
1k views

Modify the last-name first-name separator in biblatex's authortitle

Using the example below, how could I modify the separator between last name and the initial? Currently this is a comma e.g. Fox, P. and it should be just a space: Fox P. And a similar problem: How ...
8
votes
2answers
944 views

Spacing before punctuation in displayed equations

What is the correct spacing before punctuation in a displayed equation? I have the habit of writing Let \begin{equation} y = f(x) \,, \end{equation} where \begin{equation} x = 3 \,. ...
8
votes
4answers
6k views

Avoiding placing `,\,` everywhere in mathmode

Whenever I write ", " (with a space after the comma) in mathmode, I really want a space there. usually, this is either something like the points, $a, b$, and $c$.... or in an explicit vector: ...
36
votes
9answers
14k views

How to get straight quotation marks?

How do I get straight quotation marks, i.e., " and ' in TeX? (No, \verb changes the font and this is unacceptable.) [Edit] I forgot to mention that I’m using XeLaTeX, and fontspec is a necessity. ...
5
votes
1answer
690 views

aligning columns at decimal point in TikZ matrices

Is there a way to align numbers in a TikZ matrix at the decimal points, as is possible in normal tables (Aligning numbers by decimal points in table columns)? http://www.texample.net/tikz/builds/ ...
5
votes
2answers
1k views

ending statements in algorithm2e environment

I am using the package algorithm2e. Is there a way to end with period instead of semicolon, or end with simply newline? I don't like the semicolons on the sentences. If I just try putting a period it ...
5
votes
1answer
847 views

biblatex, hyperref and punctuation issue

And a little bit more biblatex stuff: I've noticed that, when using hyperref, there is an issue in form of an ugly space between the citation and the punctuation (be it comma or period). Please, take ...
3
votes
2answers
432 views

Extra line after the paragraph ended by dash with overfull

Consider the following example (Plain TeX): %%%%% Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt- Test. \end %%%%% The first ...
7
votes
4answers
7k views

Changing “-” to \textendash

I have a large LaTeX document, where hyphens are typeset with a single dash ("-") throughout. In my font, this shows up as a bold and vertically slightly off-center blob, but I'd like it to look like ...
21
votes
4answers
2k views

Detect beginning of a sentence in a macro for capitalization

Is it possible to make macros give different results at the beginning of a new sentence? Suppose that I want the macro "\secname" to write "Section" at the beginning of a new sentence, and "section" ...
8
votes
1answer
1k views

Double quotes with monospaced font and LuaLaTeX

I am trying to set the following minimal document: \documentclass[a4paper,11pt]{article} \usepackage{fontspec} \setmonofont{Inconsolata} \begin{document} \begin{verbatim} <!DOCTYPE HTML PUBLIC ...
13
votes
2answers
1k views

biblatex-apa and hyperref: right parenthesis not part of link for \textcite

I use biblatex-apa citation style. I also use hyperref with colour links, rather than ugly coloured boxes. When I use \textcite the author name and year are both part of the link, but the right ...
21
votes
3answers
15k views

Correct use of \paragraph titles?

How should I use \paragraph? I mean, If I want to put "Characteristics", should I put \paragraph{Characteristics} or \paragraph{Characteristics:}. Or is it up to me which one to use?
7
votes
2answers
2k views

A big thick question mark

I'm using \ding{52} and \ding{56} from the pifont package to get nice satisfying thick ticks and crosses. I'd like a question mark ? that fits with these. \textbf{?} is too small, and not thick ...
136
votes
5answers
76k views

Dashes: - vs. – vs. —

This may or may not be a real TeX/LaTeX question but rather a general question on punctuation: How are the different dashes - "-", -- "–" and --- "—" supposed to be used?
6
votes
1answer
1k views

A comma separator for \citet and a semicolon separator for \citep simultaneously?

Is there an easy way to simultaneously have a comma separator for \citet and a semicolon separator for \citep? It is currently [comma]{natbib}, but (e.g., Black and White, 2006, Pink, 2006) looks ugly ...
10
votes
2answers
9k views

Numbers in tables: align by decimal point *and* flush right?

This is a followup question to siunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbers and Aligning numbers by decimal points in table columns. While ...
9
votes
2answers
5k views

siunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbers

This is a follow-up question for Aligning numbers by decimal points in table columns. User lockstep provided this solution: \usepackage{siunitx} \begin{document} \begin{tabular}{S[table-format=3.2]} ...
58
votes
2answers
23k views

Aligning numbers by decimal points in table columns

Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the ...
50
votes
6answers
8k views

Adequate hyphenation of words already containing a hyphen

Unlike in English, in German there are quite a few words that contain a hyphen, e.g., "Arbeiter-Unfallversicherung" (workers' accident insurance). By default, (La)TeX will only break such words after ...
27
votes
4answers
13k views

Guillemets in LaTeX («»)

I need the characters «» in my LaTeX document. I'm writing in English though, and I don't want to use Babel. I have the following hack but I'd like a better way: \newcommand{\q}[1]{{% \font\larm = ...
137
votes
4answers
226k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
80
votes
2answers
17k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
41
votes
6answers
20k views

What is the best way to use quotation mark glyphs?

There are several types of quotation marks in the English language (and in other languages there are even more). There are also several ways in LaTeX to represent these. I have seen editors, that are ...
7
votes
2answers
1k views

Proper punctuation after cases environment

I know that when writing a displayed equation, it's correct to write punctuation before the closing \] as follows: This proves \[ x^2 = 3, \] and it follows that \[ x = \pm\sqrt{3}. \] If I'm using ...
4
votes
2answers
472 views

Does LaTeX support the sarcmark?

Does LaTeX have an escape sequence for the open source sarcmark?