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

0
votes
0answers
25 views

Full stop after abbreviation with dot [on hold]

For instance $f_k$ converges to $f$ a.e.. (a.e.=almost everywhere). Which is the correct way to type this? 1) a.e.. 2) a.e. . 3) Or others? Thanks for any help.
4
votes
2answers
147 views

How to write range of values for a variable in Latex?

Is there a simpler way to write k = 1, 2, ..., 25, instead of $k$ = $1$, $2$, \dots, $25$?
2
votes
2answers
14 views

How can I get matching curly double quotes using listings?

I'm having a strange problem with listings. I'm trying to use matching double quotes around strings, as in this minimal example: \documentclass{article} \usepackage{listings} \lstset{ language=...
3
votes
1answer
46 views

Spacing around a comma to separates conditions (in math mode)

Let say I have a set \{ x \in A : first condition , second condition , third condition \}, or as a more explicit example \{ x \in A : x > 0 , x^2 \in B , x^3 \notin C \}. I find that the ...
3
votes
1answer
32 views

Theorem and chapter with Dot at the end

I'd like to have dot at end of the number of chapter and at the end of the number of theorem. I tried to use something like that: \documentclass{report} \usepackage{amsthm} \newtheorem{definition}{...
13
votes
3answers
389 views

Redefining `---`

Is it possible to redefine the group of characters ---, so that instead of drawing a "em-dash" when typing ---, the output would be two "en-dashes" (––)?
2
votes
1answer
34 views

How to remove the colon from cvitemwithcomment?

This is my code and it automatically puts a colon after the "Intern - Technology" bit, how do I override this and get rid of it? \cvitemwithcomment{\normalfont{HSBC, London,} \textbf{Intern - ...
7
votes
2answers
153 views

A Full Stop Suppresses the Delimiter Between Citations

I have a problem with the delimiter between multiple citations when using Biblatex-Chicago (compiling with XeLaTeX). Normally when citing multiple sources with \cites or \autocites, a semicolon ...
3
votes
2answers
55 views

Using colon “:” after author only for book and thesis, biblatex

I am using biblatex with numeric style. I would like to set it so I can have colon ":" after authors only for book and thesis. For all the rest I need a coma. I was trying to use \renewcommand{\...
0
votes
1answer
39 views

How can i avoid comma along with and in latex reference(.bib)?

Comma sign in Bibliography Last portion of above link contains both comma and and which is grammatically incorrect. How can i avoid comma?
4
votes
1answer
23 views

Get full stop after align tag

Say I am typing the following: \begin{align*} f(x) &= absuc \tag{First tag} \\ &= abshgi \tag{Second tag}. \end{align*} This outputs the following: However, I am trying to find a ...
0
votes
1answer
37 views

Quotation goes wrong in ShareLaTeX

I'm writing my thesis with the help of ShareLatex. However 25% of the time my quotation goes wrong. I think I am quoting correctly, using: `hello world' and ``hello world". And most of the time this ...
2
votes
1answer
22 views

steinmetz package comma problem

MWE \documentclass{article} \usepackage{steinmetz} \begin{document} $220\phase{0^{\circ}}$ $220\phase{0{,}5^{\circ}}$ $220\phase{0\phantom{{,}}\!\!^{\circ}}$ %<-- My solve \end{document} ...
3
votes
2answers
8k views

Is there an alternative way to double quote in Latex?

I am editing my Latex code using MS Word. Before you get any ideas (I know it's weird) please refer How to run Latex from Word? Having found myself in this unusual predicament, I also have to use ...
8
votes
3answers
177 views

Upright quote in DejaVu Serif

I have this code: \documentclass{article} \usepackage{fontspec} \begin{document} \setmainfont{DejaVu Serif} "Heading" \end{document} (run with LuaLaTeX, texlive2105) which gives this result: But ...
21
votes
2answers
8k 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 ...
3
votes
0answers
36 views

lacheck doesn't like factorials?

I have the following code. \documentclass{standalone} \begin{document} $n!$ \end{document} Running lacheck on it results "test.tex", line 3: punctuation mark "!" should be placed after end of math ...
0
votes
2answers
77 views

How can I change the way it is compiled comma

[ I am using: \usepackage[T1]{fontenc} \usepackage{lmodern} The problem is that when I compile the text, comma appears as decimal point separator. How can I change this ?
1
vote
0answers
46 views

Quotes in latex [closed]

Here is my latex code : In the equation (2.1) `d' represents the interatomic distance, `a' represents the carbon-carbon bond length which is $0.142 nm$, $ d_{\scriptscriptstyle 0} $ and $ A $ are ...
3
votes
0answers
24 views

gaps between word and greek angle quotes [closed]

I use XeLatex to write a thesis in greek. My problem is that writing «word» displayed as « word » , with a gap before and after the word. How can I change that? I don't want these gaps. Thank you
2
votes
3answers
1k views

Smart quote in TeXstudio

A useful feature of TeXworks is the smart quote. Does TeXstudio have a similar feature? (to replace "" and '' with their Unicode opening and closing counterparts)
10
votes
4answers
8k views

Escape “> and <”

I have the following piece of text which I want to output literally: <<"Welcome">>. However it's converted to those funky quotations. I've been trying all sorts of things with \ mostly but ...
0
votes
1answer
51 views

Is there any grammar correcting software in TeXmaker?

I am interested in a grammar correcting software in TeXmaker if there is one around like in Microsoft word: it's possible to correct grammar : commas placing, redundant expression, non-formulated ...
93
votes
2answers
21k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
3
votes
2answers
43 views

Drawing separated dashed/filled rectangles (sub-tables) within a tabular environment

Please, I need to draw a table that looks exactly like the following one Thickness is not important here, but rather the grouping and shading of symbols in rectangular sub-tables within the main ...
2
votes
3answers
81 views

Redefining symbol for specific language in ConTeXt

I have somewhat a follow-up to this question. I figured that it would be better to have a regular em-dash (---) whose size and spacing rules adjust depending on current language. So when \language[ru] ...
2
votes
2answers
85 views

Avoid linebreak in abbreviation

I use the macros for i.e. and e.g. from the tufte-book example. They look great, but sometimes a linebreak occurs in between like in the following example: \documentclass[nobib]{tufte-book} \...
2
votes
3answers
84 views

decimal comma in bchart, tikzpicture etc

Is there any way how to redefine decimal separator in environments like bchart, tikzpicture and so on? I need to typeset decimal comma, not decimal point. Minimal example: \documentclass{article} \...
2
votes
0answers
32 views

Bibliography, comma for two authors, semicolon for three [closed]

A journal I want to submit an article to has the following requirement for the bibliography: When it's two authors they're supposed to be separated by a comma plus the word "and". Mayers, J., and ...
5
votes
3answers
243 views

Using dash instead of point in headers

How can I set - instead of . as separator in headers? 1 Chap 1-1 Sec 1-2 Sec 1-2-1 SubSec 2 Chap 2-1 Sec I use XePersian package. The following does not work: \documentclass{book} \renewcommand{\...
2
votes
1answer
25 views

Quotations around the letter t: csquotes

MWE: \documentclass[12pt]{article} %make " quotation marks \usepackage[english]{babel} \usepackage{csquotes} \MakeOuterQuote{"} \begin{document} \texttt{read.table(file, sep = "t")} \end{document} ...
3
votes
1answer
53 views

How to use apostrophe ' with babel french loaded?

The french apostrophe is the following ’, when babel french is loaded it automatically turns typed apostrophes ' into ’. How to preserve the apostrophe ' in some cases (quote for example) but not in ...
5
votes
1answer
163 views

Bibliography - a comma separating author(s) from titles

I am compiling a bibliography in a book by means of bibtex using plain.bst style (or rather its Polish version plplain.bst). Using answers to other questions on similar problems, I have modified ...
1
vote
0answers
23 views

texmaker on OS X does not show CJK punctuations in editor

My environment: OS X 10.11.4 Texmaker 4.5 mactex from brew cask install mactex OS X builtin Chinese input method I configured texmaker to use XeLaTeX + View PDF, SimSun as Font, UTF-8 as ...
5
votes
3answers
155 views

\@seccntformat only for section

I would like to add a dot between the number of the section and section name. I used \makeatletter \renewcommand*{\@seccntformat}[1]{% \csname the#1\endcsname .} \makeatother The problem is that, ...
5
votes
1answer
113 views

Placing a comma before a citation-related superscript number

According to the Chicago Manual of Style (section 14.21) "a note number should generally be placed at the end of a sentence or at the end of a clause. The number normally follows a quotation (whether ...
6
votes
4answers
857 views

French guillemets specific look

I want to find the french guillemets in latex. To be honest I found them by many ways: \og text \fg{} with or without OT1 and french babel, but they do not produce the same result as those which ...
0
votes
2answers
74 views

If I have a double quote ' " ' in my text it shows up in the pdf as \textquotedbl{}

I am new to latex. I am running xubuntu 14.04. I am using Lyx 2.0.8. I can write, compile to pdf then view the pdf. Unfortunately, if I have a double quote ' " ' in my text it shows up in the pdf as \...
59
votes
7answers
39k views

Isn't there any other way of doing double quotes in LaTeX besides `` + ''?

The standard way of writing quotes and double quotes in LaTeX is with `` and '', but I find them quite ugly. Isn't there something similar to \emph{}, but for quotes? I mean something like \quotes{...
0
votes
3answers
77 views

Problem with lstlisting environment

I'm writing \documentclass{beamer} \usepackage{listings} \begin{frame} \begin{lstlisting}[language=bash] #!/bin/bash echo "Hello,world!" \end{lstlisting} \end{frame} But the output ...
5
votes
2answers
423 views

Multilingual document: Problem between babel and csquotes: \MakeOuterQuote{"}

: Line 5 is my problem... I want to use simple quotation marks in a multilingual document with csquotes AND babel, with the help of \MakeOuterQuote{"}, and I need the command \selectlanguage{ngerman} ...
1
vote
1answer
53 views

Fullstop after \dots in a formula

Should I put fullstop after \dots in a formula in the end of a sequence? Consider for example the nonsense formula $$E=mc^2 + \dots .$$
36
votes
2answers
2k views

Should I use ~ or \mbox?

~ stands for a non-breaking space, and \mbox{<text>} creates a box with text in it that cannot be broken (since its a "box"). I understand that \mbox has broader application than ~ (e.g. when ...
25
votes
3answers
8k views

Remove colon in the caption of a figure if the caption is empty

One of my figures should not have a caption, only the normal numbering. To get this, I use this code: \begin{wrapfigure}{l}{4cm} \begin{center} \includegraphics[width=3cm]{graphic.pdf} \...
13
votes
3answers
933 views

Question Mark Without a Dot

What would be a neat way of typing a question mark without a dot? I thought I could use such a punctuation for questions in the middle of a sentence (and so justify continuing lowercase after the ...
4
votes
1answer
128 views

Spurious punctuation in xelatex + biblatex + Cyrillic or Greek [closed]

Biblatex has a mechanism that prevents spurious punctuation. Generally, it works fine but fails with xetex and some languages. The MWE below compiles fine with pdflatex but with xelatex yields double ...
14
votes
1answer
13k 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} { morestring=[b]...
4
votes
3answers
458 views

<< and >> do not give « » (guillemets)

Context ~$ latex --version pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) kpathsea version 6.2.1 with this *.tex file \documentclass[12pt]{article} %Gummi|065|=) \title{\textbf{Test ULysse}} ...
18
votes
2answers
62k 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!' \end{...
0
votes
0answers
23 views

Force double inverted comma

I'm trying to output (COMMAND "_OVERKILL" (SSGET "_A") "" "") but always get (COMMAND „_OVERKILL“ (SSGET „_A“) „“ „“) using (\textbf{COMMAND}\space\enquote{\_OVERKILL}\space(\textbf{SSGET} \...