{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.
8
votes
3answers
302 views
How to convert dots to commas in mathmode?
For my study of physics I have to do various lab reports. Normally I just process all my data using python, gnuplot or Mathematica and copy it from there to my TeX document. Unfortunately all these ...
3
votes
1answer
58 views
How can I make an em-dash to allow for a linebreak on either side?
How can I make an em-dash allow a linebreak on either side?
Optionally, how do I preserve the hyphenation points of the word on both sides?
The following code allows for refrigerator---refrigerator ...
4
votes
1answer
109 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 ...
2
votes
3answers
282 views
How to modify APA Biblatex style to look like “elsarticle-harv” style?
I have been using the \bibliographystyle{elsarticle-harv} style for a long time, since I newly swtiched to biblatex and it is only for natbib, so how to modify the default biblatex style or ...
0
votes
1answer
89 views
Standard single quotes for code in listings [duplicate]
In my code, I have curved quotes (see screenshot). Can I replace them with vertical quotes?
This is my formatting code:
\lstset{%
% General design
backgroundcolor=\color{lightgray},
...
17
votes
1answer
214 views
What is the ConTeXt equivalent of LaTeX “\@.”
In English text, TeX follows the convention of putting extra space after a period by default, which I like. However, in the case of abbreviations it causes a problem. To suppress the extra space, ...
9
votes
1answer
135 views
Using BibTeX keys containing parentheses with Biber
I am trying to move to using biblatex with Biber rather than BibTeX. unfortunately, nearly all of my BibTeX entries have keys that include colons and parentheses. like,
@BOOK{Chambers+Hastie:(92),
...
11
votes
2answers
192 views
To kern double em-dashes
In Virginia Woolf's novels, she used double em-dashes quite often. In Latin Modern, the two dashes closely set together without gap. However, In ebgaramond there is a little gap which is quite ...
6
votes
3answers
125 views
How to define a new command for guillemets marks [duplicate]
Possible Duplicate:
babel shorthand "| doesn’t work in macros
I would like to define a new command for guillemets marks. I know how to obtain them in LaTeX and those I would like to ...
5
votes
1answer
94 views
biblatex: exclamation mark in title of bib item interferes with field separator
The following code shows, that an exclamation mark in the title of a bib entry removes the field separator (here: a comma) which separates the title from the journal. How can this be avoided? If the ...
10
votes
2answers
167 views
author name with periods produces Et al
I want to cite this article:
@article{kc2010ppe,
author = {K.C., Samir and Barakat, B. and Goujon, A. and Skirbekk, V. and Sanderson, W. and Lutz, W.},
journal = {Demographic Research},
number = ...
4
votes
1answer
80 views
punctuation after a fraction in math mode
I use to punctuate my equations.
In math mode, when the last "word" is a fraction, I raise the final point using \cdot like in
x = \frac{3}{2} \cdot
so that the "." is at the same height as the ...
4
votes
2answers
103 views
natbib: modifying citation style for particular source type, while others remain default
I'm using natbib and would like to modify the punctuation style for one particular type of source (classical texts), while punctuation for remaining sources should remain at their default settings.
...
2
votes
1answer
195 views
Remove punctuation (comma) after year
For American Society of Genetics journal (Genetics), the bibliography format is somewhat strange. It requires no parenthesis or comma after year field.
Beadle, G. B. et al. 2009 Title of the ...
5
votes
1answer
115 views
Chinese punctuation problem
I am trying to move a Chinese punctuation mark to the head of a character. I am using the following macro, which works fine. But if I redefine the \CJKpunctsymbol, it will be a messy. Can any one help ...
2
votes
1answer
117 views
biblatex-apa: sentence case not working
Biblatex-Apa should automatically print titles in the reference list in sentence case, but for some reason it doesn't work (note the lowercase A after the colon):
\documentclass{article}
...
3
votes
1answer
91 views
Quotes missing around title of arXiv papers (biblatex + biber)
I am using biblatex and biber. Here is a sample LaTeX file.
\documentclass[11pt]{article}
\usepackage[backend=biber,firstinits,style=numeric-comp,maxnames=99]{biblatex}
...
1
vote
1answer
91 views
Dodgy quotation formatting. Both start quote and end quotes are in the direction of end quotes, [duplicate]
Possible Duplicate:
Automatically convert quotations in the form of “abc” to become ``abc"
My quotes are coming up like end quotes on both sides of the quotation. How can I overcome ...
8
votes
1answer
177 views
What are the TeX definitions for the hyphen and dashes -, --, and ---?
I've tried latexdef which does not handle --- as the operand. And \texemdash is defined as a character. So that leaves me once again leaning on the collective wisdom of the group :)
2
votes
1answer
129 views
Using “German” quotation marks inside \newcommand [duplicate]
Possible Duplicate:
babel shorthand "| doesn’t work in macros
I know there is a deeper non-understanding of LaTeX mechanics at work here, but I have no idea how to phrase my question ...
3
votes
1answer
80 views
Marks like “«»” [duplicate]
Possible Duplicate:
Guillemets in LaTeX («»)
I need to make some quote marks like this: "« »" in my Latex document.
\begin{document}
Some text with quote marks like ...
1
vote
0answers
71 views
List of mostly all quotation marks used [duplicate]
I'm seeking of a list of quotation marks used in different language. So far I found only this wiki-page. But there is only the marks itself in Unicode.
I know about csquotes package. I just want to ...
9
votes
1answer
129 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 ...
6
votes
0answers
74 views
Differing hyphenation in xelatex and lualatex [duplicate]
Possible Duplicate:
lualatex and line breaks after em-dashes
I am working on a manuscript that can be compiled with either with xelatex or lualatex.
The PDF output from xelatex looks ...
5
votes
1answer
90 views
two commas on first page
When I compile my document I get a very strange first page. It only has 2 commas and the pagenumber on it. Has anyone has this problem before or knows how to solve it? I have included a minimal ...
4
votes
1answer
124 views
Retaining double quotation marks in biblatex-chicago with British localization
I am using biblatex-chicago, current version (0.9.9b), with biber. I am loading babel with the british option in order to get the punctuation right (I need logical quoting). However, this also ...
2
votes
1answer
70 views
How do I modify the section tag? [duplicate]
Possible Duplicate:
How to add a dot after the section number?
Each of my section tags looks like the following:
What I want is punctuation after each section number. I am not sure where ...
4
votes
3answers
133 views
Space after \textquotedblright
I am trying to put a text in "" using \textquotedblleft and \textquotedblright. It works perfectly fine except it does not put ANY space after \textquotedblright. In other words, BEFORE ...
4
votes
1answer
142 views
Using natbib with agsm
I am using natbib and agsm for harvard style referencing. My related code is
\usepackage{natbib}
\bibliographystyle{agsm}
Then I am using \citep{} for citations. My problem is that in text I am ...
6
votes
2answers
110 views
Indexing, subentries, and see also
I'm creating an index using makeindex and I can't get the output to look the way I want. Basically, I would like to create an entry formatted as follows:
entry1
~~~subentry1, 2
...
3
votes
1answer
625 views
Remove comma from moderncv's \cventry
This image shows the excerpt of a CV produced with the moderncv document class:
Notice that after the bold text there is a comma. This seems to be produced automatically. How can I stop this?
8
votes
1answer
128 views
Using \selectlanguage with csquotes
As per this question, I am using csquotes to convert quotationmarks to typographical-quotes. However, when changing language through \selectlanguage the quotationmarks no longer gets converted. (I ...
2
votes
1answer
167 views
Typewriter quotation marks in texttt
I'd like to do the text
"conservative"
with the quotation marks into a \texttt. However, when I do so, the first quotation mark is removed. I'm using the LNCS documentclass, I'm not sure if this ...
12
votes
1answer
182 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"?
...
1
vote
1answer
150 views
Need to remove comma after last author (only)
I'm trying to submit to a journal that has a non-standard bibliography format: citations look like this:
Gordon, R. H., C.-E. Bai, and D. D. Li. 1999. "Efficiency Losses from Tax Distortions vs. ...
4
votes
1answer
201 views
Minted+Inconsolata: Straight Quotes
I am using minted to display my source code and the Inconsolata package to set the output font. Unfortunately, this produces the following ugly result (note the direction of the quote marks:
...
7
votes
1answer
95 views
How do I change comma to a colon in in-text reference?
In my preamble I am using:
\bibliographystyle{authordate1}
\usepackage{natbib}
When I make a \cite reference the output is for example:
(Lovell, 1972, p.133)
What would I need to change in ...
12
votes
2answers
308 views
Ideal Setup for Swiss-Style Quotes (Quotation Marks in German-speaking Switzerland)
As far as I know Switzerland uses French quotes but without whitespace.
So instead of
« citation »
it goes like this
«citation»
(to make it more confusing, in Germany they have the alternative ...
5
votes
1answer
103 views
Titles ending with punctuation in biblatex-ieee
I've just recently started using the biblatex package (with the biblatex-ieee style), and I've run into a small problem. I've looked at the .bbx file, and it seems like it should be easy to change, ...
2
votes
1answer
152 views
CJK spacing suddenly no longer works
I have been using CJK script in my documents successfully for some time, but today it suddenly stopped working properly. I did update some packages through TeX Live today, and recently I reinstalled a ...
2
votes
1answer
133 views
Is it correct to use a comma in this equation?
Consider:
Then, the sequence $k_i$ given by (3.38) is increasing and converges to
\begin{equation}\label{eq:weired_equation}
k^\xi = k_1\times k_2 \times c \times d,
\end{equation}
where $c$ and $d$ ...
5
votes
1answer
143 views
Period after last author name in biblatex when terseinits = true
My reference style requires author initials without period-space but between the author list and year there should be a period, e.g.
Cho JC, Kim MW, Lee DH, Kim SJ. (1997). Response of bacterial ...
3
votes
1answer
86 views
Consecutive commas with ae package
How do I output two (or more) consecutive commas inside \texttt{} ?
,, displays a black square, \,\, displays nothing, \verb{,,} display three consecutive commas (what the heck!), \verb{\,\,} ...
6
votes
1answer
108 views
Biblatex prints white space plus period before PART field
When I print the bibliography with a BOOK entry using the PART field, biblatex prints white space followed by a period before the PART field is printed. Is this a bug, or am I missing something?
...
2
votes
1answer
125 views
Quotation mark problem [duplicate]
Possible Duplicate:
Quotation with double quote and O results in Ö
I'm having a problem to write this in LaTeX: "real-world" objects. My code is this
``real$-$world" objects
But ...
3
votes
1answer
685 views
How to improve listings display of JSON files?
I was wondering if there is a good way for JSON files to be listed with the listings package.
The only language definition I could come up with, is this:
\lstdefinelanguage{json}
{
...
0
votes
1answer
85 views
What is the symbol to join two personal names? [duplicate]
Possible Duplicate:
Dashes: - vs. – vs. —
I don't know if here is the best place to ask, but my question involves three symbols, so here we go:
What symbol should I use to connect two ...
7
votes
1answer
106 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.
...
16
votes
1answer
258 views
Comma at the end of last BibTeX field
A BibTeX entry looks like
@entry_type{internal_key,
field_1 = "value_1",
field_2 = "value_2",
...
field_n = "value_n"
}
I've seen examples that put a comma after "value_n". Is there any ...
8
votes
2answers
315 views
Babel and the decimal separator
I'm using Babel for writing a document in spanish. However, it uses a comma instead of a period as a decimal marker (i.e. 3,14 instead of 3.14).
Is there any way to reverse the behaviour? I prefer ...

