Questions tagged [typography]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
32 views

How to properly typeset numbers with multiple fonts? [closed]

In my documents, I use different fonts: one for the text, another for the math. Is there a rule to know for writing numbers? There are some examples:
user avatar
1 vote
1 answer
51 views

Deseret Alphabet in LaTeX?

Is there a way that I could get the Deseret Alphabet in LaTex?
user avatar
0 votes
1 answer
27 views

Manually typeset single and double quotations marks in dierect succession

Usually I use \usepackage{dirtytalk} to typeset quotation marks, however this usepackage does not seem to work within a \textcite[Section: "This needs quotation 'marks'"]{source1} ...
user avatar
5 votes
1 answer
444 views

Typesetting functions: italics or non italics?

I've been typesetting all my functions in non-italics (even for $f(x)$), but am not sure if this is the correct convention. This website suggests that generic functions (e.g., $f(x), g(x)$ should be ...
user avatar
  • 215
2 votes
2 answers
198 views

Is there a way to automatically smash all inline maths (but only vertically)?

What it says on the tin. In case it isn't clear enough, what I would like is for $...$ to be typeset as \smash{$...$}, except \smash also affects horizontal spacing (see the question I linked to below)...
user avatar
  • 182
0 votes
2 answers
45 views

Mixing two types of paragraphs

This is a general question about typesetting paragraphs. I was wondering if it is good (or acceptable) practice to mix two different kinds of paragraph skips in a document, e.g. a "real" ...
user avatar
0 votes
1 answer
69 views

Elegant way of creating a document class that changes between styles back and forth

I would like to create a book class, say class.cls, such that It automatically acquires some style depending on the location of the code inside the main document. Something like one style for each: \...
user avatar
  • 269
1 vote
1 answer
39 views

Style file with option to change pagesizes

I would like to have a latex style file nutsi.sty that includes the my-definition feature. I also want to set the pagesize (21cm x 21cm) and sets the entire document in bold typeface. Managed to make ...
user avatar
  • 103
0 votes
0 answers
26 views

Typographic question regarding the "transpose" symbol [duplicate]

