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

learn more… | top users | synonyms (1)

3
votes
1answer
43 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?
-4
votes
0answers
34 views

How to erase advisor? [on hold]

So, as you know , as you type some formulae in latex, there is a window with possible completions. Now imagine some complicating formula where next row depends on previous some and that window covers ...
22
votes
3answers
1k 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 ...
4
votes
1answer
108 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
23 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
17 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
64 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
65 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
96 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
46 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: ...
1
vote
1answer
67 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
30 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
275 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
27 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
145 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
223 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} ...
6
votes
1answer
89 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
98 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
131 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
46 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
516 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
181 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
127 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: ...
3
votes
0answers
89 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
304 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
79 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
70 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
28 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
142 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
81 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 ...
21
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 ...
4
votes
1answer
384 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
84 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
53 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
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 ...
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
59 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
106 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
46 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 ...
1
vote
2answers
77 views

PDF background color other than white: is it acceptable for formal documents?

In LaTeX, one can change the background color of the whole document easily through the pagecolor package. I was experimenting with it and I've found that setting the background color to be slightly ...
15
votes
3answers
731 views

align vs. equation: Which way is typograpically preferred?

The main differences between align and equation are the spaces and that align cannot be used with split, as far as I know. What would be, from a typographic point of view, the preferred practice? ...
1
vote
1answer
303 views

Double sided arrow notation for second-order tensors

How may I define \mytensor to look just like double sided arrow from \vec? I have tried \overset{\text{\tiny$\leftrightarrow$}}{#1} as described here but it isn't exactly what I want (at least with ...
3
votes
0answers
41 views

Force equal hinting when combining symbols

I am building a custom operator out of two triangles. But it seems that to the PDF viewers (evince in this case), they are still individual characters and hinted (i.e. pixel-aligned) differently, ...
3
votes
1answer
57 views

How to put a word below an arrow? [duplicate]

I would like to have an arrow with "1-1" above it and/or "onto" below it, with the arrow being normal size. I get what I want with "1-1" using \stackrel: \documentclass[12pt]{article} ...
10
votes
1answer
134 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 ...