Questions tagged [typography]

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

Filter by
Sorted by
Tagged with
950 votes
94 answers
334k views

Showcase of beautiful typography done in TeX & friends

If you were asked to show examples of beautifully typeset documents in TeX & friends, what would you suggest? Preferably documents available online (I'm aware I could go to a bookstore and find ...
1 vote
1 answer
68 views

Deseret Alphabet in LaTeX?

Is there a way that I could get the Deseret Alphabet in LaTex?
0 votes
1 answer
61 views

Compiling the following tables?

Can someone compile the following three tables and attach the outputs as a photo? Table 1: \documentclass{article} \usepackage{geometry} \usepackage{tabularray} \UseTblrLibrary{booktabs} \begin{...
3 votes
1 answer
4k views

What is correct spacing after $\forall x: $ in math formulas?

I am writing math book and I am interested how I should print them correctly. I know that the main thing is sameness across the whole document, but I am really interested in ways which are recommended ...
0 votes
1 answer
56 views

Why are these figures taking multiple pages when they can be fitted in half the pages taken?

Consider the following: \documentclass[12pt, a4paper]{report} \usepackage{verbatim, mathtools,amssymb, amsthm, mathrsfs} \usepackage{graphicx} \usepackage{tikz} \usepackage{subcaption} \begin{...
0 votes
1 answer
33 views

How to flip this figure?

Consider: \documentclass[12pt, a4paper]{report} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs,amsmath} \usepackage{tikz} \begin{document} \begin{figure}...
0 votes
2 answers
89 views

Should I Use Sans Serif Fonts for Section Headers and Monospace Fonts for URLs

The font I use is Latin Modern. I want to know if I should use sans serif family for the section headers. Some people suggest to use sans serif for section headers but to me it looks a bit weird and ...
51 votes
6 answers
20k views

one-letter word at the end of line

This question led to a new feature in a package: impnattypo I come from Poland and I'm writing some text in my native language. One of our typography standards is that we do not leave one-letter ...
1 vote
1 answer
33 views

Formatting periods and capitals after dashed entries in the bibliography

Consider the following MWE. \documentclass{article} \usepackage{fontspec} \setmainfont{EB Garamond} \usepackage[style = authoryear-comp]{biblatex} \usepackage{xpatch} \xpatchbibmacro{date+...
286 votes
13 answers
214k views

What's the proper way to typeset a differential operator?

I can't seem to find any consensus on the right way to typeset a differential operator, whether it is: in a standalone context: as part of a derivative: as part of an integral: In all of these ...
2 votes
1 answer
80 views

How to align these sets of equations?

Consider the following: \documentclass[12pt, a4paper]{report} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs,amsmath} \begin{document} \begin{align*} h_1(t)&=b_{11}(...
0 votes
0 answers
57 views

Have you ever been paid for typesetting / developing tex code?

Hopefully not "off topic"... Kinda similar to the showcase. People with solid *TeX skills, have you ever been paid for typesetting - i.e. someone else's "copy" (content) - and/or ...
0 votes
1 answer
45 views

Help need finding the exact typeface

I'm trying to find the exact same font used in this document. I tried finding it using online font-search tools by providing PNGs. But could not find the precise typeface. I also suspect it could be ...
0 votes
1 answer
167 views

Showcase of modern, beautiful and appealing styles for short documents

I'm helping someone to typeset in LaTeX a short non-technical document (at most 20 pages). This document should be nice to read, aesthetic, with nice pictures... LaTeX is mostly used for technical ...
0 votes
0 answers
18 views

Aligning multiple equations that would run into the next page of a document?

Consider the MWE: \documentclass[12pt, a4paper]{report} \usepackage{amsmath,amssymb} \begin{document} \begin{align*} h_1(t)&=b_{11}(t)+\sum_{j\neq 1}\lvert b_{1 j}(t)\rvert\\[1ex] &=-(\beta_A ...
3 votes
4 answers
190 views

How to write a long fractional expression in an ideal way?

Consider the following MWE: \documentclass[12pt, a4paper]{report} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs,amsmath} \begin{document} \begin{align} S_2^* &= \...
1 vote
1 answer
107 views

Fixing hbox overflow by breaking \href?

Similar to the URL problem: Forcing linebreaks in \url and URL latex linebreak My links do cause an hbox overflow. However, I have an \href with a local link. Can I force line breaks at any char there,...
3 votes
4 answers
240 views

How to fix a long multiplicative expression?

Consider the following expression: \documentclass[12pt, a4paper]{report} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs,amsmath} \begin{document} \begin{align*} ...
0 votes
2 answers
45 views

How to properly typeset numbers with multiple fonts? [closed]

In my documents, I use different fonts: one for the text, another for the math. Is there a rule to know for writing numbers? There are some examples:
0 votes
1 answer
28 views

Manually typeset single and double quotations marks in dierect succession

Usually I use \usepackage{dirtytalk} to typeset quotation marks, however this usepackage does not seem to work within a \textcite[Section: "This needs quotation 'marks'"]{source1} ...
5 votes
1 answer
459 views

Typesetting functions: italics or non italics?

I've been typesetting all my functions in non-italics (even for $f(x)$), but am not sure if this is the correct convention. This website suggests that generic functions (e.g., $f(x), g(x)$ should be ...
204 votes
14 answers
149k views

Showcase of beautiful title page done in TeX

The book is mostly meets by the Title Page. Default TeX \maketitle are simple and minimalistic. I'm looking for examples of Title Pages: complex - have different formatting; beautiful and awesome; ...
2 votes
2 answers
203 views

Is there a way to automatically smash all inline maths (but only vertically)?

What it says on the tin. In case it isn't clear enough, what I would like is for $...$ to be typeset as \smash{$...$}, except \smash also affects horizontal spacing (see the question I linked to below)...
62 votes
10 answers
4k views

Comparing typographic traditions for different languages

Sometimes students using LaTeX ask me how to do the typesetting of documents in French or Spanish. I'm not able to help them because I never learned to speak or write French or Spanish. Different ...
0 votes
2 answers
46 views

Mixing two types of paragraphs

This is a general question about typesetting paragraphs. I was wondering if it is good (or acceptable) practice to mix two different kinds of paragraph skips in a document, e.g. a "real" ...
0 votes
1 answer
69 views

Elegant way of creating a document class that changes between styles back and forth

I would like to create a book class, say class.cls, such that It automatically acquires some style depending on the location of the code inside the main document. Something like one style for each: \...
2 votes
1 answer
127 views

Formatting tactic style proof steps

I'm currently writing a proofs where I need to apply simple mechanical processes in each step. I've currently got the following to work, but the latex is very "hacky" and brittle. The best ...
1 vote
1 answer
39 views

Style file with option to change pagesizes

I would like to have a latex style file nutsi.sty that includes the my-definition feature. I also want to set the pagesize (21cm x 21cm) and sets the entire document in bold typeface. Managed to make ...
3 votes
0 answers
221 views

Why do matrix brackets look strange when using package unicode-math?

Compare this: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{bmatrix} a & b \\ c & d \\ e & f \\ g & h \end{bmatrix} \...
25 votes
5 answers
2k views

Why put figures on top or bottom of page?

In technical writing, I generally use LaTeX, and I'm generally happy with LaTeX's usual figure placement at the top or bottom of a page. However, some of my colleagues who are used to Microsoft Word ...
0 votes
0 answers
27 views

Typographic question regarding the "transpose" symbol [duplicate]

This might seem like a petty question, but sometimes, I do care about good typography. In this expression: \mathsb{p}^\mathsf{T} A^\mathsf{T} A \mathsb{p} ($ \mathsb{p}^\mathsf{T} A^\mathsf{T} A \...
314 votes
7 answers
238k views

Dashes: - vs. – vs. —

This may or may not be a real TeX/LaTeX question but rather a general question on punctuation: How are the different dashes - "-", -- "–" and --- "—" supposed to be used?
2 votes
1 answer
58 views

What is correct? `(-1)^a` or `{(-1)}^a`? [duplicate]

Essentially the title says it all. The TeX linter ChkTeX recommends to group parentheses if sub-/superscripting. It makes the grouped content into an atom (my TeX knowledge is minimal), so it is ...
0 votes
1 answer
32 views

Make paragraph-formatting apply to all environments but not to short paragraphs

I am aware that this is a hyper specific question but I have been playing around with making all paragraphs perfect rectangles just like in this StackExchange question. And as in these older threads I ...
0 votes
0 answers
49 views

Should I increase the spacing between paragraphs?

By default, as far as I know, there is no spacing between paragraphs in Latex (I'm using Overleaf). The paragraphs look like this: It is possible to set a spacing between paragraphs using \setlength{\...
47 votes
3 answers
7k views

How to properly typeset all forms of punctuation used in English-language documents?

English documents tend to use these types of punctuation: periods apostrophes brackets of various kinds colons and semicolons commas dashes and hyphens ellipsis exclamation and question marks ...
28 votes
1 answer
3k views

microtype and french typography

In french, we put spaces before characters : ! ; ? when we type the text. For instance, we will type Que fait-on ? On met un espace avant les deux points : comme cela. If I do so and use microtype, ...
1 vote
2 answers
128 views

Proper Use of a Lettrine When the Paragraph Begins with a Roman Numeral

A typography consideration: In a current project, I am encountering the situation where I would like to make use of a lettrine, but the paragraph in which it is to be used begins with a Roman numeral. ...
1 vote
1 answer
78 views

Margins are not Constant Throughout the Pages

I want my margins to be the same in every page. The problem is best described by this image: For some reason my compiler decided to push every sentence on the second page to the right. Any ideas? The ...
0 votes
1 answer
155 views

How to use multiple fonts for different languages?

I'm using xelatex with xepersian package. What I'm trying to do is to use a specific font for Persian parts of the text (Persian/Arabic Unicode characters) and another one for English parts (English ...
0 votes
0 answers
52 views

Setting up an XeLaTeX article

I am new to XeLaTeX . I am trying to set up an article template. The template output should look as follows. In the header section, I need to place two logos flushed to each corner. The title should ...
7 votes
0 answers
147 views

Where can I put my LaTeX skills to good use?

I really hope such a non-technical question is allowed here... I have recently finished big parts of my studies and as such I have been relaxing for a while. After reading this thread I am now ...
0 votes
2 answers
56 views

African language typo

please need to write this special caracter in latex: (b, ɓ, c, d, ɗ, f, g, h, j, k, l, m, n, ny, ŋ, p, r, s, t, w, y, ƴ,’ mb, nd, ng, nj)'' thank for your help. Table 6: Letters Used to Typeset ...
7 votes
5 answers
2k views

What's the purpose of paragraph first-line indentation and where is it used?

I've asked a typesetter and she didn't even know about first line indentation on subsequent paragraphs. Neither did I ever encounter it in "real" life but have to struggle with it's removal ...
2 votes
1 answer
66 views

Ugly sfrac with newtx

I am using \sfrac with the newtx font package, and I get a very ugly result: WHat I am doing wrong? MWE: \documentclass{standalone} \usepackage[osf]{newtxtext} \usepackage{xfrac} \begin{document} \...
2 votes
2 answers
63 views

toggle between old (lowercase) and classic (uppercase) style numbers?

I use the kpfonts font package, and I would like to use oldstylenums as default, but in tables showing data or graphs, I would like to use the classic (uppercase) letters. Instead of using the command ...
0 votes
0 answers
26 views

How to avoid runts? [duplicate]

Sometimes, a paragraph will end in a short word that appears all by itself on the last line. I believe that such words are called runts in typography. Other times, a longer word is broken and only one ...
4 votes
1 answer
96 views

How to automatically make integral size fit the integrand?

The integral sign is too small in this MWE \documentclass[12pt]{article} \usepackage{amsmath} %\usepackage{wasysym} provides \varint but did not work \begin{document} \begin{align*} z_1(x) &= e^...
8 votes
1 answer
3k views

Redefine \textsc for slightly large small caps

In most fonts, the small caps are as tall as the x-height, but this looks weird when you want to tack an 's' onto the end of an abbreviation to make it plural (discussed in depth on typophile). I can ...
12 votes
2 answers
38k views

How and when to remove the space on the left hand of the beginning of a paragraph?

I have something like that: \section{subsection} ... \begin{figure} ... \end{figure} texttexttext ... It turns out that it does not put the "texttexttext" on the very left hand side... it leaves ...

1
2 3 4 5
22