Tagged Questions

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

learn more… | top users | synonyms (1)

15
votes
2answers
1k views

Golden ratio typography in TeX

Chris Pearson makes a number of claims in his article Secret Symphony: The Ultimate Guide to Readable Web Typography, which I find fascinating, and I would like to know: are the formulas he proposes ...
12
votes
1answer
608 views

Is there a way to avoid short lines?

Is there a universal setting to tell TeX that the last line of a paragraph can not have just one word? For instance, instead of this: This is a sample paragraph and there is one word here. you ...
3
votes
2answers
606 views

Table layout: cells with short and long text

I've been fiddling with a table layout where some cells contain very little text while others may need multiple lines, and I can't seem to get it readable and nice-looking. MWE: ...
5
votes
1answer
6k views

Conjugation - How to typeset it?

Can you help me? I do not know what to type in order to show the conjugation. I mean that the matrix B has complex entries and C is the transpose matrix of B, then B* is C with a line above. How ...
6
votes
2answers
280 views

More than one width of a glyph in LaTeX or LuaLatex

I don't know where I can ask about it. I have font with 2 or 3 versions of letter 'a'. How I can put this information to LuaLaTeX, LaTeX etc.? When the paragraph are breaking/making LaTeX made ...
0
votes
0answers
70 views

Writing a Play in LaTeX [duplicate]

How would you properly format a play? All I can think of is having a two-column document, bit I have no idea how to format lines or scenes correctly. I can try to find a picture of what I am looking ...
2
votes
1answer
287 views

Prevent words such as 'the' from appearing at the end of the line

I write my document in Latex for Mac and I don't know how to prevent Latex from putting 'the' and similar short words at the end of the line. I already tried impnattypo and encxvlna packages, but none ...
2
votes
1answer
99 views

Command to write MIMO configurations

I want to write something like MIMO (multiple-input and multiple-output) configuration 2 x 2, 2 x 4, etc. and be consistent all over the document. For now I have defined a command to do that as I put ...
3
votes
0answers
31 views

Prevent new sections to start on the lower part of page [duplicate]

Is it possible to redefine the section-command so that it automatically starts on a new page if say less than a quarter of the current page remains? Below is a minimal working example. In this case ...
5
votes
1answer
288 views

Quoting shell commands

My question is, how would you typographically approach quoting of shell commands? My current solution does not satisfy me completely. Current look:
8
votes
2answers
682 views

Copyright disclaimer as a footnote at bottom of first page

