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

5
votes
1answer
76 views

Makeidx, Subentries and dashes

The following is the type of code I made. \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} ... something\index{Lois!Lane} ... \printindex \end{document} I'd like an index ...
6
votes
2answers
179 views

Can I create one command for quoting?

I would like to get this result: I currently use this piece to get the result: \glqq{\textit{Analysis II}}\grqq{} Can I create a single command like the following to get the desired result? ...
4
votes
1answer
77 views

Remove trailing period in Boxhandler package

Is there a way to remove the trailing period in the boxhandler package? It seems to occur with both the bxfigure and bxtable commands, but I have instances where I need no trailing periods. Minimum ...
54
votes
2answers
18k views

Aligning numbers by decimal points in table columns

Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the ...
16
votes
3answers
712 views

How can I typeset a quote directly above a period?

Is there a way to typeset a right double quote directly above a period (if the quotation ends with a period)? Not to the left (for example, ."), not to the right (for example, ".), but directly above. ...
1
vote
1answer
149 views

Fontspec en- and em-dash ligatures

When producing en- or em-dashes with fontspec enabled i XeLaTeX, the ligatures are not produced, it simply prints -- and ---. MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
115
votes
4answers
182k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
2
votes
1answer
65 views

My CJK punctuation sits in a margin

I'm trying to forge a macro to produce nice formatting for pairs of sample Japanese sentences and their translation, but I seem to have run into a problem with indentation. If I have a hard line ...
12
votes
4answers
2k views

How do I prevent LaTeX from creating en-dash and em-dash?

All over the internet, there's this question on how to make LaTeX do the en-dash and em-dash. I have the opposite problem. I have some text from which I am generating HTML and LaTeX outputs. The ...
57
votes
2answers
84k 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 (·) &middot; &#183; U+00B7 "midpoint (in typography)" ...
5
votes
3answers
331 views

Cut and Paste Non-Math Text from MS Word to a .tex file

I am helping a friend use LaTeX to generate a book of short stories. The stories are received from the authors in MS Word -- unfortunately that is only text editor most of the world knows. There is no ...
4
votes
3answers
299 views

How can I get straight quotes in pseudocode?

The quotes in pseudocode currently look like this: How can I get quotes that look more like a programming environment and less as if I just typed it with MS Word? MWE \documentclass{article} ...
3
votes
3answers
450 views

Remove last dot in title numbering

My current document is processed like this: 1. Some chapter 1.1. Some section 1.1.1. Some subsection Appendix A. Some appendix What I want to have: 1 Some chapter 1.1 Some section 1.1.1 Some ...
3
votes
1answer
340 views

How do you code Mr./Dr./Mrs. in LaTeX? [duplicate]

Bit of a newbie question. I have read somewhere (can't seem to find it now) that if you wish to write Mr. John Doe or Dr. Jane Doe that LaTeX with treat the . as a full stop and add an extra space. ...
4
votes
2answers
140 views

How to typeset an em dash in an alltt environment

I am trying to typeset an em dash using --- inside an alltt environment, but I get three hyphens instead of a single em dash. MWE \documentclass[12pt]{article} \usepackage{alltt} \begin{document} ...
1
vote
0answers
147 views

French quotation marks in titles

I'm currently finishing my PhD thesis. I use Lyx and the packages \usepackage[french]{babel} \frenchbsetup{FrenchFootnotes=false} I use the french quotation marks (guillemets) without any problem ...
2
votes
1answer
150 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 ...
4
votes
2answers
167 views

colon after Appendix name

I am trying to solve a simple problem but have been unable to find a answer on this forum. My question is -- how can I put a colon after the appendix name? I feel that it should be pretty simple but ...
2
votes
2answers
54 views

Centering enquoted text

I am using csquotes package in my document which has a title with quoted phrase. The title should be centralized, so it is nested into center environment. LaTeX (XeLaTeX to be more precise) handles ...
2
votes
2answers
147 views

How to make LaTeX properly hyphenate a word followed or preceded by a triple dash?

I'm using memoir class to write a novel. As it is widely known, writer comments inside novel characters' dialogues are usually enclosed between long dashes which in turn are written as a triple dash ...
3
votes
1answer
180 views

csquotes and invalid nesting with two nested \mkbibquotes

I was surprised when today I got the error message Package csquotes Error: Unbalanced groups or invalid nesting. After a while I found the culprit in my bibliography-file. It is a bib-item whose title ...
4
votes
0answers
102 views

How to cite correctly in a document with quotes in several languages using csquotes? [closed]

I'm working on a document written primarily in Spanish, but contains many quotes between quotation marks, multiple nested. It also contains text blocks that I usually compose with the environments ...
6
votes
1answer
197 views

German dashes: VR-Technik und --Methoden

I want to write VR-Technik und -Methoden. How many dashes should i use in the different places? I'm pretty sure VR-Technik is correct, as would be VR-Methoden. Should i write VR-Technik und ...
2
votes
2answers
327 views

Why can't I type a normal quotation marks in TexShop?

When I type the quotation by ``'' in editor and then output a PDF file, these symbols cannot display. For example, if I want to display "Hi", the PDF will only show Hi. I know typing `` ...
0
votes
1answer
80 views

Getting rid of period and comma

I am using apa.bst and want to know how to: 1) Get rid of the period after the year; and 2) Get rid of the comma after the journal title. I currently have: Baba, SA (1997). Democracies and ...
26
votes
5answers
9k views

