{typography} is the art and technique of arranging type, type design, and modifying type glyphs.

learn more… | top users | synonyms (1)

2
votes
1answer
109 views

How to typeset hh:mm:ss time format in math mode?

What's the correct way to typeset a daytime in the format hh:mm:ss in math mode? For example in $2:13,12\,\mathrm{min} = \SI{133,12}{s}$.
7
votes
2answers
394 views

What exactly are the semantics of noun case?

I'm a LaTeX and LyX beginner. One thing that's making me scratch my head is LyX's Toggle noun button. According to the manual, I should use noun case for people's names, and the default rendering ...
6
votes
1answer
693 views

Recommend way to get angular velocity in degree with siunitx

The siunitx package has a special macro for setting angles in degrees called like \ang{42}, which renders as , i.e. sets no space between the number and the unit as recommended and in contrast to the ...
11
votes
1answer
193 views

How to use fontspec with opentype fonts when ligatures are a separate font

I am just learning LATEX. Have been wanting to for years, doing quite well (at 60) and many years of programming are making it a joy! I am using fontspec to load some fonts directly from a ...
3
votes
0answers
61 views

Command to generate captchas [duplicate]

I am looking to use a command that would generate the distorted word "CAPTCHA" as seen in the title of this document Understanding CAPTCHA-Solving Services in an Economic Context I have no clue how to ...
6
votes
1answer
345 views

Chemistry package for typesetting nuclide

Is there a chemistry package with a specific command for typesetting nuclide? If not, what is the preferred method for typing this? Here is what I have myself: \documentclass{article} ...
12
votes
1answer
389 views

How do I enter ὅπερ ἔδει δεῖξαι in TeX?

How do I typeset this statement if I'm using \usepackage[default]{frcursive} and \usepackage[T1]{fontenc} in my TEX file?
11
votes
1answer
356 views

Using both a double-story and single-story g in math mode

I am writing some mathematics in which I want to use both typographic variants of the lowercase 'g' in math mode. See the Wikipedia page to see the two variants. There is a single-story and a ...
4
votes
1answer
447 views

How to optimize Latin Modern font with XeLaTeX

I need to create a XeLaTeX document with many fonts. I will use many fonts because my documents talk about fonts. But I want to use Latin Modern as main font. So I downloaded and installed ALL the ...
2
votes
2answers
102 views

how to arrange the place before a pair of parentheses indicating a note in math mode?

I need write some formula. I don't know how to choose the |space| as below: $a_1=S_1$, $a_n=S_{n} - S_{n-1}$ |space| ($n > 1$) (Maybe $a_1=S_1$, $a_n=S_{n} - S_{n-1} |space| (n > 1)$ is ...
24
votes
1answer
429 views

Evaluate typographical beauty of a document (widow, orphans, hyphens, etc) in order to optimize the page geometry

When finalizing documents, one of the last things I do is usually to play with the page geometry to improve the overall layout: get rid of a few orphans or widows, reduce the number of hyphenations, ...
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
530 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
477 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: ...
4
votes
1answer
4k 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
270 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
68 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
237 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
92 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
253 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
546 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
209 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
464 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
198 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
698 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
154 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
294 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
630 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
956 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
678 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
425 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 ...
4
votes
1answer
110 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
900 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
137 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
583 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
73 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
3k 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
547 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 ...
61
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? ...
15
votes
4answers
1k 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
226 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
489 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
388 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
101 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
253 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
399 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
388 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
246 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 ...