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

learn more… | top users | synonyms (1)

10
votes
2answers
872 views

Minimum length of last line of a paragraph

There is a more or less equivalent question to this: Ensure minimal length of last line, but I absolutely need a TeX solution. I more or less stumbled upon the problem mentioned in the discussion of ...
10
votes
1answer
503 views

Are the TeX Gyre fonts designed to match each other?

I'm currently testing out some fonts and found out that some fonts are designed to match each other (good serif+sans-serif+typewriter combinations). Are the TeX Gyre fonts, which provide at leats one ...
10
votes
2answers
254 views

Vertically aligning hyphens and en dash in a compound word

I was wondering if there is a way to make the hyphen and en dash in a compound word appear at the same "height." For instance the style guide I'm following suggests using en dash to reduce the ...
10
votes
1answer
477 views

How to separate Roman numerals for a range of numbers?

Arabic numerals are separated using en-dash: pages 101--123, 2--3 and so on What is typographically correct way to separate Roman numerals? For example: with en-dash in the XIX--XX centuries ...
10
votes
3answers
477 views

How should I typeset the physical dimensions of quantities?

As an example: The Newton's Law gives F=ma vs. dim F=MLT^{-2} My question is: Should I typeset the "MLT" in \mathit shape? You can contrast ...
10
votes
1answer
731 views

(Why) did the Gyre project fork the URW fonts rather than just extending them?

As I understand it: During the 1980s, the URW++ foundry created clones of the PostScript Core Font Set and gave those clones the following names: ╔════════════════════════╤══════════════════════╗ ║ ...
10
votes
1answer
346 views

Typesetting mixed-case acronyms with numbers

What are the various alternatives to typeset acronyms that contain lowercase letters, lowercase letters and numbers? For example, take the acronym SOA4All. The naive way would be to typeset it just ...
10
votes
1answer
263 views

How to (automatically) determine a visually appealing line spread?

I'm writing a "larger" document with a lot of mathematics. Occasionally, I use a notation like p \xrightarrow{\mathcal A^X} q which produces tall lines. LaTeX increases the line spread for those ...
10
votes
1answer
213 views

Width threshold for space detection

I'm writing this stuff pdf2htmlEX, for each distance between two consecutive letters, I need to check if there should be a space character or not. Especially for PDF files generated by LaTeX, which ...
9
votes
1answer
806 views

Beautiful text - typography

Can anyone show me how to draw something like this. I am thinking of having a quote with similar font but have no idea where to start.
9
votes
3answers
339 views

Fixing fonts with LuaTeX feature files

Bringhurst urges us in Chapter 10 of The Elements of Typographic Style: Version 4.0 to fix the font files if needed. See below a summary of the chapter using the section titles. Bringhurst suggests ...
9
votes
2answers
768 views

Alignment of page numbers in table of contents

Consider the following example: \documentclass[a4paper,12pt]{article} \begin{document} \tableofcontents \newpage \section{test} \newpage \setcounter{page}{22} \section{introduction} \newpage ...
9
votes
2answers
261 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 ...
9
votes
2answers
512 views

Why the question mark followed by a left quote produce another symbol?

