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

learn more… | top users | synonyms (1)

11
votes
4answers
433 views

How do diacritical marks impact centering and overshooting?

I am creating a table containing several foreign names with diacritical marks in them, and it seems to me that they ruin the vertical alignment, as they are too close to the top horizontal line. How ...
11
votes
2answers
1k views

Table using booktabs and cellcolor looks ugly

When using \cellcolor in a booktabs table, I find that the output is not really appealing: I don't really care that the colored cell does not touch the lines above and below (cf. Coloring columns ...
11
votes
5answers
2k views

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

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

LaTeX challenge: how to reproduce this layout and typography

I would like to create a document in latex (whatever \documentclass) to reproduce the layout below and its typography style. I'd like to know if there is any open font at FontSquirrel or anywhere ...
11
votes
1answer
1k views

create elegant display of digits and symbols

I want to create a display of the duodecimal digits of \pi for printing on a T shirt. I've made some progress with help from SE: Fonts larger than \Huge?, How to increase the size of first character ...
11
votes
2answers
366 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.$
11
votes
2answers
256 views

What is a good way to typeset dot-separated acronyms?

I am trying to find a good appearance for typesetting "C.A.T.A.P.U.L.T.". When I type it as is, it appears to me that P.U.L. are bunched up together while the other letters are well apart. Perhaps ...
11
votes
1answer
291 views

What is the difference between a typesetting language and a markup language

I remember, I read some article in a technical journal where the author drew the attention on the reader on a lot of people confusing typesetting languages and markup languages. How can I surely tell ...
11
votes
2answers
361 views

Table with all numbers in millions

What is the proposed way to set numbers in tables which are all in the millions? None of the numbers has a significant digit smaller than 1,000. Since it is a rather large table, I want to get rid off ...
11
votes
2answers
1k 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 ...
11
votes
1answer
168 views

Size of indices (sub- and super- scripts)

I've been looking around for a way to change the size of indices (all through the manuscript). I found a lot of stuff, which could work, but I refuse to use without understandind. (See for example ...
11
votes
1answer
3k 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 ...
11
votes
1answer
433 views

Can someone help me modify the LaTeX logo so I can cut it out from a board of wood?

Some modifications are shown here: https://www.tug.org/TUGboat/tb29-1/tb91murzynowski-logo.pdf I have a flat 3/4" board. I'd like a heavy bold logo with all letters connected that is displayed in ...
11
votes
1answer
857 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 ...
11
votes
2answers
2k 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 ...
11
votes
1answer
6k 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 ...
11
votes
1answer
534 views

Typographic conventions for free space between subfigures?

I'm trying to define a "standard template" for drawing figures for my Ph. D. thesis. I would design large figures to fill the whole textwidth. Sometimes, however I have smaller figure, so that 2 ...
11
votes
1answer
339 views

Declare acronyms and abbreviations to automatically correct spaces after periods?

If I understand correctly, (La)TeX assumes that a period after a lower-case letter ends a sentence while a period after an upper-case letter does not. Unfortunately, my documents usually contain ...
11
votes
2answers
733 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 ...
11
votes
1answer
282 views

How to use fontspec with opentype fonts when ligatures are a separate font

I am just learning LATEX. Have been wanting to for years, doing quite well (at 60) and many years of programming are making it a joy! I am using fontspec to load some fonts directly from a ...
11
votes
1answer
676 views

Are there typographical drawbacks to using .otf font files?

Recently I've been messing around with different fonts in LaTeX and tonight got set up with the fontspec package which allows you to use .otf fonts in your LaTeX documents (in my case compiling with ...
11
votes
1answer
871 views

Using both a double-story and single-story g in math mode

I am writing some mathematics in which I want to use both typographic variants of the lowercase 'g' in math mode. See the Wikipedia page to see the two variants. There is a single-story and a ...
10
votes
1answer
968 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.
10
votes
3answers
1k views

When to indent a paragraph?

I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
10
votes
2answers
583 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 ...
10
votes
2answers
770 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 ...
10
votes
5answers
11k views

beautiful listing for CSharp

Does anyone have a nice typesetting style for the C# language using listings? I configure it in this way: \lstset{language=[Sharp]C,,basicstyle=\footnotesize, ...
10
votes
1answer
188 views

Correct typesetting of a formula with a long fraction

I have a two-column document and as you can see a long mathematical formula, consisting of a fraction, can't fit in the column width. What I don't know is what is the right way to typeset such kind ...
10
votes
1answer
879 views

Which typesetting programming language is most used in publishing?

Is TeX really used in publishing industry?If I have to learn a typesetting programming language to find a job in publishing industry is TeX a good choice or I should learn something else? I'm also ...
10
votes
1answer
167 views

biblatex translation with wrong ligature

I'm playing around with biblatex at the moment. It works nice, but there is a problem with a translation of "Ed." (edition) to "Aufl." (Auflage). The translation is correct but it has a wrong ligature ...
10
votes
2answers
419 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
158 views

Is there a group/organization/network of people who create TeX/LaTeX-based versions of old or public domain texts?

Simply put, is there a Project Gutenberg for TeX and Friends?
10
votes
2answers
1k 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 ...
10
votes
2answers
638 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 ...
10
votes
1answer
513 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 ...
10
votes
2answers
748 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 ...
10
votes
1answer
1k 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 ...
10
votes
1answer
1k 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
15k 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 ...
10
votes
1answer
462 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
314 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
136 views

Drawing lines along text baselines

I'm not very familiar with the world of TeX and its flavors, and I'm having trouble evaluating whether it fits my needs before I dive into it. TeX and its ilk can draw horizontal line strokes, but can ...
10
votes
1answer
501 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 ...
10
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 ...
10
votes
1answer
249 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
4answers
1k views

Using \fontsize in XeLaTeX and LuaLaTeX

In the Wikibooks/TeX article on fonts, it is stated that The \tiny...\Huge commands are often enough for most contents. These are fixed sizes however. In most document processors, you can usually ...
9
votes
2answers
1k 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
3answers
967 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
452 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 ...