Newest Questions
272,446 questions
0
votes
1
answer
8
views
How do supress chapter title dispalying without affecting TOC
I have a book that consists of six chapters (five chapters plus an Answers section).
I am using titlesec to display chapter headings such as
“Chapter 1: NATURAL NUMBERS”, “Chapter 2: EQUATIONS”, and ...
0
votes
0
answers
12
views
Does ConTeXt compress space between paragraphs to better fit page?
If the title of this post is true, what is this called and how can a minimum distance be set?
I used \setupwhitespace[quarterline] globally and have a few definitions that add a bit more space before ...
1
vote
0
answers
18
views
How can I see all \input contents as a single LaTeX file? [duplicate]
I have a main LaTeX file that uses many \input{...} commands to include content from other files, like this:
\input{frontmatter/preface}
\input{parts/part01/part01}
\input{backmatter/note}
I want to ...
3
votes
0
answers
55
views
What is the correct way to doc-string a Lua function?
What is the correct way to doc-string a Lua function?
I just picked this up from reading the code of others:
--- the dot product
--- @param u table<table<number>> a vector
--- @param v ...
3
votes
0
answers
33
views
lua-typo not detecting underfull in minipage
It appears that lua-typo does not report underfull lines as a typo flaw,
when the flawed text is within a minipage. MWE, linux, TeXlive2025, up-to-date:
\documentclass{article} % Compile only with ...
5
votes
2
answers
77
views
How to get spaced dots in unicode-math
The unicode-math package re-defines ellipsis to be the ellipsis character in whatever font you're using, instead of spaced dots. This looks bad in my opinion, and violates the guidance on ellipses in ...
3
votes
0
answers
48
views
Pic or Shape for collection of ready to use objects?
For the graphics I use on my physics exercise sheets made with TikZ I often use the same objects (hooks, masses, carts, pulleys, force gauges,...). So instead of copy-pasting and modifying the code of ...
3
votes
1
answer
25
views
How to make margin notes appear correctly in two column format when using \newgeometry
I need to redefine the geometry with the \newgeometry command as I've placed in this example.
My problem is I'm missing a parameter in the \newgeometry{top=20mm, bottom=20mm, etc..} configuration such ...
2
votes
0
answers
53
views
coffins scope/groups
The current implementation of coffins seems to create two groups.
(1) That's something I can rely on?
In the example below, the double \aftergroup did the trick, but, of course, it will work as long ...
5
votes
1
answer
54
views
The table is not centering in the item
A MWS is as following.
\documentclass{article}
\renewcommand{\labelenumi}{(\theenumi)}
\usepackage{enumitem}
\setenumerate[1,2,3]{itemsep=0pt,partopsep=0.3\baselineskip plus 0.2ex minus 0.1ex,parsep=...
5
votes
1
answer
53
views
How to properly generate nested pgfkeys procedurally?
Task
Consider the following: One needs to store a over time varying amount of pgfkeys entries with a nested data structure. All the entries have the same structure, but the content may vary. So one ...
2
votes
0
answers
27
views
unicode-math: set up the math sans font and related families
Apart from the main math font, I would like to specifically set the math sans font and related families for various purposes. Here is an example (sorry for using a font not available in standard TeX ...
1
vote
0
answers
16
views
Cleveref and theorem-style environments in SIAM document class [duplicate]
This minimal example of SIAM document class shows that Cleveref has issues with theorem-style environments
\documentclass{siamart251216}
%% Used for creating new theorem and remark environments
\...
3
votes
1
answer
63
views
Can the section title be moved to the outer margin on all pages, or suppressed from the body but still linked to the headers?
I'm trying to re-typeset on 8.5 by 11 paper an old book that was printed on smaller paper, such that the author did not need to have section titles within the text body but used the right-hand header. ...
3
votes
0
answers
48
views
unicode-math: Trying to reduce the number of "\setmainfont" when configuring math font families
In setting math font with unicode-math, since I have relied on the range feature too often (to slightly change a few symbols, etc.), there are already many \setmathfont in my settings, and in trying ...