{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
2answers
38k views

Quote marks are backwards (using texmaker/PDFLatex) [duplicate]

Possible Duplicate: What is the best way to use quotation mark glyphs Automatically convert quotations in the form of “abc” to become ``abc" I am (obviously) new to LaTeX and ...
8
votes
1answer
586 views

\slash allows for hyphenation of only the word on its left; how to fix it for the right-hand word

I often use \slash to allow for linebreak after the slash. However I found that \slash doesn't allow for hyphenation of the word to its right, while it does for the word on its left. How do I use ...
25
votes
6answers
2k views

Automatic german quotation marks

I would like to compile a file according to German standards, in which quotation marks are to be put like this: \glqq text \grqq In my LaTeX document I use quotation marks in the standard way: ...
23
votes
1answer
1k views

Why should I use -​- in pages field of a BibTeX entry?

In most BibTeX entries I found on the internet a page range in the page field is separated by a double hyphen --. Why should I use a double dash and not a single one -? @misc{blub, title="blah", ...
15
votes
2answers
225 views

Placement of ellipsis

Consider the following example: \documentclass{article} \begin{document} $(1-\theta_1) \dots (1-\theta_m)$ \end{document} Isn't the ellipsis supposed to be vertically centered since they indicate ...
13
votes
1answer
341 views

How to get upright parentheses in the whole document?

My question is, basically, the same as the one in Upright parentheses in italic text: how do I force all parentheses in my document to be upright, without replacing them with some commands "by hand"? ...
10
votes
1answer
787 views

How to add a comma between author and year

I use the authoryear style in biblatex, and when I do for instance \cite{bauman2000}, I get: Bauman 2000 But I would like to add a comma between the author and the year, in order to have ...
7
votes
2answers
614 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?
7
votes
1answer
892 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 ...
6
votes
4answers
4k 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: ...
6
votes
2answers
895 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 ...
5
votes
1answer
329 views

Automatically capitalize macro output if used after a period [duplicate]

Possible Duplicate: Detect beginning of a sentence in a macro for capitalization Is it possible to write a macro that is able to determine if it is used at the beginning of a sentence? For ...
4
votes
1answer
841 views

Block quote with big quotations - white on black

There is are some very nice answers to the question of how to put large quotation marks around a block of text at Block quote with big quotation marks. Using the first answer (which uses tikz) but ...
3
votes
1answer
2k views

Biblatex authoryear in brackets and with parenthesis around the year

I use square brackets around my citations (/parencite) from the answer to Biblatex, author-year, square brackets. So now I have [Doe 1995] in text. But I would like to have [Doe (1995)] ...
2
votes
1answer
237 views

quotation mark (quotation sign) xelatex + polyglossia + csquotes

the problem I have is the "?" that shows instead of appropriate quotation marks (signs) when citing/quoting text in foregin language. I have searched manuals for the packages such as polyglossia or ...
21
votes
3answers
12k 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?
17
votes
3answers
432 views

Hanging punctuation with quotation marks in left margin?

Plain TeX has a method of creating hanging punctuation, where a punctuation mark/character immediately to the left of some text sits effectively in the margin. I want to do this with quotes, so that ...
16
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}{% ...
15
votes
1answer
763 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 ...
14
votes
1answer
248 views

Dedicated symbol for […] in quotations?

I would like to use [...] in quotations to indicate a part which was not included. Just entering [...] does not render it perfectly in my opinion. Is there a special way of inputing said symbol? ...
12
votes
1answer
713 views

Block quote with big quotation marks and opening quote on bottom

I wanted to adapt Block quote with big quotation marks to languages like my natural language German, but also some other mainly Germanic and Slavic languages (c.f. Wikipedia: Non-English usage of ...
12
votes
3answers
861 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
12
votes
2answers
5k views

Correct use of hyphen, en dash, or em dash in compound words [duplicate]

Possible Duplicate: Dashes: - vs. – vs. — I know that there are many sources on the use of dashes both on tex.sx ( Dashes: - vs. – vs. — ) and in the real world (Wikipedia: Dash). But there ...
11
votes
3answers
56k 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 ...
10
votes
2answers
4k views

How to write quotation marks in math environment?

How to use quotation marks in math mode? I need to get \lim with the quation marks above.
10
votes
2answers
2k views

Horizontal line of custom length like an —

Is there a way to get a custom-length horizontal line that appears like a "longer em-dash", if you will?
9
votes
1answer
1k views

own bibliography style with biblatex

My bibliography has to look like this: name, givenname; name2 ,givenname2: title. edition location : publisher, Year. e.g. Weck, Manfred; Brecher, Christian: Werkzeugmaschinen. 6.Auflage ...
9
votes
2answers
8k 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 ...
8
votes
1answer
2k views

TeXStudio : Disable auto-completion of parentheses

I cannot stand the auto-completion of TeXStudio (formerly TexMakerX) regarding parentheses, braces, etc. I agree auto-completion is useful sometimes, but here it does just not work as I would like. ...
8
votes
1answer
3k views

Handling quotes inside quotes in a bibliographic field

I have an entry in my bib file of the form @conference{abc, author = "Some name", title = ""This is inside quote" and outside quote content", . . . } when I check this entry through jabref, I get ...
7
votes
1answer
137 views

What is happening to the quotes?

Here is my MWE: %!TEX TS-program = xelatex \documentclass[a4paper]{report} \usepackage{xltxtra} \defaultfontfeatures{Mapping=tex-text} \setromanfont{Times New Roman} \begin{document} ``abcde'' ...
7
votes
1answer
511 views

Comma in math mode

In some countries one use comma as decimal separator instead of a dot. I ususally use: %%%% Une vrai virgule pour les décimaux \DeclareMathSymbol{@}{\mathord}{letters}{"3B} and $3@2$ to obtain 3,2 ...
7
votes
1answer
304 views

Automating processing of trailing punctuation (if any) for hyperlinks

This is a follow-up to Should Hyperlinks include trailing puctuation as part of the link text?, and this question is about automating the processing of the trailing character. I would like to be able ...
7
votes
1answer
157 views

Why does Context line-break my quotation and leave the quotation sign on it's own row?

Using Context to set a book I have the following problem: Context linebreaks some quotations in a way that makes the quotation sign (in my case a guillemet [sic!]) appear on its own row. How can i ...
7
votes
1answer
687 views

Linking quotation environment with citation styles

I was just wondering if it is possible to combine citation commands (preferably of biblatex) with quotation environments. The reason is this: In German language papers you often have two choices ...
7
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 ...
6
votes
1answer
90 views

How to set a global setting for hyphenation of already hyphenated words using XeLaTeX?

Please consider the MWE below, I want to globally invoke hyphenation of already hyphenated words using Babel package, Hyphenat package in English, to get the same effect when using ...
6
votes
2answers
14k views

How to make apostrophes appear normally when copy-pasting from a MS Word document?

I have a report written in MS Word which I would like to turn into a LaTeX document. I copy-pasted the content of the document in my LaTeX editor (TeXShop, LaTeX, pdfTeX) and everything comes out fine ...
6
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 ...
4
votes
2answers
201 views

Double-quote produces guillemets in emacs

I am having a totally bizarre problem with typing quote marks in tex documents in emacs. I work as an editor, so I receive tex source files from a publisher and I work on them. I work in emacs 24.3.1 ...
4
votes
1answer
80 views

Global setting of hyphenation for words containing dashes

I'm using the word "Zwei-Drittel-Abstimmungsmehrheit" a bunch of times in my document. Often it won't fit into the current line, extending into the right margin. I figured out that the following ...
4
votes
1answer
426 views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...
3
votes
1answer
544 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
3
votes
1answer
526 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?
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 ...
2
votes
1answer
681 views

TexShop keeps converting apostrophes into curly ones [duplicate]

Whenever I type something such as The energy's source, TexShop changes the apostrophe into a curly one which does not print in the PDF. How can I stop future apostrophes from being changed without ...
2
votes
1answer
687 views

No italics in algorithm2e if-clause

Why does algorithm2e typeset the variables anychange and done in italics, and how can I turn this off? How can I remove the semicolon after done in the until-clause? $\textsf{anychange} \gets ...
1
vote
0answers
47 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
17
votes
3answers
2k views

Help on dealing with items divided with slash

I am using a number of items in text that are divided with a slash. For example dates in different calendars or names of locations, such as 585/1190~CE (the first number is the year in Islamic lunar ...
13
votes
4answers
614 views

Using commas in mathematical formulas

I need write some formula, but I don't know how to arrange the comma's place. $p,\ q\in N$, blabla $0<a,\ b<1$ blabla $i,\ j=1,\ 2,\ \dots,\ n$ or $p,\;q\in N$, blabla $0<a,\;b<1$ ...