See the following example: \documentclass{article} \begin{document} Hello?``world!'' \end{document} The ?` will be replaced by a bottom-up question mark, If add a space between them will avoid ...
9
votes
3answers
452 views

Possible ways to format a specific century in LaTeX?

I'm writing I little bit of history in my report and I wonder which are the possible ways to format a century in LaTeX (e.g XX century) and in typography which is the most used and accepted. This is ...
9
votes
2answers
398 views

Table/Figure Layout

I'm interested in good practice for table (tabular) and figure layout, especially in good references. What do typographers have to say about this. Please provide references if you can. To focus the ...
9
votes
2answers
601 views

Use text font or math font for subscripts, diff operator etc.?

I have a typographical question concerning the use of text in math mode, for example for subscripts or the diff operator. Consider the following example, where I use XeLaTeX with Palatino as main font ...
9
votes
2answers
1k views

How to adjust the kerning around a forward slash in text

In contrast to \texttt{typewriter} normal text is "connected". When using a forward slash, I get for y/. this: while I would like to get something like that: which can be accomplished by ...
9
votes
1answer
474 views

Mid-paragraph drop cap / float (lettrine)

I'm trying to typeset drop caps, but I have some instances where I need a drop cap to be mid-paragraph. I'm picturing something like: /\ *Some multiline text /==\ starts here and goes below, ...
9
votes
1answer
408 views

Mimicking the Microtype documentation

One of the nicest LaTeX examples I have seen is the Microtype documentation. The .dtx file is available here and I have been trying to recreate a document looking like this. Unfortunately it's not ...
9
votes
1answer
124 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 ...
9
votes
1answer
274 views

Two letter variables with upright Delta

I'm using newtxmath with the slanted and libertine option in order to get standard slanted greek letters in mathmode as well as the option for upright greek letters. My question concerns a common two ...
9
votes
1answer
5k views

Double-bar notation for second-order tensors

I want to use the double-bar notation for second-order tensors, which is common in continuum mechanics (e.g. for the strain and stress tensors). I've searched the Comprehensive LATEX Symbol List but ...
9
votes
1answer
3k views

Vertical spacing before and after equation environment: empty line or not?

The vertical spacing in front of and behind the amsmath equation environment is different whether I insert a blank line or not (im using KOMA-Script with parskip=half if this is important). I'd like ...
9
votes
1answer
949 views

Solution for typesetting interviews in LaTeX?

Are there any packages for typesetting interviews in LaTeX? Of course, I could manually format all the text but I am sure that there are typographical rules for interview sections that I would ...
9
votes
1answer
1k views

How to fake mid-caps with LaTeX? (I.e. How to stretch characters of a font?)

Background As discussed in this question, one would often like to use small caps for abbreviations, however, mixed case acronyms such as OpenMP look rather odd (see example 2 below): The problem ...
8
votes
2answers
287 views

Typography: floating vs inline illustrations

I understand the use and purpose of floats containing figures and tables. It makes a lot of sense if you think about the overall aesthetics of the page. However I find the graphical distance between ...
8
votes
3answers
1k views

Sans-serif to go with EB Garamond (no math)?

Suggestions for a good sans-serif font to go with (compliment) EB Garamond? Math and non-Western European support are not required. Text is fiction, not academic or scientific. English with an ...
8
votes
2answers
686 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 ...
8
votes
4answers
1k views

Can my LaTeX (maths) code be improved?

I feel that my code isn't written very efficiently. \documentclass[a4paper,11pt]{article} \usepackage[english]{babel} \usepackage[pdftex]{graphicx} \usepackage{tikz} \usepackage{wasysym} ...
8
votes
2answers
180 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 ...
8
votes
2answers
347 views

Using a negative space \! to differentiate between functions and products

In Physics, I often have functions like f(x), but also multiplications like y(-x). I would like my math to be easy to understand, so I am looking for a way to suggest function calls and ...
8
votes
2answers
641 views

What typographic rules are there for indenting paragraphs?

I wonder what typographic rules there are for indenting. Does it require a certain amount of lines to be justified or should it be applied per default. In my opinion, the text colour is not very ...
8
votes
2answers
917 views

Font and typesetting of EGA by Numdam

I very much like the typesetting in Numdam's writeup of Éléments de géométrie algébrique. I find the font particularily pleasing, and the headers are nice as well. I've heard this is how it looked in ...
8
votes
1answer
360 views

Kerning for arabic digits?

In most fonts, arabic digits have nonproportional width, meaning that 1 and 8 have exactly the same width even if the former has a smaller natural width. This is good for typesetting tables, but in ...
8
votes
1answer
401 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 ...
8
votes
1answer
185 views

Looking for an ebook about typography that used to be part of a package

Sorry for asking, but an iron-curtain seems to have settled in my brain... I'm looking for a ebook about typography and how to best write/typeset a book. It used to be part of the documentation for ...
8
votes
2answers
515 views

What exactly are the semantics of noun case?

I'm a LaTeX and LyX beginner. One thing that's making me scratch my head is LyX's Toggle noun button. According to the manual, I should use noun case for people's names, and the default rendering ...
8
votes
2answers
295 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 ...
8
votes
2answers
223 views

Special formatting for section numbers

In these Mathematical Writing notes prepared by Knuth et al. (worth checking out the first few pages if you write technical articles), they use a certain typography for Section numbers. Aside from the ...
8
votes
2answers
172 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 ...
8
votes
1answer
133 views
8
votes
2answers
565 views

Print a Notebook with LaTeX

I just came across something I missed a few years ago: I still use notebooks that do not have the correct margins for writing, i.e., the outer and bottom margins are the end of the page and the inner ...
8
votes
1answer
132 views

Soul vs Microtype in regards to Tracking

When using small/all caps, I was told to adjust the tracking alongside. I have found \SetTracking from microtype and \so from soul. Is there an advantage to using one or the other and if yes why? Do ...
8
votes
2answers
721 views

Copyright disclaimer as a footnote at bottom of first page

I am writing a scientific paper and I am having difficulty adding a "copyright" footer on the first page. I am currently having a paper which looks like this (from howtotex.com): (Link to ...
8
votes
1answer
591 views

Choice between asparaitem, compactitem, and itemize

I am writing a conference paper (in lncs). I see people using different itemization styles: asparaitem, compactitem, and itemize. Because the spacing of these environments is somewhat different, I am ...
8
votes
2answers
653 views

Typesetting non-scientific material for the first time

I have used TeX and friends for many years to produce academic documents: assignments, reports, journal articles, etc. As a hobby project, I am going to try something different by typesetting a book ...
8
votes
1answer
149 views

Introduce random imperfections to typeset' text

LaTeX does an outstanding job in typesetting things perfectly (as if that needed to be said yet one more time...). Now, I'd like to introduce certain imperfections to my text to make it look like it ...
8
votes
0answers
311 views

How are atlases and other large books made in LaTeX? [closed]

I was wondering how large books such as atlases or encyclopedias were made in LaTeX? For example, how does one setup their document or design the layout for such a big book? Is it the same process ...
7
votes
2answers
1k views

LaTeX produces bad, widowed line

I just found a widowed line in my PDF document, created by LaTeX. It looks something like this, see "sion" on the second page: | blah blah expres- | | 8 | --------------------- ...