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

6
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: ...
6
votes
2answers
836 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
307 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
753 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
174 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 ...
20
votes
3answers
11k 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
2answers
34k 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 ...
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
2answers
209 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 ...
15
votes
1answer
716 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
236 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
668 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
800 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 ...
10
votes
2answers
3k 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
3answers
52k 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 ...
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
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
2answers
7k 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
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
292 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
153 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
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. ...
7
votes
1answer
654 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
82 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 ...
5
votes
1answer
117 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'' ...
5
votes
3answers
693 views

Less pointy angle brackets

I was looking for a way to beautifully display UML stereotype titles including angle brackets like you can see here: What I came up with is $\mathtt{\ll metaclass\gg}$, however, as you can see here ...
4
votes
2answers
165 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
72 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
346 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
526 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
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?
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
607 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
612 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
46 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
1k 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 ...
16
votes
3answers
385 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 ...
13
votes
4answers
559 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$ ...
13
votes
2answers
3k views

Straight quotes?

How do I get a straight quote instead of curly quotes? I’m not inside verb or listing or any other special environments, and I’m not using XeLaTeX or anything—just normal LaTeX. I don’t want to change ...
13
votes
1answer
657 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 ...
11
votes
2answers
251 views

Should a negative kern be added after a degree symbol if followed by punctuation?

Not sure why I have not noticed this before, but spacing between a degree unit and punctuation seems strange as shown in red. Should a manual \kern be added (as shown in blue)? Code: ...
11
votes
1answer
3k views

comma like \cdot

What is the \cdot alternative for comma, or any other punctuation symbol? I want to raise comma symbol in a list of fractions to the fraction line. Comma is placed below when used next to fraction.
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 ...
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 ...
10
votes
2answers
665 views

Replacing all dots in a document

I want to replace all dots in a LaTeX document with a call to a macro. Just doing a search and replace on '.' won't help as this will not replace the dots generated by LaTeX, e.g. in section numbers, ...
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?
9
votes
2answers
235 views

Matching punctuation size to small caps

Normal apostrophes are too big for small caps and this is making my running headers look weird. I'm getting around this by shrinking each apostrophe to \footnotesize and lowering it by -0.55ex. ...