{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.
16
votes
1answer
508 views
Vertical position of punctuation following fractions in display-style equations
Assuming that one wants punctuation in equations, what is the best way to adjusting the vertical position of the punctuation if it follows a fraction? I am using Palatino and Euler here (which I ...
5
votes
2answers
293 views
biblatex-mla bibliography: one redundant dot in second entry by same author (@collection)
when quoting two collections by the same author, biblatex-mla puts an extra dot before the title in the references entry, as may be seen here:
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
...
10
votes
1answer
2k views
Hyperref + \url: long URL with dashes won't break
I've discovered a rather weird behaviour of PdfLaTeX. In this example
\documentclass{article}
\usepackage[breaklinks]{hyperref}
\begin{document}
...
2
votes
0answers
40 views
Force dot after abbreviated author's first name [duplicate]
Possible Duplicate:
Biblatex: no period/dot after initials if bibtex-entry firstname is only one letter
I have a pretty large and messy BiBTeX file (who hasn't?), and I would like biblatex ...
6
votes
1answer
1k views
Biblatex: no period/dot after initials if bibtex-entry firstname is only one letter
After several hours on this webpage, I decided to change to biblatex and have already configured according to my preferences. Apart from an easy way to change the order of certain fields of a given ...
2
votes
2answers
417 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 ...
5
votes
2answers
166 views
How can I avoid extra whitespace after using a macro before punctuation?
I have a document in which certain frequently-occurring entity names are replaced with macros, e.g.:
\newcommand{\entity}{\emph{Name of Entity}}
...
Lorem ipsum dolor sit \entity, consequat ...
9
votes
2answers
1k views
How to get the closing single quote in math mode
How to get the closing single quote in math mode. The apostrophe in math mode
is displayed as prime.
\documentclass{article}
...
4
votes
2answers
402 views
Encoding italian quotation marks
I've noticed that using
\usepackage[utf8]{inputenc}
my quotation marks are ignored. I've used " in my source files and i would like to see the same glyph(?) in my output file.
I saw i should use ...
2
votes
1answer
242 views
Problem using “-” inside \textbf
I hope you can help me with this. I have the following in my code:
\textbf{Legendre–Fenchel transformation}
The problem is that the - doesn't show up after compilation. Instead it comes out as ...
3
votes
1answer
615 views
Comma after first author name in authoryear biblatex style with two authors
I am using the following:
\documentclass{article}
\usepackage[american]{babel}
\usepackage{filecontents}
\usepackage[style=authoryear,%
natbib=true, % enable natbib macros
%firstinits=true, % ...
2
votes
1answer
1k views
Problem with Bibliography Style (ACM)
I am a newbie in Latex and forgive me if the question seems dum.
I have the following entry in my Bibliography.
@misc{fuller2011,
author = {V. Fuller and D. Farinacci and D. Meyer and ...
3
votes
2answers
246 views
Asymmetric quoting in LyX
In LyX, when I enter quoted text, the generated LaTeX source has uses different quotes for left and right: `` for the former and '' for the latter so that
"Ugly quotes"
produces
``Ugly quotes''
...
1
vote
1answer
164 views
Write command so that commas appear properly [duplicate]
Possible Duplicate:
\newcommand and spacing
I want to write a command as a shortcut to insert text.
\newcommand{\bl}{$blah blah$}
When I write the command like this, "blah blah" runs ...
11
votes
3answers
326 views
Superflous leading dot in biblatex/numeric and beamer
The combination of beamer and biblatex with the numeric style leads to an undesired dot and space at the beginning of @MISC entries.
\begin{filecontents}{mybib.bib}
@MISC{www,
title={TeX.SX},
...
3
votes
1answer
434 views
Removing the quotations marks from the bibliography using harvard style (agsm)
I'm pretty new to using LaTeX but have so far found it fairly intuitive and am currently using it to write my dissertation. I am using the harvard and natbib packages to cite and create my ...
1
vote
1answer
216 views
Biblatex bibliography quotes break when using fontspec
As soon as I use fontspec in my biblatex xelatex document, my quotes stop appearing as proper quotes ", and start appearing as a pair of `` and ''.
My minimal working example, first:
...
10
votes
1answer
1k views
comma like \cdot
What is the \cdot alternative for comma, or any other punctuation symbol?
I want to raise comma symbol in a list of fractions to the fraction line. Comma is placed below when used next to fraction.
2
votes
2answers
244 views
Parentheses size
How can I change parenthesis size in whole document?
I have bunch of 'coc(o)nunt' or 'co(c)onut' words.
Standard parenthesis seems too big, footnotesize looks ok.
Replacing any ( with ...
10
votes
1answer
280 views
In the minted package, how do I enforce straight single quotes?
Basically I want
\mint{python}|'banana'|
to produce straight single quotes, rather than the curly ones it normally produces (in pdflatex).
7
votes
2answers
238 views
amsmath nobreakdash definition to allow normal hyphenation
In the amsmath package documentation it is written:
\newcommand{\n}[1]{$n$\nobreakdash-\hspace{0pt}}
The last example
shows how to prohibit a linebreak after the hyphen but allow normal
...
5
votes
1answer
111 views
Macro for handling placement of last quotation mark when setting quotes in text?
When including quotes in a text, there are some styles that need to be adhered to. One style is to always place the last quote where the actual quote ends, no matter the next character (e.g. ... and ...
11
votes
2answers
203 views
How can I check if a header has an ending full stop?
I am modifiyng some macros to enforce a section style that should end with a full stop. The full stop is added automatically, but sometimes people add the full stop and I get two. How can I modify the ...
11
votes
2answers
2k views
Correct use of hyphen, en dash, or em dash in compound words [duplicate]
Possible Duplicate:
Dashes: - vs. – vs. —
I know that there are many sources on the use of dashes both on tex.sx ( Dashes: - vs. – vs. — ) and in the real world (Wikipedia: Dash). But there ...
5
votes
3answers
445 views
Less pointy angle brackets
I was looking for a way to beautifully display UML stereotype titles including angle brackets like you can see here:
What I came up with is $\mathtt{\ll metaclass\gg}$, however, as you can see here
...
7
votes
2answers
480 views
biblatex: is it possible to add a text directly after the reference number (without a comma)?
I'd like to add a certain marker after some bibliographic entries, e. g. superscript star *.
It should appear directly after the references number and should not be separated by a comma (as normal ...
9
votes
1answer
609 views
own bibliography style with biblatex
My bibliography has to look like this:
name, givenname; name2 ,givenname2: title. edition location : publisher, Year.
e.g.
Weck, Manfred; Brecher, Christian: Werkzeugmaschinen. 6.Auflage ...
7
votes
2answers
579 views
Redefining quote environment with tiny font and double quote signs?
I want to redefine the quote environment in such a way to get the output of the following code.
\begin{quote}{\tiny\textquotedblleft Text \textquotedblright}\end{quote}
I also want to fix the line ...
16
votes
1answer
469 views
Putting quotation marks in TeX document
Have to put double quotes mark for a sentence. I am using Xetex.
For the input string ``The work'', the output is also ``The work'' whereas it should be “The work”. Below is the list of packages and ...
1
vote
0answers
67 views
Changed style of caption numbering [duplicate]
Possible Duplicate:
Appendix changes sections and figures numbering
I have a problem with some captions in a document I am currently working on. Usually when I compile the main file, all ...
3
votes
1answer
743 views
Change separator in Bibtex bibliography from comma to period
I've been editing a Bibtex style, the standard agsm.bst, to match my university's requirements. I've managed to get everything correct, except that the style separates the year, title, and journal ...
3
votes
1answer
683 views
How to replace a hyphen (-) with an en-dash (–) automatically?
I would like to set up my LaTeX (XeTeX) document in such a way so that I could type a hyphen (-, the one on the keyboard) and it would get replaced with an en-dash (–, the "longer" dash) in the ...
11
votes
3answers
2k views
Aligning Decimal Points in Table
I want to align two numbers in two different rows the decimal point.
I do see a link for that here:
Aligning numbers by decimal points in table columns
However, I don't understand how to ...
8
votes
2answers
312 views
How to replace the “.” with “:” in the proof environment?
I have seen a similar post here How to remove the "." in the proof environment?.
But I don't know how I can modify the answer to replace . with : by using etoolbox.
7
votes
1answer
211 views
How do I get guillemets in a listing?
I'm wondering if it's possible to use guillemets («») in a lstlisting block?
I have seen some solutions for including it in the document, but none with the listings package.
5
votes
1answer
300 views
Can I change the “range” punctuation in siunitx?
When using siunitx, by default, \SIrange{0}{10}{\celsius} will render 0 °C to 10 °C.
Is there any general way to change the default rendering of ranges to 0--10 °C (i.e., using an en dash instead of ...
4
votes
2answers
1k views
Linebreak and \enquote
Using the \enquote{} command from the csquotes package my quotes seem to be wrapped to the next line a lot of times like this:
This is an "example
" sentence.
Without the extra whitespace.
Now ...
7
votes
2answers
570 views
How does one display straight quotes in the normal font?
From this code:
\subsubsection{General Escaping Format}
Generally, escaping MUST be done in a manner similar to most programming
languages, such as C, C++, Java, or similar, for quoted string ...
6
votes
1answer
185 views
How to add quotation marks to fractions?
As the title says I want to add quotation marks around a fraction in \displaystyle mode. My first try looks very unnatural, as you can see
^{``}\frac{1}{0^-}^"
The problem is with the first ...
1
vote
1answer
181 views
How to change the default ':' in subsection to paren ')'?
In latex, when I write ,
\subsubsection*{a}
it produces
a:
but I want to write
a)
How should I do this.
5
votes
2answers
436 views
Linebreak between numbers connected by dash
In my text I am using lots of dates. Now I have the following problem: 1480–1541 (two figures and between them a dash) appears at the end of one line and extends over the line into the margin space ...
3
votes
2answers
179 views
How to put a full stop at the bottom, not mid-line, after an aligned matrix?
How can I put a full stop at the bottom rather than at mid-line following the end of an aligned matrix expression such as $\begin{pmatrix} x\\ y \end{pmatrix}$?
7
votes
3answers
968 views
Remove colon in the caption of a figure without using caption package
I know that I can Remove colon in the caption of a figure if the caption is empty when I simply use the caption package. But let's say I am using a journal-specific class (e.g. elsarticle) that has ...
10
votes
2answers
448 views
Replacing all dots in a document
I want to replace all dots in a LaTeX document with a call to a macro.
Just doing a search and replace on '.' won't help as this will not replace the dots generated by LaTeX, e.g. in section numbers, ...
5
votes
1answer
813 views
Separation by semicolon instead of comma in biblatex' \cites
I am using biblatex+biber for the bibliography of my thesis. I use the numeric-comp citation style. Overall this works perfectly.
I generally use \cite to cite references; but occassionally also ...
7
votes
2answers
543 views
Avoiding “minus sign” dash in listings commentstyle
Is there a general way to have listings package typeset commentstyle in roman using a true hyphen, while maintaing the default behavior that hyphen in basicstyle is changed to a minus character?
Here ...
8
votes
1answer
263 views
biblatex: different output for one, two, or three authors
I'm using/customizing the verbose style in biblatex. This is the desired output, depending on the number of authors (just focussing on the authors):
Apple, Anthony. Title. [⇦ 1 author]
Banana, ...
6
votes
2answers
883 views
biblatex, authoryear-icomp: brackets around the year in footnotes
I use biblatex with the cite-style authoryear for footnotes, which results in
Chang et al. 2005, p. 1116.
Faculty guidelines require
Chang et al. (2005), p. 1116.
though.
Which files need ...
7
votes
2answers
372 views
How to punctuate multiline equations?
This might be off topic, yet I wouldn't know where else to ask. I want to keep up with the good habit of punctuating displayed equations. For example I know the comma (,) is compulsory in
Here, we ...
7
votes
3answers
296 views
dot's shape of the italic abbreviation words
I want to write
thief (pl. thieves)
Which is correct, the
\textbf{thief} (\textit{pl.} thieves)
or the
\textbf{thief} (\textit{pl}. thieves)
?