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

9
votes
2answers
238 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
3k 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} ...
13
votes
1answer
2k 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
479 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
358 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
510 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 ...
5
votes
3answers
2k 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 ...
47
votes
3answers
10k 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 ...
6
votes
1answer
815 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
393 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
269 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
729 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
740 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 ...
22
votes
3answers
545 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
289 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
488 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 ...
16
votes
4answers
545 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 ...
31
votes
4answers
3k 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 ...
27
votes
4answers
1k 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 ...
38
votes
5answers
2k 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 ...
16
votes
1answer
933 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. ...
3
votes
2answers
1k 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
824 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 ...
23
votes
4answers
5k 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 ...
11
votes
2answers
1k 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 ...
17
votes
1answer
764 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
715 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
402 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: ...
7
votes
1answer
2k 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 ...
15
votes
2answers
952 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
752 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 ...
9
votes
6answers
4k 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 ...
3
votes
3answers
3k 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 ...
7
votes
2answers
901 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 ...
7
votes
3answers
37k 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
790 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} ...
60
votes
5answers
8k 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
2k 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 ...
17
votes
2answers
2k 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
1k 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 ...
4
votes
3answers
588 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 ...
7
votes
2answers
634 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 \,. ...
5
votes
4answers
3k 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: ...
24
votes
8answers
8k 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
549 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/ ...
4
votes
2answers
987 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 ...
4
votes
1answer
730 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
392 views

Extra line after the paragraph ended by dash with overfull

Consider the following example (Plain TeX): %%%%% Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt- Test. \end %%%%% The first ...
5
votes
4answers
3k 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 ...