Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
104 views

Typesetting C functions

I want to describe C-functions in a document, e.g.: The function fooBar() does foo and bar... Should I use a different typeset for the function in the text? I have the feeling that for example ...
2
votes
0answers
54 views

Manual font installation vs CTAN's metric files

I installed on my system some commercial PostScript fonts. For all of them, metrics were available on CTAN, namely in the Schmidt's collection http://www.ctan.org/pkg/w-a-schmidt. Now, most of the ...
4
votes
2answers
113 views

always upright parenthesises and brackets

I was suggested by my thesis referee that parenthesizes () and citation brackets [] (I only use square brackets generated by biblatex)should always be in upright. This is indeed the same question as ...
4
votes
1answer
254 views

How compose an image from a specific text?

I love playing around with ASCII art and, as you may know, there are tools to generate ASCII art from images, where the ASCII consists of those characters which will result in the best image, as this ...
3
votes
2answers
205 views

Macros formatting/arranging words {A_1}{A_2},…{A_n} into predefined paragraph for varying n and tagging

How does one robustly (without breaking most environments) construct the macros with arbitrary number of parameters that output the parameters into a predesigned paragraph such that several of these ...
1
vote
1answer
249 views

Micro-Typography with Luatex

Since I wanted to use Opentype with Latex, I had to go with Luatex and consequently am now missing some features of Microtype (spacing, kerning). (I tried converting my openfonts but failed) Here is ...
3
votes
2answers
73 views

Is there a better (more condensed) way of formatting a subscript \perp (or \bot)?

I'm writing a lot of these types of formulas: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \mathrm{e}^{-\mathrm{i} \boldsymbol k_\bot \cdot \boldsymbol r_\bot} ...
2
votes
1answer
74 views

Placement of rules at the top or bottom of a page [closed]

I am writing a two-column document and I use \hrule to separate different sections. Once the \hrule reaches the top or the bottom of the page it stays there. Shouldn't for aesthetic reasons be placed ...
3
votes
2answers
83 views

Lining numbers in mathnormal

Is there a simple way to have lining numbers (instead of old style ones) using \mathnormal{} ? I want $\mathnormal{abc123}$ to look like $abc123$. My problem is that I have an operator ...
12
votes
2answers
315 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
331 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
160 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
83 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
114 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
62 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
355 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
188 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
597 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
238 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
165 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
132 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 ...
3
votes
1answer
68 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
228 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
53 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
396 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
82 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
267 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
118 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
226 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
128 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
251 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
179 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
219 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
130 views
9
votes
1answer
120 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
39 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
151 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
170 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
196 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
118 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
80 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
490 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
258 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
204 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
269 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
139 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
112 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
305 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 ...