{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
1answer
131 views

„German“ quotation marks in .cls file

I have a class file which, among other things, generates a title page for my paper. The name of of my school, which appears at the top of the title page, is hard-coded into the class file. I would ...
4
votes
2answers
149 views

Display ' apostrophe

Is there a small package free way of implementing something like this, in pdflatex, and LaTeX? I wish for the outcome of \documentclass{article} \begin{document} `It's a nice day!' ...
5
votes
1answer
33 views

Biblatex: suppress colon after “In” for edited volumes

I'm using Biblatex with biber backend, authoryear-comp style. Is there a quick way to remove the colon after the "In" introducing the title of an edited book (@inbook bibliography items)? I've found ...
1
vote
2answers
64 views

German-style quotation marks in LuaLaTeX using polyglossia

Could someone post a complete minimal input file for LuaLaTeX to output "Hallo" also to get around ,,Hallo´´ In LaTeX I would have written ``Hallo´´ %% Minimal Inputfile for LuaLaTeX ...
5
votes
1answer
27 views

Preventing repeated periods in citations

I'm using natbib to do citations in text, and sometimes those citations end with a period. When this corresponds to the end of a sentence, a duplicate period can easily be inserted. A MWE: ...
3
votes
1answer
88 views

How to type apostrophes in an easier way?

I find typing `a word' and ``a word'' quite inconvenient, because I find it rather annoying to type ` and `` all the time. Instead, I'd prefer typing 'a word' and "a word" ...
2
votes
2answers
41 views

Getting rid of semicolon in vancouver style bib file when using @Webpage

As the title says, I am getting an extraneous semicolon after the type entry when using vancouver style bibtex. Here is the example .tex file: \documentclass[11pt, oneside]{amsart} ...
1
vote
0answers
19 views

Ending sentences in an aligned equation [duplicate]

This is more of a general "mathematical english/punctuation" question, but I figure TeX users will know the answer. The following sentence seems natural: We define the $xyz$ constant via ...
38
votes
2answers
45k 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 (·) · · U+00B7 "midpoint (in typography)" ...
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 ...
5
votes
2answers
60 views

Changing “and” to “&” and removing Oxford comma in bibliography

I need to change the "and" to "&" and remove the Oxford comma in my bibliography. I saw a solution here for removing the oxford comma that suggests changing the .bst file, but I'd prefer not to do ...
3
votes
1answer
56 views

Dashes (any kind) not showing up in table

I'm making a table that contains bond lengths and angles, and I can't get any dashes to show up to indicate a bond. I have typed (ETA entire table code): \begin{table}[hbp] \caption[Selected bond ...
11
votes
1answer
101 views

Use \index before or after punctuation?

It seems to me that you get different kerning if you use say\index{say}. than if you use say.\index{say} The following silly example is where I can see it: \documentclass[12pt]{memoir} ...
0
votes
1answer
61 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 ...
14
votes
3answers
296 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 ...
5
votes
2answers
68 views

Comma in front of & in the reference section

I'm handling with a problem concerning referencing and citing sources in APA-Style. Here is my example code: \documentclass[a4paper, 12pt, bibtotoc, liststotoc, pointlessnumbers ...
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 ...
6
votes
1answer
43 views

Adding parentheses to figure references

Using pretty much no packages, when using the \ref{label of figure} i get just the number of the figure. Is there an easy way to set it to make parentheses around that number? At the moment I have ...
10
votes
3answers
842 views

Avoiding “minus sign” dash in listings commentstyle

Is there a general way to get listings package to typeset a hyphen as a minus character in the rest of the code (the default behavior), but typeset a hyphen as a true hyphen if it occurs in comments ...
8
votes
1answer
222 views

Single quotes in csquotes

I'm using the csquotes package with the modifications recommended by this answer, to detect quotation marks in my text (pasted from Microsoft Word) and make them look good in the output. Is there any ...
3
votes
1answer
123 views

make ``quote'' output as “quote„

I have a document in which everything is quoted in the form: ``quote'' How do I make them appear in the output document as “quote„ thanks
7
votes
1answer
116 views

Defining HTML-like tags as TeX macros

I have to admit, my catcode skill are not that good. I'm working with some templates that will be filled in by a programme (HTML::Template, made for HTML but very handy for LaTeX as well). I'd like ...
0
votes
0answers
53 views

Biblatex with ieee style still puts a comma after the title [and breaks my customisation]

I use the latest versions of biblatex and ieee-style [autum 2013]: The question was solved : Titles ending with punctuation in biblatex-ieee but I still have the issue: ...
2
votes
1answer
206 views

Problem with “and” keyword translation

I'm trying to generate bibliography using bibtex. My problem is that keyword and is not generated to comma. I also want to put First name after Last name. (I'm using Gummi as LaTeX editor). Document: ...
9
votes
2answers
58 views

Hyphenation of words containing apostrophes

My question is plain and simple. Any way to hyphen words such as “Lor'themar”, “Kel'Thuzad”, etc.? Using \hyphenation{Kel'-Thu-zad} gives me this error, for instance when compiling. Error in ...
4
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
2answers
756 views

How to add LaTeX style quotation marks to the Hunspell spell checker?

Quotation marks in LaTeX have to be added with `` and '', but this results in the word being marked as misspelled in Texmaker, which uses Hunspell files (.dic and .aff). I tried adding `` and '' to ...
11
votes
1answer
205 views

Declare acronyms and abbreviations to automatically correct spaces after periods?

If I understand correctly, (La)TeX assumes that a period after a lower-case letter ends a sentence while a period after an upper-case letter does not. Unfortunately, my documents usually contain ...
45
votes
3answers
46k views

What is the LaTeX command for “em dash” (—)?

I am trying to insert the symbol in the title of the question, which I copied from a PDF article, but it appears as space in the output file. What is the corresponding LaTeX command?
1
vote
1answer
31 views

Citation style: pages punctuation

Look at following \autocite-example: \autocite[15]{kant} Immanuel Kant: Freizeitparks im Harz, S. 15. How can I change the comma into a period? For the bibliography it's easy. I can use: ...
8
votes
2answers
182 views

How to get single curved quotation marks in math mode

I know I can get these fancy quotes `abc' I want to get those quotes separately. I know how to get the left one: {`}a But when I try just the right one, I get a different quote then when ...
3
votes
1answer
35 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 ...
14
votes
2answers
403 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: ...
4
votes
2answers
92 views

Change period after the title

I will loose my nerves here... Please help me with this crazzy bibtex style code. I want to change my bibtex style file in order to change the dot after the authors and the title with the comma: ...
8
votes
1answer
104 views

How can I make my dash work with microtype?

Consider the following definition: \documentclass[a6paper]{article} \usepackage[showframe]{geometry} \usepackage{microtype} \def\Dash{\unskip\thinspace\textemdash\thinspace\ignorespaces\allowbreak} ...
34
votes
5answers
4k 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 ...
0
votes
1answer
180 views

How do I change the order of comma and ending double-quote after the title?

An example of a BiBTeX reference of mine @ARTICLE{58, author = {{Craig M. Pratt and Terry Eaton and Marilyn Francis and Antonio Pacifico}}, title = {{Ambulatory Electrocardiographic Recordings: ...
18
votes
1answer
296 views

Why can words with hyphen char not be hyphenated?

Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why? why isn't it something like this: where the small ticks indicate possible hyphenation points. A ...
0
votes
0answers
53 views

ConTeXt: Substitute em-dash for double-hyphens

Background I am trying to substitute an em-dash for double-hyphens (--) whenever they occur in user-generated text. The fonts that I am using (Chivo and Gentium Basic) result in double-hyphens added ...
5
votes
1answer
91 views

Package: songs strange opening quotation marks

I'm typesetting a songbook, and I have to cite a title of the original melody just under the current title. \documentclass[a4paper,12pt]{mwart} \usepackage[lyric]{songs} ...
18
votes
3answers
681 views

Can cleveref be made to use the Oxford comma for multiple citations?

Simple question: Is there a simple way to get cleveref to use the Oxford comma? \documentclass{article} \usepackage[standard]{ntheorem} \usepackage{cleveref} \begin{document} ...
8
votes
2answers
95 views

Quotation marks around operator in math mode

I want to create formulae where the \rightarrow is enclosed in double quotation marks and appears like any other word in a formula. What I'm getting instead, are formulae where these quotation marks ...
1
vote
0answers
50 views

Comprehensive list of mathmode dots with explanations

I have read on several occasions that there are differences between the multitude of dots commands that TeX and amsmath offer. However, I am not sure up to this day when to use which, and how critical ...
1
vote
1answer
43 views

Using doublequotes in bibtex fields and babel

I have autocreated (Mendeley - so editing by hand will be rendered useful on the next autocreation of the file) bib-files, which contain e.g. ". Unfortunately, those " are treated as the LaTeX ...
4
votes
0answers
53 views

Using comma as a decimal mark with SageTeX [closed]

There are a lot of questions about how-to use comma instead of dot in standart LaTeX documents. But how i can do this in documents with SageTeX? P.S. I use online editor cloud.sagemath.com
1
vote
1answer
73 views

Arabic comma in polyglossia

I'm writing a book of probability in arabic, and was using for this arabtex, which is now obsolete for my use. I've done my migration to polyglossia arabic, by the way, \usepackage{polyglossia} ...
5
votes
1answer
119 views

pgfplots import data from table with comma as decimal separator

I am trying to plot data from data files which are using the comma as decimal separator instead of a point (as is normal in SI style (French version): ...
6
votes
1answer
93 views

\xspace doesn't add whitespace before quotes if they are active

I'm trying to get \xspace to add a whitespace before “ if it is an auto quote using csquotes. Here is an MWE: \documentclass{minimal} \usepackage[autostyle,german=guillemets]{csquotes} ...
5
votes
1answer
75 views

Avoid inverted exclamation and question marks, when followed by quotes

In an automated system that is generating LaTeX to render PostScript and PDF, i need to avoid an ambiguity in LaTeX: Two backticks (``) produce a closing doublequote: “ A question/exclamation mark ...
4
votes
2answers
85 views

Left and right quotation marks aren't correct when using fontspec

Using XeLaTeX the following document produces the correct result if \setmainfont{Arial} is never called (the quotation marks are proper left- and right-quotation marks). Once I try to set a font (even ...