biblatex: How to remove the parentheses around the year in authoryear style?

The standard authoryear style in biblatex puts parentheses around the year in the bibliography and no parentheses around in text citation years: Smith 2011 shows ... (citation) Smith, Joe ...
4
votes
3answers
244 views

How to get parts without prefixes?

I am using the class scrbook and I would like to have parts without prefixes (similar to the default chapters in scrbook), i. e. \documentclass{scrbook} \begin{document} \part{This Is Part One} ...
7
votes
2answers
187 views

Is it possible to use the punctuation of one font within another font?

I'm in the process of trying to turn an English document into Hindi based on a translation in Word. However, I'm struggling to find a font that does what I want. As I'm working with an existing ...
8
votes
1answer
158 views

When author field is empty, do not put colon after prenote in authortitle-comp

Preemptive note: This is not a duplicate of Empty author field in BibTeX. I am experiencing a weird thing with the authortitle-comp citation style where, if the author field is empty in a ...
5
votes
1answer
141 views

biblatex: mismatched quotation marks (italic/roman)

The Chicago Manual of Style says punctuation and quotation marks should match the surrounding rather than the enclosed font (i.e. roman or italic), unless they form part of a title, in which case they ...
4
votes
1answer
225 views

biblatex punctuation issue when book titles end in quotation marks

The Chicago Manual of Style specifies American punctuation: periods and commas should precede closing quotation marks (§ 6.9). It also specifies that titles within book titles should be enclosed in ...
6
votes
1answer
140 views

How to deal with different commas in text and math mode?

I'm writing a thesis and decided to use Charter (\usepackage{XCharter}) for text and Palatino (\usepackage{mathpazo}) for math. Unfortunately the commas in Charter and Palatino look very different, so ...
4
votes
1answer
59 views

Biblatex: field “series” has wrong format

This is my first attempt to create my own style for Biblatex and Biber. I used chicago-authordate as a starting point, because it matches many of my requirements. By drawing from information found ...
4
votes
1answer
213 views

How to get big quotation marks again

I am trying to use this answer to get large quotation marks, \PassOptionsToPackage{svgnames}{xcolor} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{libertine} ...
4
votes
1answer
145 views

csquotes: Using Auto Quotes to Create Block Quotes if Required

One of the great features of csquotes is that, using \MakeAutoQuote, we can simply type proper hard-coded quotation marks and have csquotes do the rest, i.e. turn them into the correct format (as ...
8
votes
1answer
189 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'' ...
6
votes
2answers
213 views

macro that deletes whatever symbol follows after the code and leave no space

How would the following macro X be defined in TeX? word in previous sentence?\macroX . Next sentence gives output identical to word in previous sentence? Next sentence The motivation: a period ...
4
votes
2answers
284 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 ...
1
vote
0answers
278 views

Comma separator for \citet and semicolon separator for \citep (in the last reference with \citet)

I need an answer about this problem and many of the accepted solution herein (StackExchange) do not work for me! For example A comma separator for \citet and a semicolon separator for \citep ...
2
votes
1answer
362 views

Changing english quotation marks to german + greek text

I need to change english quotation marks: “text” into german quotation marks: „text“ through out my entire document. The problem is I used ``text'' and `text' in the entire document. There is ...
6
votes
1answer
1k views

A comma separator for \citet and a semicolon separator for \citep simultaneously?

Is there an easy way to simultaneously have a comma separator for \citet and a semicolon separator for \citep? It is currently [comma]{natbib}, but (e.g., Black and White, 2006, Pink, 2006) looks ugly ...
3
votes
2answers
46 views

How to define a symbol which never goes at the beginning of the next line?

I have created a very simple symbol, and try it in the main text. What I want is this symbol never show at the beginning of a line, which means TeX(I use XeTeX) always treat it as a punctuation. How ...
4
votes
2answers
295 views

How to remove the full stop at the end of each bibliography entry?

Using biblatex how do I remove the last full stops in the following entries: [1] Peter Fox, Richard Rabbit, and Franc Bird. “Animals are the better hu- mans”. In: Horse and Hound 10 (2011), ...
4
votes
1answer
266 views

Remove question mark following period for reference title in PDF, using Vancouver.bst

I am using LyX with a slightly modified vancouver.bst file. In the PDF output, reference titles that end with a question mark have a period also printed. This occurs only for those references that ...
2
votes
1answer
102 views

Decimal separator in \psaxes of pstricks-add

When I use the comma option of the command \psaxes, only the y-coordinates are displayed with a comma while the x-coordinates are still displayed with a dot. My figure is included in a somewhat big ...
94
votes
5answers
17k views

\includegraphics: Dots in filename

\includegraphics cannot handle filenames that contain more than the one dot, separating the filename from the extension. Apparently it uses everything after the first dot as extension and then, of ...
39
votes
7answers
11k views

Allow line break, but without inserting a dash

I have a sentence that contains a number of long dataset names. I would like to allow LaTeX to break these names at certain positions that I would like to specify somehow just like I can use \- to ...
4
votes
1answer
777 views

Remove punctuation (comma) after volume number in biblatex

Using this code: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[a4paper,twoside]{memoir} % Unix options \isopage ...
1
vote
1answer
192 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} ...
3
votes
1answer
698 views

Quotation marks in Beamer

I have something like this \documentclass[xcolor=svgnames]{beamer} \usecolortheme[named=Crimson]{structure} \usetheme[height=7mm]{Rochester} ... \begin{document} \begin{frame} In fact ...