This might seem like a petty question, but sometimes, I do care about good typography. In this expression: \mathsb{p}^\mathsf{T} A^\mathsf{T} A \mathsb{p} ($ \mathsb{p}^\mathsf{T} A^\mathsf{T} A \...
user avatar
  • 223
2 votes
1 answer
58 views

What is correct? `(-1)^a` or `{(-1)}^a`? [duplicate]

Essentially the title says it all. The TeX linter ChkTeX recommends to group parentheses if sub-/superscripting. It makes the grouped content into an atom (my TeX knowledge is minimal), so it is ...
user avatar
0 votes
0 answers
44 views

Should I increase the spacing between paragraphs?

By default, as far as I know, there is no spacing between paragraphs in Latex (I'm using Overleaf). The paragraphs look like this: It is possible to set a spacing between paragraphs using \setlength{\...
user avatar
1 vote
2 answers
121 views

Proper Use of a Lettrine When the Paragraph Begins with a Roman Numeral

A typography consideration: In a current project, I am encountering the situation where I would like to make use of a lettrine, but the paragraph in which it is to be used begins with a Roman numeral. ...
user avatar
  • 4,799
0 votes
0 answers
48 views

Setting up an XeLaTeX article

I am new to XeLaTeX . I am trying to set up an article template. The template output should look as follows. In the header section, I need to place two logos flushed to each corner. The title should ...
user avatar
  • 163
0 votes
1 answer
30 views

Make paragraph-formatting apply to all environments but not to short paragraphs

I am aware that this is a hyper specific question but I have been playing around with making all paragraphs perfect rectangles just like in this StackExchange question. And as in these older threads I ...
user avatar
  • 13
7 votes
0 answers
143 views

Where can I put my LaTeX skills to good use?

I really hope such a non-technical question is allowed here... I have recently finished big parts of my studies and as such I have been relaxing for a while. After reading this thread I am now ...
user avatar
0 votes
2 answers
52 views

African language typo

please need to write this special caracter in latex: (b, ɓ, c, d, ɗ, f, g, h, j, k, l, m, n, ny, ŋ, p, r, s, t, w, y, ƴ,’ mb, nd, ng, nj)'' thank for your help. Table 6: Letters Used to Typeset ...
user avatar
2 votes
1 answer
63 views

Ugly sfrac with newtx

I am using \sfrac with the newtx font package, and I get a very ugly result: WHat I am doing wrong? MWE: \documentclass{standalone} \usepackage[osf]{newtxtext} \usepackage{xfrac} \begin{document} \...
user avatar
  • 5,463
2 votes
2 answers
59 views

toggle between old (lowercase) and classic (uppercase) style numbers?

I use the kpfonts font package, and I would like to use oldstylenums as default, but in tables showing data or graphs, I would like to use the classic (uppercase) letters. Instead of using the command ...
user avatar
7 votes
5 answers
2k views

What's the purpose of paragraph first-line indentation and where is it used?

I've asked a typesetter and she didn't even know about first line indentation on subsequent paragraphs. Neither did I ever encounter it in "real" life but have to struggle with it's removal ...
user avatar
  • 293
0 votes
0 answers
26 views

How to avoid runts? [duplicate]

Sometimes, a paragraph will end in a short word that appears all by itself on the last line. I believe that such words are called runts in typography. Other times, a longer word is broken and only one ...
user avatar
  • 271
4 votes
1 answer
92 views

How to automatically make integral size fit the integrand?

The integral sign is too small in this MWE \documentclass[12pt]{article} \usepackage{amsmath} %\usepackage{wasysym} provides \varint but did not work \begin{document} \begin{align*} z_1(x) &= e^...
user avatar
  • 18k
2 votes
0 answers
54 views

To Color or Not to Color the Small-Capped Letters Following a Two-Color Lettrine---A Typography Question

This question is directed to LateX typographers and is a bit of a follow-up to the one asked in Centering an Initfamily Letter within a Colorbox and Sizing It for Use as a Two-Color Lettrine. As ...
user avatar
  • 4,799
2 votes
3 answers
83 views

Why does hyperref produce ugly boxes by default? [closed]

The goto solution for clickable links in documents (URLs, TOCs, cross references etc.) is \usepackage{hyperref} and it does just that, automatically in the case of stuff like \label{myfigure} and see ...
user avatar
  • 243
1 vote
1 answer
68 views

Margins are not Constant Throughout the Pages

I want my margins to be the same in every page. The problem is best described by this image: For some reason my compiler decided to push every sentence on the second page to the right. Any ideas? The ...
user avatar
0 votes
0 answers
30 views

Csquotes Seems Not to be Able to Handle Three Nested Quotations

This csquotes question sort of relates to the one posed in How to Properly Typeset a Set of Nonclosed Quotations I have not been able to get csquotes to properly handle a third level of nested ...
user avatar
0 votes
1 answer
87 views

How to Properly Typeset a Set of Nonclosed Quotations

I would like to properly typeset (with csquotes, if possible) the nonclosed red quotations produced by the following code: \documentclass{book} \usepackage{csquotes} \usepackage{xcolor} \begin{...
user avatar
25 votes
5 answers
2k views

Why put figures on top or bottom of page?

In technical writing, I generally use LaTeX, and I'm generally happy with LaTeX's usual figure placement at the top or bottom of a page. However, some of my colleagues who are used to Microsoft Word ...
user avatar
  • 415
0 votes
1 answer
71 views

Fontspec Breaks the Whole Document

Lately I've been playing with the font catalogue and many of the fonts I'm interested in using use the fontspec package. Unfortunately, the compiler produces a ton of errors when I try to use any of ...
user avatar
2 votes
1 answer
57 views

How to Deactivate Fonts From the Font Catalogue

For example, if I want to use https://tug.org/FontCatalogue/royalinitialen/ on the first letter of a story I'm writing, but every other letter afterward to be the default font. How can I go about this?...
user avatar
10 votes
2 answers
271 views

When a Period Immediately Follows the Lettrine --- A Typography Question

Because of the usual manner in which the French word Monsieur is abbreviated, I have often encountered a chapter beginning something like this: M. Nom In typesetting such (making use of a lettrine), I ...
user avatar
  • 4,799
5 votes
1 answer
339 views

Best practices for typesetting pseudocode

I need to typeset the pseudocode of several pieces of code in latex. I found in this answer a good overview of the three main packages available to render pseudocode. In the following I will adopt the ...
user avatar
  • 235
0 votes
1 answer
39 views

Page: isn't inner margin + binding offset equal to outer margins?

As far as I can see, people always recommend to set inner margins smaller than outer margins, so that when a document is opened, the space between the two blocks of text basically looks like the left ...
user avatar
  • 5,043
1 vote
2 answers
86 views

How to make sure that -- print {\bf --}?

In French typography, a medium dash, with spaces before and after, is used in places where the English uses an em-dash. But the medium dash of TeX is much thinner than the dashes used in French print ...
user avatar
4 votes
1 answer
261 views

Should I put "\" or "{}" at the end of commands?

I have a discussion with a collegue if one should write \LaTeX\ format or \LaTeX{} format. After comparing the output, I find that the spacing in the second version is slightly wider than in the first....
user avatar
  • 1,063
0 votes
0 answers
125 views

Showcase of modern, beautiful and appealing styles for short documents

I'm helping someone to typeset in LaTeX a short non-technical document (at most 20 pages). This document should be nice to read, aesthetic, with nice pictures... LaTeX is mostly used for technical ...
user avatar
  • 5,043
0 votes
0 answers
39 views

Is there an \allowenlargepage{...}?

I have sections that flow over into the following page by about 1 or 2 \baselineskips. This is easy to solve with an \enlargethispage{} and prevents the 2-line widows. Lateron, I may make a few more ...
user avatar
  • 3,261
16 votes
3 answers
478 views

Chat bubbles with picture and name attached

I'd like to modify the code from (the improved version of the top voted answer of) this post to make the sequence of speech bubbles look more like a chat window. Specifically, I'd like to include a ...
user avatar
  • 315
2 votes
1 answer
94 views

My setup is happy with UTF-8 or escaped LaTex typographic characters, should I use one or the other?

I’m using Pandoc for an initial conversion of Markdown files into LaTex. I have two questions: I use UTF-8 in all my documents without any issues, and can output PDFs from LaTeX with either/both UTF-...
user avatar
3 votes
2 answers
123 views

A Visual Comparison of Emphasized Text and Italicized Text---What is the Difference? [duplicate]

Please consider the output of the following code in book class: \documentclass{book} \begin{document} \thispagestyle{empty} \Huge \noindent \emph{Emphasized Text} \\[10pt] \textit{Italicized Text} \\[...
user avatar
  • 4,799
2 votes
1 answer
71 views

Semicolons/ commas in align - typographic standards?

This might be more of a typography question. Say have two equations, and I put them in an aligned environment. \documentclass{article} \usepackage{amsmath} \begin{document} The following equations ...
user avatar
1 vote
1 answer
42 views

vdots without padding above, perfectly vertically centered

I like to use \vdots to obtain pictures like that (without the fbox of course): The problem is that the \vdots are not vertically centered (the height is huge), and the dots are therefore not placed ...
user avatar
  • 5,043
0 votes
1 answer
128 views

How to use multiple fonts for different languages?

I'm using xelatex with xepersian package. What I'm trying to do is to use a specific font for Persian parts of the text (Persian/Arabic Unicode characters) and another one for English parts (English ...
user avatar
  • 101
3 votes
2 answers
105 views

Prevent LaTeX from turning << into «

Seem that, by default, my LaTeX installation turns << into « and, similarly, >> into ». How can I prevent this so that two less-than/greater-than signs are kept? For the record, I'm using ...
user avatar
0 votes
0 answers
76 views

Familiar with TeXCeL?

Our journal publisher has advised us it is evaluating TexCeL for typesetting, following many problems with math, and typography in general, in our proofs. I can find no technical details about it ...
user avatar
  • 1
4 votes
2 answers
95 views

How to keep identical vertical spacing in a custom list environment regardless of descenders / ascenders?

I am currently defining a custom list environment for a CV. The environment works as desired, but it has one caveat. Namely, letters with ascenders and descenders affect the row width, thus making the ...
user avatar
  • 2,037
4 votes
2 answers
127 views

Super Script and Hyphenation Problems

I am using LuaLaTeX compiler with KOMA-scrbook class. I need to define a command with superscript text, but I do not know why LaTeX disable the hyphenation of words with superscript text. \...
user avatar
0 votes
0 answers
24 views

How to display multiline formulas when using flush left (fleqn) equations

Are there any typographical rules about how to display multiline formulas when using flush left (fleqn) equations? I used to think that something like the align* environment of amsmath might be a ...
user avatar
  • 1,638
0 votes
0 answers
45 views

Before LaTeX editors were invented, how did plain TeX authors output their code? [duplicate]

"Output" doesn't just mean PDF files. It could also mean PostScript or plain paper (made from trees). This might seem like a goofy question, but I couldn't find the answer with a search ...
user avatar
1 vote
1 answer
123 views

How to Prevent This Undesirable Aesthetic from Occurring When Using the Hyphenat Package

Sometimes, when using the hyphenat package to prevent hypenation in sentences, the following undesirable aesthetic occurs, as illustrated in the first paragraph of the output of this MWE: \...
user avatar
  • 4,799
1 vote
2 answers
62 views

Typographical suggestions for enumerate labels in different environments

In my document, I modified the enumerate labels as follows: \renewcommand{\labelenumi}{(\roman{enumi})} The issue is -- I am using the amsthm package and have created a theorem environment using the ...
user avatar

1
2 3 4 5
21