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

learn more… | top users | synonyms (1)

2
votes
2answers
36 views

Which quote for truncated year number?

Which is the correct single quote to use to show a truncated year number? In the example below is it (first), (second) or (third)? \documentclass{article} \usepackage{textcomp} \begin{document} ...
3
votes
1answer
146 views

Kashida-like Hebrew typesetting

I was wondering, what if there actually was a way to produce kashida-like typography in Hebrew in LaTeX. Not necessary as paragraph text, even as an image (nobody prints books like that to the best ...
3
votes
1answer
103 views

No natural log parentheses when typesetting

How can I insert parentheses around the content of the natural log? I want my document to show ln(x+1) but the code \ln{x+1} or \ln(x+1) or \ln \left( x+1 \right) will not produce this. ...
69
votes
5answers
5k views

What is best way to mention that a document has been typeset with TeX?

Is there any common way to mention that a document has been typeset by TeX? So non-TeXnicians (TeXperts) may become a little familiar with the TeX world. Update: It would be nice if one hero make a ...
68
votes
2answers
3k views

Was the Knuth-Plass line breaking output ever subjected to a blind experiment?

Have any blind trials been organized to test to which extent "the average reader" prefers paragraphs typeset by the Knuth-Plass algorithm (or more advanced variants) over those typeset using the ...
91
votes
2answers
20k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
6
votes
4answers
435 views

Is there a better way of setting this tree?

I created a tree with the help of cases environments. The MWE is this: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{amsmath} \...
2
votes
2answers
55 views

How to display compound fractions with subscripts correctly?

Which is the correct way to represent a compound fraction in an equation environment? With correct I mean, a way so that the representation would give the same font dimension for all the numerators ...
15
votes
4answers
738 views

Typeset old Spanish abbreviation: center ending over period

For a modern edition of music from the seventeenth century Spanish empire, I need to typeset certain antiquated abbreviations in the manuscript sources. In this convention, the middle part of the word ...
1
vote
0answers
32 views

Should I use \big | or \vert?

I want to type f(x) is a factor of g(x). I tried f(x) \big| g(x) and f(x) \vert | g(x) Should I use \big | or \vert?
14
votes
2answers
473 views

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 ...
2
votes
0answers
27 views

Is there an automated way to generate a typeface specimen using (Xe)TeX?

I am looking for some automated way (perhaps using some package) to generate a typeface specimen (examples here) using LaTeX. I can use either pdflatex or XeLaTeX, whatever you can provide. Thanks in ...
41
votes
3answers
3k views

How to produce the table flip emoticon (╯°□°)╯︵ ┻━┻?

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 ...
76
votes
12answers
20k views

What best combination of fonts for Serif, Sans, and Mono do you recommend?

Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing ...
119
votes
8answers
51k 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; ...
1
vote
0answers
65 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 ...
3
votes
1answer
47 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 ...
585
votes
74answers
134k 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 ...
6
votes
1answer
15k views

how to typeset empty inner product

I want to typeset the following in TeX (without the arguments). < , > I know that I can accomplish this by doing \langle , \rangle As an example I want to write something like the follwing: ...
2
votes
2answers
68 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{"} ...
28
votes
3answers
3k views

Typesetting email address

I have found this answer by Will Robertson on how to typeset an email address: \documentclass{article} \usepackage{color,hyperref} \catcode`\_=11\relax \newcommand\email[1]{\_email #1\q_nil} \def\...
14
votes
3answers
2k views

LaTeX for music

I need help how to construct in Latex the following: This is one of the standard chord explanations in the music theory or practice. It is used to explain the harmonic processes in a piece of music....
12
votes
4answers
463 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
60 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
51 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 \bold{a}_{...
5
votes
1answer
123 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 ...
5
votes
0answers
106 views

How to cite a chapter in a book (update)? [closed]

This is a follow-up question to How to cite chapter in book? I like the accepted solution there which basically states that one should use: •Boolos, G., 1971/1998. 'The iterative conception of ...
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?
5
votes
1answer
269 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 ...
137
votes
12answers
18k views

Contest: Show Off Your Skillz in TeX & Friends [TeX.sx birthday]

Submission Deadline and Voting are over, thank you for participating! Results Academic Gonzalo Medina – 31 Andy – 19 cmhughes – 11 mbork – 6 Other Yiannis Lazarides – 38 szantaii – 20 Ant – ...
0
votes
0answers
28 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?
96
votes
4answers
111k views

Nice looking empty set?

I feel like the standard $\emptyset$ is ugly. By hand, my empty set symbol is a lot rounder, then this "slashed-zero"-type symbol. Two questions: Do people really use it (I mean people who have any ...
10
votes
1answer
145 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 ...
0
votes
0answers
33 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
20 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 ...
2
votes
1answer
79 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 ...
3
votes
0answers
78 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
81 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
2answers
1k views

Bold (or smallcaps) typesetting in bibliography

I'd like to generate a bibliography where authors (or maybe the title of the cited document) are printed in bold/small caps. However, I've just been able to find the following entry related with this ...
53
votes
8answers
3k 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 ...
2
votes
1answer
103 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
52 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: \...
0
votes
1answer
254 views

Why does LaTeX insert space before formulas?

What is the typographic reasoning here? Does it make the text look less crowded?
55
votes
4answers
3k views

How do I display pi in LaTeX like Don?

Way back in 1979, Donald Knuth, tried to give the feeling that π is irrational using the idea of infinite sequence of smaller and smaller font sizes like what I have tried to do here using HTML and ...
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
33 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
289 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 ...
11
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 ...
2
votes
1answer
33 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.
3
votes
3answers
256 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} \section{...