I am writing a scientific paper and I am having difficulty adding a "copyright" footer on the first page. I am currently having a paper which looks like this (from howtotex.com): (Link to ...
6
votes
1answer
228 views

Typesetting of volume integral

This question has been bugging me for a long time: How do I properly typeset volume integrals? I would like to use the convention often used in Physics: d^3x=dV and \int dx f(x) instead of \int f(x) ...
12
votes
1answer
507 views

Robert Sedgewick - Algorithms Fourth Edition Style in LaTeX

Recently, I've read "Algorithms" (in Java) - Fourth Edition by Robert Sedgewick. Aside the useful and interesting contents of the book, I was also captivated by book's style. Later on, I read some ...
4
votes
1answer
229 views

Correct way to typeset a bold and dotted math symbol?

OK, I've seen related questions which indicate that you only bold the main symbol and not subscripts, and a few other almost related questions. But what about when you are using a bold math symbol ...
14
votes
0answers
773 views

Best practice for typesetting physical quantities using siunitx [closed]

Consider the following example. Code \documentclass{article} \usepackage{amsmath} \usepackage[ locale=DE, output-product=\cdot, product-units=single % I use this option a lot in the document, ...
2
votes
1answer
169 views

Proper way to typset minimum value of variable in formula?

To typeset a value with a subscript I use this: $U_{\text{res}}$ Which results in: Now I'd like to write "the minimum value of Ures", how would I correctly typeset that? The first thing I tried ...
5
votes
1answer
372 views

Strange ampersand shape in italics

I'm trying to use the & symbol in the bib file. The following is my code: booktitle = {Design, Automation {\&} Test in Europe Conference {\&} Exhibition}, The output is : Is this ...
6
votes
1answer
734 views

Acronym at sentence start: capital or not?

The recommended way of typesetting acronyms is using small caps, e.g.: This technique is called Remote Procedure Calling or {\scshape rpc}. However, if the acronym occurs at the beginning of the ...
5
votes
2answers
1k views

Professional slashbox alternative

Suppose I have the following table which lists conversion rules, where rows denote the input and columns denote the output type (so, for example, the conversion int8_t -> int16_t would use b, while ...
7
votes
2answers
865 views

How to make the math font slightly thicker?

I'd like to use TeX Gyre Schola as my text font and the default LaTeX font for the math mode. (Side question: is the default font Latin Modern in math mode or another font?) MWE: ...
10
votes
1answer
479 views

Are the TeX Gyre fonts designed to match each other?

I'm currently testing out some fonts and found out that some fonts are designed to match each other (good serif+sans-serif+typewriter combinations). Are the TeX Gyre fonts, which provide at leats one ...
5
votes
1answer
117 views

Typesetting <Esc> key [duplicate]

I am trying to typeset the ESC key. I tried \frame{Esc} and $\boxed{\mathrm{Esc}}$ and I get They don't look beautiful. How else can I typeset the Esc key?
15
votes
4answers
1k views

Good typesetting practice for long equations

I have the following (quite horrible) equation in my thesis: \begin{align*} \frac{\partial^2}{\partial t_1^2} f(t_0,t_1) = ( \delta+2t_0+2t_1)^{\alpha( w-t_0+t_1 )-1} \cdot \bigl( ...
10
votes
1answer
145 views

biblatex translation with wrong ligature

I'm playing around with biblatex at the moment. It works nice, but there is a problem with a translation of "Ed." (edition) to "Aufl." (Auflage). The translation is correct but it has a wrong ligature ...
10
votes
1answer
700 views

(Why) did the Gyre project fork the URW fonts rather than just extending them?

As I understand it: During the 1980s, the URW++ foundry created clones of the PostScript Core Font Set and gave those clones the following names: ╔════════════════════════╤══════════════════════╗ ║ ...
1
vote
0answers
74 views

Avoiding widows by increasing the page size [duplicate]

Two related questions: I think atm I feel that the best and easiest way to avoid widows and orphans is to let the affected pages differ a little in size. Almost no one would recognise it and -- even ...
8
votes
1answer
5k views

Double-bar notation for second-order tensors

I want to use the double-bar notation for second-order tensors, which is common in continuum mechanics (e.g. for the strain and stress tensors). I've searched the Comprehensive LATEX Symbol List but ...
7
votes
2answers
803 views

smarter hyphenation for narrow columns?

I know how to turn off hyphenation via \nohyphens{.....} (from hyphenat). But what I'd really like would be to hyphenate smartly. What I mean by this should hopefully be made clear by the following ...
65
votes
5answers
2k views

{(x+y)}^2 or (x+y)^2?

This expression is just an example, of course. My question is: should one always specify the quantity being exponentiated by surrounding it with braces, or is it acceptable to drop those braces? ...
16
votes
4answers
2k views

Bembo, Bembo Book or Garamond Premier Pro? And how to exploit all their features with LuaLaTex?

I am allowed to use one of these fonts (or the three of them if I want) to edit a document. Here is the list of the Bembo fonts I have : Bembo-Bold.otf Bembo-ExtraBoldOsF.otf ...
20
votes
1answer
241 views

Hyphenating words with archaic spellings

I often work with texts from the 17- to 1800s that (in addition to now obsolete words) contain familiar words in slightly different spelling. The language of these texts, and of the ones I'm writing, ...
8
votes
2answers
612 views

What typographic rules are there for indenting paragraphs?

I wonder what typographic rules there are for indenting. Does it require a certain amount of lines to be justified or should it be applied per default. In my opinion, the text colour is not very ...
12
votes
2answers
467 views

Producing centered asterisk to indicate new section

In a text (or a passage of a text) that is not subdivided by headings -- say, an essay --, a common tool to indicate the start of a new section is a simple asterisk (or other symbol), usually ...
2
votes
1answer
104 views

Where to place images and tables for a good layout?

I use KOMA Script which always places images in the top of the page. I don't think that this always looks nicely, but if I change the place of my images it doesn't seem much better. Unfortunately I ...
2
votes
1answer
271 views

Is there any Word/Writer - LaTeX demonstration document available?

I often hear how better the LaTeX is but the comparisons I have found, did not persuade me. Is there something like "showcase document" containing different kind of formatting, formulas etc. available ...
11
votes
2answers
420 views

Looking for guides on setting text with regards to good typography

I'm about to dive into LaTeX in preparation for writing a (technical) Master's Thesis. Since I'm kind of disappointed with the disregard to typography that is sometimes shown in such works I want to ...
0
votes
0answers
56 views

What is the right way to typeset “define”? [duplicate]

One often uses x:=t which reads "x is defined to be t". What is the right way to typeset this in LaTeX? Is it simply \(x := t\)? I tried to google it around but couldn't find anything (probably ...
3
votes
0answers
450 views

How to typeset statistical distributions [closed]

What is the consensus way to typeset statistical distributions? For the normal distribution I have seen all of: $X\sim N(\mu,\,\sigma^{2})$ $X\sim\mathrm{N}(\mu,\,\sigma^{2})$ ...
10
votes
1answer
258 views

How to (automatically) determine a visually appealing line spread?

I'm writing a "larger" document with a lot of mathematics. Occasionally, I use a notation like p \xrightarrow{\mathcal A^X} q which produces tall lines. LaTeX increases the line spread for those ...
11
votes
1answer
321 views

Consistent cover design regardless of inner pages

This is a series of books, the margins, page sizes are all identical. Depends on the content, the design of inner pages are slightly different, i.e. different type sizes, leading, etc. The question ...
12
votes
1answer
325 views

Typesetting Subscript: Which is correct?

Which one is correct? p_1 or p_1^{}
4
votes
2answers
237 views

Size of calligraphic number

I asked in this question Calligraphic numbers how to write a calligraphic number and got an answer. Now I need a notation for k-subsets and use the answer as follows: ...
12
votes
1answer
379 views

Highlighting chunks of text spiral

I use the code provided in this question to draw a text spiral and now I want to highlight each chunk separated with a comma in a different color. Is there a way to achieve that? ...
2
votes
1answer
104 views

Fine-tuning dimensions/whitespace parameters

I often find I need to adjust whitespace lengths in my own code. Just as an illustration, I'm in the middle of trying to insert an appropriate amount of space before the 'v's in this, to make them ...
4
votes
0answers
130 views

Style used for Knuth's “The Art of Computer Programming” [duplicate]

Possible Duplicate: Typesetting algorithms in LaTeX like Knuth Does anyone know if there is a style that mimics Knuth's The Art of Computer Programming? Baring that, would anyone know how ...
15
votes
2answers
356 views

Text spirals with mathematics in

http://tex.stackexchange.com/a/88762/17049 provides a beautiful solution for getting spirals like this: I've been trying to use this with some mixed text/math content (for a book cover), but I find ...
10
votes
1answer
460 views

How to separate Roman numerals for a range of numbers?

Arabic numerals are separated using en-dash: pages 101--123, 2--3 and so on What is typographically correct way to separate Roman numerals? For example: with en-dash in the XIX--XX centuries ...
16
votes
1answer
339 views

Creating new characters from existing ones

In a nutshell. Is there a relatively easy way of building characters out of parts of existing ones? Rationale. (La)TeX linguists’ need for a wide palette of characters—for example, ⟨ɳ⟩ (U+0273), ⟨ɲ⟩ ...
0
votes
1answer
365 views

How should a salary negotiation letter look like? [closed]

Does anyone know if there exists a template for salary negotiation? Or perhaps how one should look like?
3
votes
0answers
11k views

Where should I use \textsc? [closed]

When should I use macro \textsc ? What is common practice in document like diploma thesis? Should I use it for names of persons, names of described entities of particular interest or in some other ...