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

learn more… | top users | synonyms (1)

13
votes
2answers
407 views
+50

Fine tuning diacritical marks in fonts

I am about to make the paradigm-shift from the traditional way of hard-coding fonts with diacritical marks on top of them to simply using utf8. What surprised me, however, that the rendering of the ...
3
votes
1answer
37 views

How to use apostrophe ' with babel french loaded?

The french apostrophe is the following ’, when babel french is loaded it automatically turns typed apostrophes ' into ’. How to preserve the apostrophe ' in some cases (quote for example) but not in ...
1
vote
0answers
62 views

How to change typographic style when unicode characters are used instead of macros

When writing a manuscript or converting from other systems, I can come with Unicode characters for some punctuation marks: u'2026' for … (ellipsis) u'2014' for — (em-dash) u'00AB' for \guillemotleft ...
2
votes
2answers
62 views

Format single quotes correctly automatically

LaTeX has a tendency to format all quotation marks in the same direction. For double quotes, I've fixed this problem by adding: \usepackage[autostyle, english = american]{csquotes} \MakeOuterQuote{"} ...
12
votes
4answers
458 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 ...
0
votes
1answer
57 views

How can I format headings and subheadings to this layout?

How can I format a book like the sample in the image? The chapter number uses the font Algerian, but I am not sure about the headings and subheadings. Are there similar latex fonts that I can ...
2
votes
1answer
47 views

Correct typesetting for vectors with subscript

Instead of the arrow notation \vec{a} vectors in scientific journals are often represent in bold font \bold{a}. My question is if I have a vector with a subscript is it conventional to use ...
3
votes
1answer
46 views

Write an 'r' and a 'd' of a specific type

In the equations, I'd like to use an 'r' and a 'd' as follows: Any idea how to do that?
39
votes
3answers
3k views

Silly typesetting question

Oh man, I don't even know where to put this... or how to begin. As a joke, I'm trying to get the ascii art of the guy flipping a table in a question on an exam. I've tried verbatim but it won't ...
5
votes
1answer
268 views

Why do the subscript numbers look misaligned?

I have the feeling that $\mathbb{Z}_{31}$, once compiled, look strange. It seems that the digit 1 is just slightly above the digit 3, or the other way around: the curly lower part of the digit 3 is ...
0
votes
0answers
27 views

How to type set with the same font in code listing?

In text I have use \emph{chkFlag}, and it looks like this I hope to typeset chkFlag with the same font in code listing as follows: What is the correct command should I use?
0
votes
0answers
30 views

Set notation: \colon vs : [duplicate]

