Tagged Questions
2
votes
1answer
91 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 ...
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"?
...
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:
...
4
votes
1answer
219 views
Problem with libertine font for pretty big quotes
The following code, that I used with success, does not work with the last TeX LIve distribution. I don't know why.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
1
vote
1answer
102 views
Babel + Hebrew + aeguill incompatiblility
(Question split off from here.)
If you try to use the aeguill package (which adds some guillemets to the ae fonts) with Babel and Hebrew:
\documentclass{standalone}
...
7
votes
2answers
1k views
Typesetting single quotes
How can the single quote character be typeset as the ascii character ' in a LaTeX document?
For instance, consider the document:
\documentclass{standalone}
\usepackage[T1]{fontenc}
...
5
votes
1answer
632 views
Curly quotes in non-default font with xelatex
I have the following:
\usepackage{fontspec}
\setromanfont [Ligatures={Common}, Numbers={OldStyle}]{Palatino}
And compile with this:
xelatex main.tex
I use:
``word''
But the quotes are never ...
10
votes
3answers
2k views
How to enable ligatures for emdash/endash in LuaTeX ?
I cannot switch on ligatures for emdash (---) and endash (--) in LuaLaTeX. Here is my test file:
% !Mode:: "TeX:UTF-8"
\documentclass{article}
\usepackage{fontspec}
...
36
votes
5answers
1k views
Upright parentheses in italic text
This question led to a new package:
embrac
Bringhurst, in Elements of Typographic Style, recommends to use upright parentheses in italic text (i.e., write 'a (simple) example' as opposed to 'a ...
10
votes
2answers
1k views
Palatino displays wrong opening quotes
I've just started using Palatino for my documents, and I've realized the opening quotes are all rendered as closing quotes. As per the question What is the best way to use quotation mark glyphs I use ...
4
votes
2answers
1k views
A big thick question mark
I'm using \ding{52} and \ding{56} from the pifont package to get nice satisfying thick ticks and crosses. I'd like a question mark ? that fits with these. \textbf{?} is too small, and not thick ...
47
votes
4answers
51k 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.