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

17
votes
1answer
248 views

Is there a method just write `---` to get an em-dash, putting thinspace both before and after it?

Is there a method just write --- to get an em-dash, putting a thinspace both before and after it? The situation about break is similar with the original ---.
9
votes
1answer
137 views

What is the difference between the hyphen-like characters #45 and #127 from the T1 encoding?

What is the difference between the symbols with decimal indices #45 and #127 from the T1 encoding? Character #45 seems to be the ordinary hyphen, but what about #127? The en-dash and em-dash are at ...
2
votes
1answer
312 views

\parencite in footnote: where to put the full stop?

I am not entirely sure, if this question fits the agenda of this site. I you feel that it does not, please accept my apologies. Just a brief question: If I have a footnote with a quote, then ...
1
vote
1answer
132 views

Punctuation in superscripting with Natbib in Xetex

I'm trying to use the achemso package for my bibliography and citations. I'm also trying to using Xetex to use the Minion Pro fonts. When I just typeset with LaTeX and do everything in Computer Modern ...
5
votes
2answers
126 views

Ignoring Punctuation during Comparison

I am trying to compare two strings and ignore punctuation during the comparison. I thought that catcode redefinition would be a good way to proceed. But, obviously, the use of \catcode has a great ...
0
votes
0answers
35 views

How to insert a dot in the section headings? [duplicate]

I am using this macro: \newcommand{\ssection}[1]{\section[1]{\centering #1}} \ssection{BACKGROUND} Result, is centered but there are couple of spaces between 1 and B: 1 BACKGROUND ...
13
votes
2answers
2k views

How to force LaTeX not to break the line after a hyphen “-”?

With ~ we can enforce that no line break occures between two words. But this does not seem to work with special characters. I want LaTeX to enforce not to break the line after the - in (re-)creation. ...
12
votes
2answers
925 views

How to quote correctly with csquotes?

I am unsure how to quote correctly using csquotes and \textquote and \blockquote. In the documentation I found this general advise: \blockquote[cite][punct]{text}tpunct but am unsure how to really use ...
2
votes
1answer
227 views

biblatex: why no comma after abbreviated shorttitle?

Sorry, this is only a minor question, but I just realised for the first time that when you cite a bibliographic item which has no shortitle, then -- using style=verbose -- you usually get (apart from ...
2
votes
1answer
447 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 ...
2
votes
0answers
38 views

How to get language dependent quotation marks in citations with biblatex? [duplicate]

I cite german and french articles. In my bibliography the titles are given in quotation marks. Now, I would like to have the quotation marks dependent on the language of the article. I thought ...
3
votes
2answers
147 views

Ellipsis without brackets — fine tuning

Very much related to this question and its answer, I would like to ask the following: If I want to indicate omissions in a quotation not by using Text [...] more text. but instead by using Text ... ...
14
votes
1answer
216 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? ...
1
vote
1answer
164 views

new quote-based environment end spacing [closed]

In order to insert quotations, the document uses a quote-based \newenvironmentx \newenvironmentx{QUOTE}[1][1=.]{% \begin{quote}% \tiny\noindent% \gdef\parQ{#1}``% }{\parQ''% \normalsize% ...
2
votes
1answer
106 views

Texmaker Illegal unit of measure

I've got problems with my Texmaker on Windows 7... I changed some text in the document and configured the colors for my listings. Suddenly Latex throws an error by the optional parameter of the ...
5
votes
2answers
806 views

KOMA-Script scrbook: How to remove period after part

I'm using scrbook to typeset a document and I'm using \part for formatting the parts of it. The default output renders \part{Mytitle} into Part I. Mytitle Now I'd like to get rid of the ...
2
votes
2answers
320 views

How to force csquotes to show the quotations marks in block quotes?

How can I force the csquotes package to always show quotations marks in my block quotes, regardless of the language etc...? Tried this, but no cigar: \usepackage{csquotes}[english=british] % ...
2
votes
1answer
62 views

Is there a way to specify the last connecting punctuation/word of the authors list in apacite?

How can I make apacite use a different connecting punctuation/word between the last 2 authors (in both the article body and bibliography)? Instead of "Johnson, J. B., & Smith, J. (2013). Title of ...
7
votes
1answer
148 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 ...
45
votes
1answer
443 views

Is it always best practice to not include text punctuation in inline math mode?

It has been pointed out on this site, e.g. here by egreg, that text punctuation doesn't belong to the formula in inline math. I've been following this practice for a long time, so I write for all ...
7
votes
1answer
423 views

Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)

Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after: I would like to prevent the word ...
9
votes
2answers
4k views

Display real apostrophe in parts of a document

The question How to make a real apostrophe or single-quote in LaTeX is my question too, but the answer points to a package upquote that affects the entire document. I need to display an apostrophe ...
6
votes
1answer
1k 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. ...
10
votes
2answers
196 views

Math Spacing in the presence of a trailing/non-trailing comma

I thought I knew how to use a \hphantom{} but don't know of an easy way to handle this case due to the comma. I want to get the text aligned for the X row. I added the appropriate \hphantom{{}+1} ...
12
votes
1answer
546 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 ...
4
votes
2answers
176 views

Abbreviations: taking into account spacing AND punctuation [duplicate]

So I'm trying to come up with some good, general definitions for latin abbreviations in my TeX template... What I did up to now is this: \usepackage{xspace} \newcommand{\etc}{etc.\xspace} ..which ...
8
votes
2answers
915 views

To Imply a Dash and not Minus Sign in Math Mode

If I am in Math mode, and I want to name a variable, say max-color, here max and color are treated as two different variables and two spaces are placed around the minus sign. Now, what I really meant ...
4
votes
1answer
448 views

Enclosing issue number in parentheses

In my bibliography, the volume number and issue number is currently printed as "volume.issue" I want to change that to "volume(issue)", e.g., "35(5)". Would this be something to do with ...
8
votes
3answers
659 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
64 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 ...
7
votes
1answer
347 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
1k 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
589 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
270 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
241 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
280 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
176 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
145 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
231 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
125 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
171 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
395 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
153 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
169 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
158 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
150 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 ...
10
votes
1answer
200 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 :)
3
votes
1answer
435 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
89 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 ...