{typography} is for questions about the implementation of beautiful typography using TeX.

learn more… | top users | synonyms (1)

2
votes
0answers
50 views

Quotations spanning multiple paragraphs in csquotes with french guillemets under LyX

This question was already raised and answered here for american: \documentclass{article} \usepackage{csquotes} \usepackage[american]{babel} \DeclareQuoteStyle[american]{english}% verified ...
12
votes
1answer
201 views

Proper semantics for italicized foreign words and phrases

In English, foreign words and phrases such as per se and ibid. should be italicized, as shown here. There might be a number of ways to accomplish this in LaTeX: with \emph{per se} with \textit{per ...
4
votes
0answers
50 views

Which languages defined in babel repeat hyphen at start of line after hyphenation?

Babel (v3.9k) states that: \babelhyphen{repeat} inserts a hard hyphen which is repeated at the beginning of the next line, as done in languages like Polish, Portuguese and Spanish. I checked ...
8
votes
1answer
367 views

A bit of fun with logos: how to combine lines and letters in LaTeX (or just TeX)?

I was just having a bit of fun messing around with typesetting, and was able to produce a simple logo. However, it suffers from several issues that are illustrated in the MWE. I'm mainly just doing ...
1
vote
0answers
73 views

What is the best book with american typography rules? [closed]

There is russian book Reference book of editor and author which is well-known and considered the best comprehensive guide to typography and writing of text in russian (formatting, margins, font sizes ...
3
votes
1answer
199 views

Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
6
votes
1answer
110 views

Is there a standard for automatic line-breaking for text with various alignment types?

The context is that I'd like to not have to manually choose newlines and rather eyeball the length of text and possibly specify the number of lines or horizontal width the text should take up. I'm ...
4
votes
1answer
194 views

Define word with mixed case letters (upper/lower)

I am using some acronym-like words in my text that actually do not have a phrase but have a standard way of writing, like a "brand". (for ex. MyWorD) Is there a library for this or a way to define ...
5
votes
2answers
113 views

Line break with _

I have been searching what is the proper line break when using _ but I did not find any rules for that. I have a table which is too big and the content has to be divided into two lines. I have a name ...
6
votes
0answers
191 views

Typography and style - good choices for font styles in TikZ or pgfplots graphics?

When creating graphics or graphs with TikZ and/or pgfplots, one can put several commands to format the text to his likings. My question is: what are sound possibilities to format the elements in said ...
7
votes
2answers
158 views

Highlighting text through stacked colored underlines

I have sentences in which characters have been "marked" by some people and not by others. I'd like to present the markings simultaneously. Stacked colored underlining (in which a line represents each ...
1
vote
0answers
199 views

Suggest for fonts that improve the usage of paper as alternative to Times New Roman [closed]

Yesterday someone asked me a rather curious question that has to do with LaTeX and typography. Specifically the person is interested in being able to change the font from Times New Roman to thereby ...
8
votes
1answer
127 views
9
votes
1answer
112 views

How can I cleanly/efficiently insert *half* of an inter-word skip?

The title question is plainly posed—is there a simpler way of doing this (or at least one that actually works? When dealing with em-dashes (—), I've read that it's important to keep a small ...
7
votes
1answer
36 views

Is it OK to use a macro for an operator, or a macro defined by `\DeclareMathOperator`, as a non-operator?

Macros like \det, I believe, is intended to be used before some expression, but sometimes I wish to use them as in \det \in \mathbf{VP}. Is it acceptable to use them like this instead of using ...
7
votes
2answers
128 views

Italics using csquotes with foreign language

Using the csquotes package and polyglossia with French, i want to transform only \foreignquote{english}{my text is write in english italics with « » typography} into italics. \documentclass[a4paper, ...
1
vote
0answers
128 views

emulateapj options not changing anything

simple question: how do you change an option with emulateapj? I'm using \documentclass[12pt, apj]{emulateapj} but it appears to have no effect and comes up with these messages: [Compiling ...
4
votes
2answers
133 views

Would it make sense to write a TeX algorithms implementation in Cairo/Pango, so that it can be used to output anything Cairo can?

What I'd like to do is experiment with a TeX renderer, and write it in a good graphics library, which includes font support, so I ended up with Cairo. Does it make sense to write a typesetting ...
4
votes
0answers
114 views

Is TeX “typeset complete”? [closed]

Occasionally, I see a question on TeX StackExchange where my first idea is "this can't be possible". Yet there always seems to be a way to do exactly what was asked for in TeX. Can TeX, in principle, ...
7
votes
1answer
78 views

Fixate document length to n pages

I often find myself squeezing documents to meet ensure the final document is below some set length. I often do this by cutting whitespace, enlarging pages by a line height, etc., and of course by ...
4
votes
0answers
63 views

What are the drawbacks of XeTeX/XeLaTeX vs standard LaTeX? [duplicate]

I'm planning to switch back to \LaTeX{}, but I would like to be able to use any .ttf font that I need. Back in the time I used to format any document with LaTeX I was comfortable with the terribly ...
2
votes
1answer
79 views

Shaped pdf page

I don't think this is possible but, is the PDF format able to stand shaped pages? The idea is to produce documents giving a reading experience like this one's: but to bee seen on a screen. Should ...
32
votes
1answer
441 views

Randomized drawing of individual glyphs

I was reading Knuth's "Mathematical Typography" (Bulletin of the American Mathematical Society 1(2):337-372) and the section "Randomization" called my attention. I quote most of it here. I'd like ...
2
votes
1answer
228 views

Beamer like ClassicThesis

If I write my thesis with ClassicThesis, how can I fix beamer layout to get a similar setup? Does exist a template for this problem?
5
votes
2answers
179 views

Hyphen, Capital T and Kerning

When using a hyphen directly next to a capital T the spacing (kerning) looks weird: Input: Abc-Tuv Output: It seems as there is too much space between the hyphen and the T. I can reproduce this ...
4
votes
2answers
206 views

How to refer to figures, tables, equations and sections [closed]

What is the correct way to refer to figures, tables, equations and sections? For example, should I write In Figure 1.1 we notice that.... or In fig. 1.1 we notice that.... or In figure 1.1 we notice ...
4
votes
0answers
131 views

Ideal width of figures compared to the text width [closed]

Are there some rules of the thumb to define the ideal width of an image in a printed work? Made up examples: The figure width should be around 0.61803 * text width. (Golden ratio) Never use figure ...
4
votes
1answer
108 views

Practice documents to typeset?

Aside from when I read The TeXbook, I have only ever used TeX for immediate problems. But, I have to familiarize myself with typography in general, for a job. I am finding the documentation in TeX ...
4
votes
1answer
241 views

Rules for typesetting mathematical constants upright [closed]

It has been proposed that mathematical constants should be set upright to distinguish them from variables.1 This rule can also be stated as:2 There's a little-known rule, best stated as ...
3
votes
0answers
172 views

Typesetting programming packages/libraries in LaTeX

When referring to programming packages/libraries (such as matplotlib for example) within a LaTeX document should one typeset it to denote it as a package/library name? Such as using \texttt{}?
5
votes
1answer
72 views

Should a code sample be followed by a punctuation to conform to the language grammar?

Let's say I have the following text: The first program a computer science student sees is usually program HelloWorld(output); begin WriteLn('Hello, World!'); end. or 10 PRINT "Hello ...
4
votes
1answer
122 views

Consistency versus aesthetics with respect to \tilde and \widetilde

I am currently working on a paper which heavily uses \tilde for both lower case letters and capitals in math bold font. When using \tilde for lower case letters, everything looks perfectly fine, but ...
7
votes
1answer
215 views

Raise/lower a single character of a font (hyphen)

The font I'm using (Merriweather Sans) places the hyphen a little too high: Is there any way I can fix this for the entire document, in a way that doesn't affect the other fonts? Test document: ...
4
votes
1answer
774 views

Roman numerals in sans serif fonts

Inspired by a question, that unfortunately has been deleted by the OP after getting some hints from me in a comment. Lacking serifs the Roman numerals in sans serif fonts look sometimes a bit ...
1
vote
0answers
52 views

Using multiple versions (allographs) of each glyph randomly [duplicate]

I wonder if there exists any system to make LaTeX print different versions of each letter randomly. The idea is to make a realistic handwritten or typewritten document where almost every «a» is a bit ...
20
votes
1answer
297 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
8
votes
2answers
223 views

Make \section unaffected by \parfillskip

To avoid widow words at the last line of a paragraph, I adjust parfillskip: \parfillskip 0pt plus 0.75\textwidth While this gives nicer paragraphs, it also stretches section titles a little, as you ...
4
votes
1answer
99 views

endnote indentation equal to bibliography

I am using endnote to place my footnotes as endnotes at the end of my book and natbib for my bibliography. As such, i want both list to have the same indentation. I know I can set the indentation of ...
1
vote
2answers
154 views

Two pictures in one background

I have a document that has only one page(in pdf). How can I to have a background as watermark with two(or multiple) pictures on this page(as a watermark)?
6
votes
1answer
122 views

How to put a letter above another?

How do I "stack" a letter above (not in front) another (in math mode)? It should look the same as binomial coefficients, just without the parentheses (which rules out \stackrel and \overset, since it ...
5
votes
0answers
143 views

Italicizing emphatic speech: Italic or upright quotation marks? [closed]

This is a typography question. I'm not sure if it's on-topic here; please feel free to migrate to a more appropriate site if necessary. I'm typesetting HPMOR for private amusement, and the online ...
11
votes
0answers
242 views

Is there an environment / document class for dictionaries?

Background of this question I've got the idea of creating a math dictionary with LaTeX for quite a while now. My native language is German and I write a lot of blog articles about algorithms and a ...
10
votes
2answers
285 views

Is it more common to type period inside dollars or outside?

Which one is more common way to type LaTeX or are there any standards? Thus $x=2$. or Thus $x=2.$
24
votes
3answers
689 views

Strange default exponent positioning?

Why is this red exponent so far away from the right parenthesis? To my eye it is too far away. \documentclass{article} \usepackage{xcolor} \begin{document} ...
7
votes
2answers
163 views

Why does the non-breaking space produce a double space with babel and \og and how to use both \og and non-breaking space?

I am wondering if this is a normal situation or a bug! \documentclass{article} \usepackage[french]{babel} \begin{document} Ceci est \og entre guillemets \fg. Ceci est aussi \og~entre ...
3
votes
0answers
198 views

Abbreviations in mixed cases in small caps

Some guidelines suggest the use of use small caps for abbreviations. I have an issue with the following one: iTRAQ. Here are some guidelines on mixed small-upper case abbreviations. I do want to keep ...
15
votes
2answers
206 views

Placement of ellipsis

Consider the following example: \documentclass{article} \begin{document} $(1-\theta_1) \dots (1-\theta_m)$ \end{document} Isn't the ellipsis supposed to be vertically centered since they indicate ...
1
vote
0answers
66 views

HTML email typeset equations as HTML elements, not images? [closed]

I thought it would be super-useful to find a substitute for emailing equations as images. The problem I have experienced is that with some receiving email clients, the images are turned off by ...
20
votes
1answer
288 views

Tests for checking kerning and sidebearings

To test the kerning and sidebearings of digital fonts, Bringhurst suggests the following methods: To check the sidebearings typeset consecutive pairs of letters and check the symmetry. For the ...
1
vote
0answers
49 views

Edit Customize Change Justification rules to solve losse lines in tight columns or spaces

I'm working on a table and have a column (column 3) which is about 5 cm wide (specifically set) where I'd like text to be justified. However, due to the tight column, the paragraph style (in combo ...