Newest Questions
272,448 questions
0
votes
0
answers
14
views
Customize multiple choice question
I am using ex_test package and I want to customize the true/false and short answer question as follows
4 statements should be in a table, and there are check boxes for student like in Picture 1.
For ...
1
vote
1
answer
14
views
How to control vertical alignment of the hyperref box around printed citation label in tex with natbib
The hyperref link boxes around my citation labels appear vertically too small (“smashed”). I would like to add a \vphantom{Xg} (or something similar) so that all citation link boxes have a consistent ...
0
votes
1
answer
11
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
23
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
60
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
34
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 ...
6
votes
2
answers
92
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
50
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
27
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
59
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
56
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
28
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
17
views
Cleveref and theorem-style environments in SIAM document class [duplicate]
This question differs from \cref refers to lemmas as theorems in that it is specific to the SIAM document class, and it pertains setting of that class, specifically.
This minimal example of SIAM ...