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

learn more… | top users | synonyms (1)

2
votes
0answers
46 views

$a$, $b$ in $M$ [on hold]

Mathematicians often use $a, b\in M$ to announce that a and b are elements of the set M. Sometimes, one wants to replace the "\in"-symbol by the English word "in" – for example when one tries to ...
4
votes
0answers
66 views

Problem with impnattypo package

I'm using impnattypo package with nosingleletter option under TeXLive 2016. With no luck. I want to move last 'single letter' word to another line. Examples in one-letter word at the end of line ...
3
votes
2answers
58 views

Shorter slash (/) for small caps with Baskervaldx?

I have acronyms with slash in them, like ISO/IEC and I'd like to write them in small caps. The problem is that the slash is quite a bit taller than the letters. OT: Is this really a typographic ...
4
votes
1answer
159 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 ...
1
vote
0answers
37 views

Microtype settings for Adobe Caslon Pro (LuaLaTeX)

This is a follow-up question for this question Hello, I'm trying to use Adobe Caslon Pro font, which I have installed on my machine. This is an Open Type Font. In the aforementioned question (...
597
votes
76answers
137k 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 ...
0
votes
0answers
38 views

Showcasing the work of expert TEX users [duplicate]

Due diligence: I have reviewed questions the tag "portfolio" and in so doing did not find an answer to the following question. Have any expert TEX users submitted to this section samples of their ...
4
votes
1answer
1k views

Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
1
vote
1answer
26 views

Set negative leading for a block of text (with a specific font) using lualatex

I'm typesetting a block of text within the quote environment which should represent an handwritten letter. I'm using lualatex and I was given a specific font to work with for this special part of the ...
0
votes
0answers
29 views

Identifying typesetting from PDF files [duplicate]

On many occasions I read other people's documents and I wonder that kind of typesetting was used to compile said document. Is there any way to find out the typesetting from the metadata of the PDF ...
4
votes
1answer
63 views

foreign package but with non italicized \ie and \eg

I would like to continue using the foreign package, which italicizes (through emph) foreign words such as "i.e." and "e.g." . However, it is quite common to not italicize "i.e.", "e.g.", "et al", "...
1
vote
2answers
111 views

Minor typesetting issue. Special L character

I need to write this: How do one produce the special L character. I've search the web, be simply can't find anyone asking a similar question.
2
votes
1answer
50 views

Italic or not in equations? [duplicate]

I have written two equations for the report of my Master thesis: $NLL_{k} = - \sum_{j=1}^n \ln(pdf(PD_{k}^{i},skill_{i}^{j}))$ $person_{k}(interest) = \dfrac{1}{n} \sum_{p=1}^n \dfrac{person_{k}(...
0
votes
0answers
24 views

wrong output using \lim [duplicate]

I want to write an equation than contains a limit using the following MWE: \documentclass[a4paper,openright,12pt]{book} \usepackage[a4paper, total={165mm, 240mm}]{geometry} \usepackage{fancyhdr} \...
2
votes
2answers
44 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
115 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. ...
70
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 ...
93
votes
2answers
21k 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
444 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
57 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
756 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
34 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?
15
votes
2answers
484 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
28 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 ...
43
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 ...
120
votes
8answers
52k 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
66 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
53 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 ...
6
votes
1answer
16k 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
74 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
465 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
66 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
60 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
127 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
107 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
47 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
271 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?
98
votes
4answers
113k 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
150 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
21 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
85 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
85 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
88 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} \...