Does the definitive way to write the colon, when writing sets in the form \{x\in A : P(x) \} exist and if there is one, which is it? (Two approaches exist. Either writing it as I just did (this is ...
2
votes
1answer
19 views

Numbered reference writing style: Breakable space or not?

Should a list of numbered reference be displayed with non-breakable spaces ? If I have only one, the obvious rule is to use "~", e.g. Lemma~\ref{fundamental}. But if I want to say "By Lemma 1, 2 and ...
3
votes
0answers
74 views

Using Microsoft word fonts in latex

I have a document written in Microsoft Word with Greek, Coptic and Hebrew in addition to Arabic and Hieroglyph languages. For Greek I used the font Greek, for Coptic I used the fonts CS Avva Shenouda ...
2
votes
1answer
75 views

Bold text with cvlanguage and cvcomputer in moderncv

When I typeset \documentclass[11pt,a4paper]{moderncv} \firstname{firstname} \familyname{familyname} \title{title} \address{address1}{address2} \mobile{mobile} \email{email} \begin{document} ...
2
votes
1answer
101 views

What caused different output with wrapfigure?

I'm currently writing a Beginner's Guide to LaTeX and I tried this code: \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{wrapfig} ...
2
votes
1answer
51 views

Typesetting Sets

I adapted a solution from Typesetting coordinates to typeset sets, but it seems to have difficulty with nested usage. $\coord[\big]{0,1, \coord{A,B,C}, \coord{3,2,1}}$ yields: Code: ...
2
votes
1answer
72 views

tufte-latex: MinionPro linespacing

I would like to use MinionPro with the tufte-latex document class. However I do not know much about typography. I seems that MinionPro is smaller than the default Palatino for which tufte-latex was ...
0
votes
1answer
250 views

Why does LaTeX insert space before formulas?

What is the typographic reasoning here? Does it make the text look less crowded?
2
votes
0answers
38 views

How to create very thin, very tall whitespace?

I have several macros which produce bracketed expressions, with bracket size automatically adjusted using \right( and \left). This almost always works well. However, there are times when I feel that ...
2
votes
0answers
32 views

Random imperfections simulating traditional print [duplicate]

Is there an easy way to accomplish something like this: I am aware this is scanned, what I want is the random ink distribution and character placement.
9
votes
2answers
280 views

paragraph writing

How can I achieve typesetting as can be seen in the following picture? I especially would like to know how the paragraphs can be written in Latex. Chapter 2 (etc.) seems to be written with bigger font ...
2
votes
1answer
31 views

Intervals denoted with bars

Is it possible to reproduce overline with vertical bars at the ends for closed intervals in Latex? See the picture below.
6
votes
2answers
153 views

Text spirals with TikZ using greek text

I'm using the code provided by Mark Wibrow (Text spirals with TikZ) to generate a spiral text that I could include as a front cover to a report. The below code works perfectly fine when using latin ...
3
votes
2answers
235 views

Universal method to combine diacritical mark ˇ with [sz]?

I cannot combine the hat-pointing-down ˇ with [a-zA-z] but mostly [sz]. Pseudocode \[hat-pointing-down][sz] Most probable packages \documentclass{aritcle} \usepackage{fontspec} \begin{document} ...
7
votes
1answer
102 views

tufte-latex: \newthought after \section

Using \newthought after a new section title inserts an unusual vertical space as in the following example. \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \begin{document} ...
6
votes
1answer
103 views

Balance ragged and hyphenation

From Beautiful Evidence: Each paragraph is left-justified but neither excessively hyphenated nor ragged on the right side. The tufte-book class seems to be too ragged. How can I configure the ...
5
votes
1answer
143 views

How do I make my document look like it was handwritten?

I have an exam coming up next Monday. We are allowed to bring a sheet of paper with information of our choosing written on it. To my disappointment, it is required to be handwritten. Over the years, I ...
1
vote
0answers
54 views

Referencing tufte-book sections

I am using the tufte-book class without section numbers which looks very nice. Is there a visually appealing way to reference chapters and sections? Here is what I am doing at the moment, but I would ...
15
votes
1answer
522 views

productivity tools

I am using latex to write a mathematically dense document which has several hundred differential forms and products. There must be better ways than just typing out the whole equations line by line. ...
3
votes
3answers
213 views

Why does KOMA-Script mix serifs and sans-serifs?

This might be slightly off-topic, but still I'll give it a try, and other TeX-users might be interested as well. Consider this minimal example: \documentclass{scrartcl} \begin{document} ...
6
votes
2answers
133 views

Pluralized numero symbol

So, there's a few questions about the Numero symbol: №. However, I'd like to be able to pluralize it. I'm not a master of the text-positioning-adjustment tools; but here's what I've got so far: ...
5
votes
1answer
118 views

Readability of text-heavy latex file

My question is not concerned with the output, but the readability of the input. I am looking for advice for making text-heavy latex code more readable. I know there are already topics on making code ...
3
votes
2answers
313 views

Is using \\[.5 \baselineskip] bad practice?

I've developed the habit of using \\[.5\baselineskip] to indicate that a part of a bigger argument ended in that line. I found this quite helpful to structure bigger arguments. By now, I start ...
3
votes
1answer
64 views

Which informations belong on every page [closed]

I finished my first thesis last summer and I was wondering: "What can I do better next time?". Since I'm a fan of simple styles, I thought about maybe removing content from the header (I placed the ...
4
votes
0answers
84 views

Dealing with slightly overfull \hbox's

Generally, how do you deal with lines that are slightly overhung, when microtypography is already enabled, and there's no way of hyphenating the hanging word and no desire to put it on the next line, ...
4
votes
0answers
77 views

Distinguish between upper index and power [closed]

I am currently writing the scriptum of our theoretical physics lecture. I always have trouble with the notation. Our professor uses lower indices like m_i for the i-th mass, upper indices like ...
1
vote
1answer
29 views

Adjust vertical alignment of square brackets of biblatex numeric style

I have the same problem with the vertical alignment of square brackets as described in this question. However, the only square brackets I have are the ones used for citations by the biblatex numeric ...
7
votes
2answers
149 views

Typesetting abbreviations with a slash?

In letters written in the early 20th century, for the German word “bei”, the author commonly uses the abbreviation “ᵇ/”. Currently I typeset as follows: 26.4.17 \textsuperscript{b}/La Selve The ...
5
votes
1answer
82 views

ConTeXt scaled headline with hanging/protrusion

I'm using \scale to scale up a headline to the width of the entire paragraph, like so: \def\scaleHead#1% {\scale[width=\textwidth]{#1}} \setuphead[subject] [textcommand=\scaleHead] \subject{Call me ...
22
votes
5answers
1k views

Showcase of beautiful invitations in TeX

I'm interested in using TeX and friends to produce beautifully typeset invitations (for parties, weddings, and especially thesis defences). I understand that there is a package gcard for making ...
5
votes
1answer
408 views

Inspired beautiful box from Indesign

I found these beautiful box in Math ebooks which is created by Adobe Indesign, I tired mdframed, tcolorbox but I didn't try Tikz. So could someone create them using LaTeX please? ...
0
votes
0answers
22 views

How to typset $:\iff$ (logical equivalence)? [duplicate]

How shall I typeset ":<=>" in Latex which means "is logical equivalent"? After typing A :\iff B I get Comparing it with A \coloneqq B (cf. How to typeset $:=$ correctly? ): We see that there ...
4
votes
1answer
86 views

Last word penalty

Is there a way to specify penalty only to the last word of a paragraph? \righthyphenmin=3 sets, for instance, 3 letters as a minimum at the beginning of a line. On the other hand, ...
3
votes
1answer
55 views

Compatibility of embrac and biblatex

I'd like to use the embrac package to enforce upright parentheses and brackets in emphasized text. While the embrac manual claims the package is compatible with biblatex, all the brackets and ...
10
votes
1answer
189 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 ...
3
votes
0answers
38 views

When should spaces after full stop be escaped? [duplicate]

Athough discussion on that question is still going on (even if third ways exists), it seems that larger spaces after the end of a sentence is preferable in English. By default, LaTeX puts wider spaces ...
2
votes
1answer
63 views

How do I put subscripts on referenced items with enumitem?

I have an enumerated list with the labels in parentheses. I want to reuse a label using \ref but with a prime symbol or a subscript. How do I do this? \documentclass{article} \usepackage{enumitem} ...
2
votes
0answers
114 views

Webpages that show off beauty of LaTeX output relative to `competitors?'

There is a question (Showcase of beautiful typography done in TeX & friends) with many great answers showing off the great things one can accomplish with LaTeX. There are books (like Tufte's) ...
4
votes
1answer
47 views

Need two environments in table

I want to set up a table with the column headings centered, but the data right justified, without using \multicolumn for every single cell in the heading, rather I want to use a locally global ...