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

learn more… | top users | synonyms (1)

12
votes
2answers
300 views

diagonal text in math mode w/ vertical equality

The goal is a code where one can label elements in math mode in the following way: without having to manually position each letter of each word as a node in tikz. Preferably, other than the stacks ...
5
votes
1answer
323 views

Superscripts and subscripts in this equation

I have this equation: g^{\mathsmaller{\left(1\right)}} \left( \tau \right) = \frac{\langle E_{\mathsmaller{s}}^{\mathsmaller{*}}\left( 0 \right) E_{\mathsmaller{s}} \left( \tau \right) ...
7
votes
2answers
156 views

How to make ellipsis work with sans serif font?

Problem/question It seems that the ellipsis package does not work with sans-serif fonts. Is it a known problem or maybe not a problem at all? This question follows this one, about "how to change the ...
2
votes
1answer
74 views

How to change how suspension points (dot dot dot) look with LaTeX?

What I want to do I know it is bad, but I would like to redefine how \ldots and its equivalents (the Unicode character … for instance) are rendered by TeX. Indeed, in my opinion, with LaTeX, the ...
5
votes
4answers
112 views

How can I set the space between elements of a set?

I want to list all elements of a set. I tried \documentclass{article} \usepackage{amsmath} \begin{document} \[\left \{0, 1, 2, 3, 4, 5, 6\right \}\] \[\left \{0,\, 1, \,2, \, 3, \,4, \,5, \,6\right ...
2
votes
0answers
61 views

How to get “and,” “with,” “for,” etc. to print small and with diagonal banners behind

There was a typography contest from which an answerer featured these diagonal instances of "and," "with," "for," etc. which were slightly tilted and had banner-like symbols behind them. How can I do ...
12
votes
2answers
335 views

Better automatic spacing of differential d?

This question was basically about whether the differential d should be upright or italicized, not about how to achieve that in tex. However, this useful answer did suggest something like the following ...
2
votes
3answers
176 views

How to force text condensation

I have a title, that's written in font family with no condensed face. But I still want to bring letters closer to each other due to typographical reason. I find couple of ways to change ...
1
vote
0answers
530 views

Showcase of beautiful presentations in Beamer [closed]

I would like to know to what extent Beamer can produce professional presentations. The following following are the requirements : The contribution must be a TeX solution to this question. Usage of ...
9
votes
2answers
228 views

Proper use of Backticks and Butterick's Practical Typography

In his book, Practical Typography, Butterick makes the following remark. Com­put­er sci­en­tists and doc­u­men­ta­tion writ­ers, take note: straight quotes and back­ticks in soft­ware code should ...
8
votes
2answers
159 views

vertical equality in

How does one get inline or at least formula space typography of the following sort in an easy to parse (for the editor) way when writing formulas, for instance: Yes, I know, the equalities ... can ...
1
vote
1answer
104 views

Which typeface is used in scrartcl?

Can somebody tell me which typefaces uses this document? \documentclass[twoside,parskip=half]{scrartcl} I think the serif one it's Times but I'm not sure about it. No idea which font is the ...
2
votes
0answers
60 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
219 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
52 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
391 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
78 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
232 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
115 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
215 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
121 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
218 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
169 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
212 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
129 views
9
votes
1answer
117 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
38 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
140 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
148 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
186 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
116 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
79 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
86 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 ...
33
votes
1answer
473 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
248 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
193 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
239 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
136 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
111 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
285 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
178 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
73 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
134 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
258 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
802 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
53 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
307 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
256 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
104 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 ...