• Table with varying number of cells per row
    by fpuentegomez on March 27, 2026 at 8:45 am

    I am trying to replicate the table in the image: As you can see, it has varying number of cells in some of the rows. Sample of what I've tried so far (contains only the rows with varying number of cells): \documentclass{article} \usepackage{tabularx} \begin{document} % 1st table with only 1 cell per row \begin{tabularx}{\textwidth}{|>{\centering\arraybackslash}X|} \hline \textbf{LX -- Left Seat LVO}\\ \end{tabularx} % 2nd table with 4 cells per row \begin{tabularx}{\textwidth}{|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|} \hline \textbf{Weights/CG} & A320 & A330 & A350\\ \end{tabularx} % 3rd table with one cell per row \begin{tabularx}{\textwidth}{|>{\centering\arraybackslash}X|} \hline Profile A: Takeoff Perf: FlySmart\\ \end{tabularx} % 4th table with 5 cells per row \begin{tabularx}{\textwidth}{|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|>{\raggedleft\arraybackslash}X|} \hline \textbf{Weights/CG} & A320 CEO & A320 NEO & A330 & A350\\ \hline \end{tabularx} \end{document} I have tried to concatenate tabularx environments because I would like it to fill the whole page laterally, but the problem is that those are different tables, which creates two problems: There are tiny (but still noticeable) gaps in the borders of the cells right after every \end{tabularx} If the "whole table" doesn't fit in the page it is split by one of the \begin{tabularx} instead of filing the page. Is it possible to create everything in a single table? Are there other table packages that you would recommend? Thank you very much in advance

  • hline between colored rows in tblr
    by Sak on March 26, 2026 at 8:45 pm

    I’m coloring the background of some rows, i have a drawn some hlines leaving the boundary between rows 4 and 5 in column 1 without an hline. Visually, I still get a thin white gap where that missing hline would be, even though both rows cells are fully background‑colored. I tried to “fill” that gap by drawing an hline with the same color as the background, and also by using tblrtikzabove/tblrtikzbelow to paint over the gap as a possible workaround. In all of these cases, a visible artifact remains: a narrow strip that is a slightly different shade or just white than the surrounding background, so the line is still noticeable. I cannot globally change rows/rowsep or similar table‑wide settings, because I need to scope this behavior and later add specific hlines at selected positions. What I’m looking for is a way, localized to certain row boundaries, to either eliminate that white gap entirely or fill it without causing the visible shade difference, ideally without having to restructure the whole table. \documentclass{article} \usepackage{tabularray} \usepackage{graphicx} \usepackage{geometry} \geometry{margin=0in} %\usepackage{showframe} \usepackage{siunitx} \usepackage{xcolor} \usepackage{bm} \UseTblrLibrary{tikz} \UseTblrLibrary{varwidth} \begin{document} \centering \vspace*{1em} \scalebox{0.59}{ \begin{tblrtikzabove}%tikz attempt %\draw[color=blue] (h4-|v1) -- (h4-|v3); \end{tblrtikzabove} \begin{tblr}{ colspec = { Q[c,wd=3.5cm]%1 Q[c,wd=2cm]%2 Q[c,wd=2cm]%3 Q[c,wd=2cm]%4 Q[c,wd=1.5cm]%5 Q[c,wd=1.5cm]%6 Q[c,wd=2cm]%7 Q[c,wd=2cm]%8 Q[c,wd=1.7cm]%9 Q[c,wd=1.7cm]%10 Q[c,wd=1.7cm]%11 Q[c,wd=1.7cm]%12 Q[c,wd=1.7cm]%13 Q[c,wd=1.7cm]%14 },rowsep=6pt, row{1}={h,ht=2.5cm,font=\sffamily\Large},row{2}={ht=2cm,font=\sffamily\bfseries\Large,h},row{3}={ht=.7cm,font=\sffamily\bfseries\Large},row{4}={ht=.6cm,font=\sffamily\bfseries\large},row{Z}={c,m,font=\Large\sffamily,ht=.8cm}, vlines, hline{Z,Y,1}={solid},hline{1-Z}={3-Z}{solid}, row{1-Y}={fg=red,bg=blue}, %hline{4}={1-2}{blue}, } \SetCell[r=3]{c} {\textbf{Designation}} & \SetCell[r=3]{c} \textbf{Mass per metre} & \SetCell[r=2]{c} \textbf{Depth of section} & \SetCell[r=2]{c}\textbf{Width of section} & \SetCell[c=2]{c} \textbf{Thickness} & & \SetCell[r=2]{c} \textbf{Root radius} & \SetCell[r=2]{c} \textbf{Depth between fillets} & \SetCell[c=2]{c,wd=3.4cm} \textbf{Ratios for local buckling} & & \SetCell[c=2]{c,wd=4cm} \textbf{Second moment of area} & & \SetCell[c=2]{c,wd=3.4cm} \textbf{Radius of gyration} \\ & & & & \textbf{of web} & \textbf{of flange} & & & \textbf{Flange} & \textbf{Web} & \textbf{x--x} & \textbf{y--y} & \textbf{x--x} & \textbf{y--y} \\ & & $\bm{D}$ & $\bm{B}$ & $\bm{t}$ & $\bm{T}$ & $\bm{r}$ & $\bm{d}$ & $\bm{B/2T}$ & $\bm{d/t}$ & $\bm{I_{xx}}$ & $\bm{I_{yy}}$ & $\bm{r_{xx}}$ & $\bm{r_{yy}}$ \\ \textbf{Serial size} & kg/m & mm & mm & mm & mm & mm & mm & & & \si{\textbf{cm}^{\bm{4}}} & \si{\textbf{cm}^{\bm{4}}} & cm & cm \\ 356 × 171 × 45 & 45.0 & 351.4 & 171.1 & 7.0 & 9.7 & 12.7 & 306.6 & 8.82 & 43.8 & 12195 & 811 & 14.50 & 3.75 \\ \end{tblr}} \end{document} my end goal

  • Why does the hook in \chapter fail?
    by Explorer on March 26, 2026 at 4:56 pm

    I have to automatially switch from two-multicols and onecolumn mode with \chapter, here below is what I was after: \documentclass[openany]{book} \usepackage{multicol} \usepackage{lipsum} \begin{document} \chapter{AAAAAAAAAAAAAAAA} \begin{multicols}{2} \section{11} \lipsum[1-3] \section{22} \lipsum[1-3] \end{multicols} \chapter*{BBBBBBBBBBBBBBBBB} \begin{multicols}{2} \section*{11} \lipsum[1-3] \section*{22} \lipsum[1-3] \end{multicols} \chapter{CCCCCCCCCCCCCCCCC} \begin{multicols}{2} \section{11} \lipsum[1-3] \section{22} \lipsum[1-3] \end{multicols} \end{document} However, I want to hook to switch the one/two-columns with \chapter, I tried with: \documentclass{book} \usepackage{multicol} \usepackage{lipsum} \makeatletter \AddToHook{cmd/chapter/before}{\ifnum\col@number>1\end{multicols}\fi\clearpage} \AddToHook{cmd/chapter/after}{\begin{multicols}{2}} \AtEndDocument{\ifnum\col@number>1\end{multicols}\fi} \makeatother \begin{document} \chapter{AAAA} \lipsum[1-3] \chapter*{BBBB} \lipsum[1-3] \chapter{CCCC} \lipsum[1-3] \end{document} but it complained with: ! Argument of \hook_use:nnw has an extra }. <inserted text> \par l.13 \chapter {AAAA} ? Looks like there exists some group mismatch ;-( I wonder why this happened? And how to achieve what I want?

  • tikz, drawing edge with option "double"
    by Zarko on March 26, 2026 at 4:13 pm

    I'm just curious why drawing a line with edge doesn't consider option double. For example: \documentclass[margin=1pt, 11pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[auto=right, Jvmes/.style args = {#1/#2}{very thick, double distance=#1, draw=#2, double=#2!30}, Jvmes/.default = 2mm/orange, ] \draw[Jvmes] (0,0) -- ++ (0,1); % works as expected \draw[Jvmes] (1,0) edge ++ (0,1); % doesn't works \end{tikzpicture} \end{document}

  • How to restore Type1-style subscript placement when using unicode-math?
    by tmc on March 26, 2026 at 2:20 pm

    I recently noticed that switching from Type1 Latin Modern to OpenType Latin Modern (via unicode-math) changes the placement of subscripts (and superscripts) in both inline and display math. Inline math Consider \sum_{k = 1}^{n} a_{k}. With Type1 Latin Modern (loaded via the lmodern package), the result looks like this: Notice how the subscripts sit compactly: the subscript k in the operator does not protrude far below the baseline; also notice the subscript k in the term of the sum. With OpenType Latin Modern and unicode-math, the result is as follows: Notice that the subscript k on the operator protrudes noticeably further below the baseline, and the subscript k in a_{k} also drops lower. I prefer the Type1 behavior, where the subscripts are more compact and the overall inline expression feels tighter, so that the formula wont't stick out too much. The following GIF might also be helpful to further notice the differences: the first frame is Type1 Latin Modern and the second frame is OpenType Latin Modern. Display math A similar, but opposite, issue appears in displayed sums: with unicode-math, the upper limit n of the index of summation appears noticeably closer to the \sum operator than with Type1 fonts. I am happy with this aspect of the unicode-math behavior. However, the subscript k in the term a_{k} once again drops lower with unicode-math. This may be fine in this context, since it is a formula in display mode (hence, one does not need to be concerned with how it fits with subsequent lines in a paragraph); nevertheless, for consistency with the inline case, I would also prefer to restore the Type1 behavior for subscript placement. Here is a GIF — the first frame is without unicode-math, and the second frame is with unicode-math: Minimal working example (MWE) For Type1 Latin Modern, compile with pdftex: \documentclass{article} \usepackage{lmodern} \begin{document} \(\sum_{k = 1}^{n} a_{k}\) \[ \sum_{k = 1}^{n} a_{k} \] \end{document} For OpenType Latin Modern via unicode-math, compile with luatex: \documentclass{article} \usepackage{unicode-math} % Latin Modern Math is the default font; included for clarity. \setmathfont{Latin Modern Math} \begin{document} \(\sum_{k = 1}^{n} a_{k}\) \[ \sum_{k = 1}^{n} a_{k} \] \end{document} Question Is there a way to restore subscript placement as in the Type1 Latin Modern defaults, without switching back to Type1 fonts? Also, should I do it? That is: would this break other features where one would actually want the subscript placement of unicode-math?

  • Incompatibilities bewteen xfrac and lua-unicode-math
    by PHL on March 26, 2026 at 7:25 am

    The following MWE gives 3 warnings Font shape in size <3.486> not available with lua-unicode-math, but none with unicode-math % !TEX TS-program = lualatex \documentclass{article} \usepackage{xfrac}% \sfrac for a/b fractions \usepackage{lua-unicode-math} %\usepackage{unicode-math} \begin{document} \(\sfrac{4}{5}\) \end{document} It is unclear to me if the fix should be on the xfrac side or on the lua-unicode-side. The three warnings are for OT1/cmr/m/n, OML/cmm/m/it and OMS/cmsy/m/n. Changing the separator (as in \sfrac{4}[L]{5}) does not remove the warnings.

  • Defining list of commands using \foreach
    by Lorenzo Riva on March 25, 2026 at 11:02 pm

    I want to use a \foreach loop to define a series of commands of the form \bf\l where \l runs through the uppercase letters of the alphabet and \bf\l evaluates to \mathbf{\l}. This is so that I don't have to manually define \bfA, \bfB, etcetera at the start of all my documents. I've tried the following setup (patched together from Defining a newcommand, with variable name, inside another newcommand): \documentclass{article} \usepackage{amsmath,pgffor} \foreach \l in {A,B,C,D} { \expandafter\newcommand\csname bf\l\endcsname{ \mathbf{\l}% } } \begin{document} $\bfA$ $\bfB$ $\bfC$ $\bfD$ \end{document} It resulted in four errors, namely that the four commands are undefined. Where am I going wrong, and why does this not work?

  • How to Vertically Stretch Arched Words
    by Jethro on March 25, 2026 at 10:52 pm

    MWE: \documentclass[12pt]{book} \usepackage{tikz,xcolor,scalefnt,scalerel} \usetikzlibrary{decorations.text} \begin{document} \thispagestyle{empty} {\Huge{\scalefont{1.25}{ \begin{tikzpicture} \path[-latex,white!30!black,postaction={decorate},decoration={text along path,text={HOW TO ADD A VERTICAL STRETCH?},text color={black},text align=center}] (7,0) arc [start angle=180,end angle=0,radius=7]; \end{tikzpicture}}}} \end{document} which produces: How may I add a vertical stretch to the letters? I have called in the scalerel package and tried placing \vstretch{}{} at various places in the code, but to no avail. It is necessary that I compile the code with xelatex.

  • Gray vector appears with fading in TikZ
    by Sebastiano on March 25, 2026 at 8:33 pm

    In TikZ, for my previous answer here: Circular Motion when I use the fading library to create a vector with a fading effect, a smaller gray vector appears inside the main vector. Why does this happen, and is there a way to prevent the inner gray vector from being visible? \documentclass{article} \usepackage[margin=0.5in]{geometry} \usepackage{tikz} \usetikzlibrary{arrows.meta, decorations.markings} \usetikzlibrary{fadings} \usepackage{newtxmath} \definecolor{myblue}{RGB}{0, 119, 200} \definecolor{mygreen}{RGB}{27, 175, 78} \definecolor{myorange}{RGB}{245, 130, 32} \begin{document} \begin{center} \begin{tikzpicture}[ vvec/.style={mygreen, line width=2.5pt, -{Latex[length=5mm, width=4mm]}}, avec/.style={myorange, line width=2.5pt, -{Latex[length=5mm, width=4mm]}}, dot/.style={circle, fill=black, inner sep=0pt, minimum size=7pt} ] \def\R{2.5} \def\V{2.8} \def\A{1.2} \draw[myblue, line width=1.2pt, decoration={markings, mark=at position 0.0833 with {\arrow{Latex[length=3mm, width=2.5mm]}}, mark=at position 0.4167 with {\arrow{Latex[length=3mm, width=2.5mm]}}, mark=at position 0.75 with {\arrow{Latex[length=3mm, width=2.5mm]}} }, postaction={decorate}] (0,0) circle (\R); \draw[gray!20, line width=4mm, -{Latex[length=7mm, width=8mm]}, path fading=north] (155:\R+0.8) arc (155:205:\R+0.8); \node at (180:\R+1.5) {\Large $\boldsymbol{\omega}$}; \node[dot] (P1) at (90:\R) {}; \draw[vvec] (P1) -- ++(180:\V) node[midway, above=2pt] {\Large $\vec{v}$}; \draw[avec] (P1) -- ++(270:\A) node[midway, right=2pt] {\Large $\vec{a}$}; \node[dot] (P2) at (210:\R) {}; \draw[vvec] (P2) -- ++(300:\V) node[midway, below left=2pt] {\Large $\vec{v}$}; \draw[avec] (P2) -- ++(30:\A) node[midway, below right=2pt] {\Large $\vec{a}$}; \node[dot] (P3) at (330:\R) {}; \draw[vvec] (P3) -- ++(60:\V) node[midway, below right=2pt] {\Large $\vec{v}$}; \draw[avec] (P3) -- ++(150:\A) node[midway, below=2pt] {\Large $\vec{a}$}; \end{tikzpicture} \end{center} \end{document}

  • Online tool to write LaTeX formulas on a non-editable PDF
    by Sebastiano on March 25, 2026 at 8:26 pm

    Suppose I have a PDF containing Math or Physics exercises, but it is not editable. I would like to know if there is an online tool or web service that allows me to: Upload the PDF. Preview the pages. Write LaTeX formulas directly on top of the PDF (for example, as annotations or overlays). Basically, I am looking for a way to add formulas written in LaTeX to the original PDF without having to recreate the entire document from scratch. Are there any tools like this available? Addendum: After my question I have found PDF Annotator but it is not free.

  • longtable cell is not expanded when using multirow
    by Snowrabbit on March 25, 2026 at 5:52 pm

    I like to use longtable because table will be long and span several pages. But I have a problem using multirow in the longtable, the cell is not expanded vertically. How to use multirow correctly in a longtable? Can someone explain in simple terms why the cell doesn't expand? If you have any suggestions for improvements to the code, I would be grateful 🙂 \documentclass{article} \usepackage{longtable} \usepackage{multirow} \usepackage{multicol} \usepackage{lipsum} \usepackage[table]{xcolor} \usepackage{array} \newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} \begin{document} \begin{longtable}[c]{|L{1cm}|L{3cm}|L{1cm}|L{7cm}|} \caption{Long table with multirow} \label{tab:long table with multirow}\\ \hline \rowcolor{lightgray}\textbf{Col 1} & \textbf{Col 2} & \textbf{Col 3} & \textbf{Col 4}\\ \hline \endfirsthead \hline \rowcolor{lightgray}\textbf{Col 1} & \textbf{Col 2} & \textbf{Col 3} & \textbf{Col 4}\\ \hline \endhead 1 & Name 1 & 42 & \multirow[t]{3}{=}{\lipsum[1]} \\ 2 & Name 2 & & \\ 3 & Name 3 & & \\ \hline \end{longtable} \end{document} This is what I get: This is the desired result: I apologize if the question has already been answered elsewhere and please provide a reference.

  • sourcesanspro and siunitx conflict
    by Paul on March 25, 2026 at 2:20 pm

    I'm using sourcesanspro as my default text font to write my thesis (with fourier for the math mode), along with siunitx to deal with number and units printing. Everything was working just fine until I decided to update all of my packages with miktex and especially the sourcesans package. The error I got is : ! Use of ??? doesn't match its definition. ??? ! LaTeX Error: Erroneous variable \l__siunitx_print_version... l.27 ...mathrm{l} \left[\unit{\ohm\per\kilo\meter} \right] \cdot x \left[\un... If you say, e.g., \def\a1{...}', then you must always put 1' after `\a', since control sequence names are made up of letters only. The macro here has not been followed by the required stuff, so I'm ignoring it. This error happen for every siunitx command (\qty, \unit, \num) used in math mode. Outside of math mode (in text mode), it seems to be ok. Here is a MWE : \documentclass[12pt]{article} \usepackage[utf8]{inputenc}\usepackage[T1]{fontenc} \usepackage[default]{sourcesans} % Police Source Sans \usepackage{amsmath,mathtools,amssymb,amsthm,amsfonts,bm,siunitx,commath,xfrac} % Math Presets \sisetup{detect-family=true, detect-mode=true, detect-weight=true, detect-shape=true} %police pour siunitx \begin{document} $\unit{\ohm\per\kilo\meter}$ \unit{\ohm\per\kilo\meter} \qty{90}{\kilo\volt} \end{document} I reported this bug to the sourcesans package git hub (https://github.com/silkeh/latex-sourcesanspro/issues/10#issue-4128078876) and still waiting for a response. What should I do ? Should I try to manually roll back the update ? How should i do that ? Thanks for your help

  • ltx-talk: \visible command not working as I expected
    by Svend Tveskæg on March 25, 2026 at 12:50 pm

    Consider the following (almost?) MWE: % lualatex test.tex \DocumentMetadata{ lang = da, tagging = on } \documentclass{ltx-talk} \usepackage{fontspec} \usepackage{pstricks} \begin{document} \begin{frame}{\visible<1->{Exercise}} \begin{enumerate} \item \visible<2->{A} \visible<3->{B} \visible<4->{% \begin{center} \begin{pspicture}(8,2) \psframe(8,2) \end{pspicture} \end{center}}% \end{enumerate} \end{frame} \end{document} Do to the order of the visible<n->{} commands, I expected the PSTricks drawing to not show up before the 4th slide but it is drawn right from the beginning. Question How do I fix the above-mentioned "issue"? Thanks in advance.

  • The order of \pgfkeys always mattered in tikz's option?
    by Explorer on March 25, 2026 at 12:11 pm

    I have the following code example: \documentclass[tikz,border=5pt]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \draw[->,>=latex] (0,0) -- (1,1); \end{tikzpicture} \begin{tikzpicture} \draw[>=latex,->] (0,0) -- (1,1); \end{tikzpicture} \begin{tikzpicture} \node[draw,fill=magenta] (tmp) {node}; \node[draw,fill=cyan,below=of tmp,node distance=.5cm] {below}; \end{tikzpicture} \begin{tikzpicture} \node[draw,fill=magenta] (tmp) {node}; \node[draw,fill=cyan,node distance=.5cm,below=of tmp] {below}; \end{tikzpicture} \end{document} Which gives the following: What I get confused is that: ->,>=latex and >=latex,-> behaves the same below=of tmp,node distance=.5cm honer the default value node distance=1cm, and node distance=.5cm,below=of tmp honer the previous node distance=.5cm Why caused the difference between >= and node distance? How to know whether an option's order is important with \pgfkeys? Edited: As jps commented: Keys are generally ordered as key code is executed in the order given. Whether the order of keys then matters strongly depends on the key code. The way to know whether an option's order matters is to either know the implementation by heart, or trial and error and Jasper Habicht supplemented that: Some keys only store a value in a macro that is later retrieved (which is true for the arrow settings, for example). The values stored in the macros are only retrieved when the arrows is drawn, that is at the end of the path. But other keys actually use values that are stored in macros and if these values are set my other keys, the order is relevant. But as was said above: You really need to know how the implementation is exactly to know whether the first or the second holds in a specific case. Here below is my follow-up doubt: In my understanding, "TikZ keys are applied in the order they are given", so is the following always safer (avoid the unexpected behavior of below=of tmp,node distance=.5cm)? >=latex,->: define the arrow style at first, then set the arrow node distance=.5cm,below=of tmp: set the distance at first, then apply the position

  • Setting fixed text labels for enumerate-based environment according to the item counter
    by Stephen on March 24, 2026 at 12:47 pm

    \documentclass{article} \usepackage{enumitem} \newlist{syntax}{enumerate}{1} \renewcommand{\labelsyntaxi}{\bfseries\ifcase\value{syntaxi}\or Usage\or Argument\or Return\fi} \begin{document} \begin{syntax} \item aaa \item bbb \item ccc \end{syntax} \end{document} I've defined an enumerate-based environment (called syntax) and I want the first three labels are Usage, Argument and Return, respectively. However, the above code gives error. How to fix and what's the reason behind the error? Similar question: enumerate with custom alphabet for items

  • Index of topics at beginning of document
    by Martin on March 24, 2026 at 10:20 am

    I have a document, where I describe topics (one page per topic). I want to have a list of all topics together with some additional information at the beginning of the document. So far my solution is this: First I make a file whrere the list is at the end of the file. MWE (file called Themen.tex): \documentclass[a4paper,12pt]{scrartcl} \usepackage{longtable} \newcounter{nummer} \def\Uebersicht{% Nr. & Topic & A & Page \\\hline \endfirsthead Nr. & Topic & A & Page \\\hline \endhead } \usepackage{hyperref} \newcommand{\Thema}[3]{% \refstepcounter{nummer}\label{#3}% \begin{center} \LARGE #1 \end{center} \begin{table}[h!] \centering \begin{tabular}{p{4.3cm}p{1cm}p{11cm}} A: && #2 \end{tabular} \end{table} \hrule \appto\Uebersicht{\getrefnumber{#3} & #1 & #2 & \pageref{#3} \\} } \begin{document} \clearpage \Thema{A}{A}{A} \clearpage \Thema{B}{B}{B} \clearpage \Thema{C}{C}{C} \clearpage \Thema{D}{D}{D} \clearpage \clearpage \begin{longtable}[h!]{r|p{0.48\linewidth}|p{0.34\linewidth}|r} \centering \Uebersicht \end{longtable} \end{document} Afterwards, I rearrange the pages. MWE: \documentclass{scrartcl} \usepackage{pdfpages} \pdfximage{Themen.pdf}% Read entire PDF \edef\totalpages{\the\pdflastximagepages}% Store number of pages \edef\lastbutonepage{\number\numexpr\totalpages-1}% Store last page - 1 \begin{document} \includepdf[pages=last]{Themen} \includepdf[pages=1-\lastbutonepage]{Themen} \end{document} The problem is, that in the end, the cross-references to pages inside the document, as well as external links that I put in the description of the topics do not work. How can I achieve what I want with working links (either with my 2-file-solution or directly)?

  • How to protect a comma in a name in biblatex (to cite someone known by a noble title)
    by Roel on March 23, 2026 at 4:08 pm

    I would like to cite J. W. Strutt, who--to the best of my knowledge---is best known as Lord Rayleigh: https://archive.org/details/theorysound03raylgoog/page/108/mode/1up I think the name should appear as "J. W. Strutt, Baron Rayleigh" or---to facilitate looking up "Rayleigh" in a sorted list---"Rayleigh, J. W. Strutt, Baron". The latter format (also shown on archive.org) is something I don't see on a daily basis, so maybe there is a better way. This is how far I got. Since I don't think it is common to show his 'real' family name, but also it should not be abbreviated to initials, I treat it as a prefix. Mind that the extra comma in the name is something the bibliography system (biber+biblatex) will choke on, so I had to hide it. Unfortunately, simple wrapping {,} or obfuscating \char44 did not work so I ended up with this: \documentclass{article} \usepackage[ giveninits=true ]{biblatex} \usepackage[hidelinks]{hyperref} \addbibresource{main.bib} \begin{document} According to \textcite[\href{https://archive.org/details/theorysound03raylgoog/page/108/mode/1up}{p 108}]{Rayleigh1878ThSoundv2}: ``Measured by the resulting potential, a source of given magnitude, i.e. a source at which a given introduction and withdrawal of fluid takes place, is thus twice as effective when close to a rigid plane, as if it were situated in the open; and the result is ultimately the same, whether the source be concentrated in a point close to the plane, or be due to a corresponding normal motion of the surface of the plane itself.'' \printbibliography % Once more with names in a different format: \DeclareNameAlias{author}{family-given} \printbibliography[title={References with `family' name first}] \end{document} @preamble{{\newcommand{\comma}{,}}} @book{Rayleigh1878ThSoundv2, title = {The Theory of Sound}, author = {given=John William, prefix={Strutt\comma\ Baron}, family=Rayleigh}, publisher = {MacMillan \& Co., Ltd.}, date = {1896}, volume = {2}, url = {https://archive.org/details/theorysound03raylgoog} } This just doesn't feel right, but is there a better way?

  • TikZ externalization fails with precompiled header (.fmt) and "Incomplete \iffalse" error
    by dp21 on March 23, 2026 at 12:26 pm

    I am trying to speed up the compilation of a complex project using a format file and tikz externalize. In particular I tried a setup like shown in the follwing MWE: preamble-min.tex \documentclass[a4paper,12pt]{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usetikzlibrary{external} \dump main-min.tex: \tikzset{ external/system call={% pdflatex -shell-escape -fmt=preamble-min \ -interaction=nonstopmode -jobname "\image" "\def\tikzexternalrealjob{\texsource}\input{\texsource}"% } } \tikzexternalize[prefix=tikz-cache/] \begin{document} \begin{tikzpicture} \begin{axis} \addplot+[raw gnuplot, mark=none] gnuplot { plot [-5:5] sin(x); }; \end{axis} \end{tikzpicture} \end{document} Compilation Steps: mkdir -p tikz-cache pdflatex -ini -shell-escape -jobname=preamble-min "&pdflatex preamble-min.tex" pdflatex -shell-escape -fmt=preamble-min main-min.tex The compilation stops with: ! Incomplete \iffalse; all text was ignored after line 19. <inserted text> \fi <*> main-min.tex Any ideas how to make this work well and robust? I am using texlive-2025.

  • Tikz-cd arrow labels conflict with background colour
    by Amitai on March 22, 2026 at 6:11 pm

    I'm using q.uiver.app to make commutative diagrams for a project. There is a feature that allows for the label of an arrow to be displayed directly above it. This creates a white background for the label, which clashes visually with the background box. Here is an example of what it looks like: Here is an example of the code for the commutative diagram, using {description} to overlay the text above the arrow: \[\begin{tikzcd} Q &&& \\ & P && X \\ \\ & {X'} && Y \arrow["{\exists!h}"{description}, dashed, from=1-1, to=2-2] \arrow["p"{description}, from=1-1, to=2-4] \arrow["q"{description}, from=1-1, to=4-2] \arrow["a"{description}, from=2-2, to=2-4] \arrow["b"{description}, from=2-2, to=4-2] \arrow["f"{description}, from=2-4, to=4-4] \arrow["g"{description}, from=4-2, to=4-4] \end{tikzcd}\] I'm using a template for the project; here is what the stylesheet uses to define the lemma/proof boxes: % proofs: proof \definecolor{prooflinecolor}{RGB}{103, 103, 103} % rgba(40, 40, 40, 180) %FORMAT \definecolor{proofbgcolor}{RGB}{247, 247, 247} % rgba(40, 40, 40, 10) %FORMAT \linedbox{@proof}{Proof}{proof}{proofbgcolor}{prooflinecolor} % this numbers the proofs, so we renew the environment to prevent that; but we still allow a title, so you can do e.g. "Proof (of Theorem 1.2.3)" \def\qed{\null\nobreak\hfill\ensuremath{\blacksquare}} % qed square %FORMAT switch \blacksquare to \square for the not-filled-in version \renewenvironment{proof}[1][]{\csname @proof*\endcsname{#1}{}}{\qed\csname end@proof*\endcsname} \def\flushproof{\vspace{-\parskip}} % put this before a proof to make it flush with the result it's proving How do I make this white background transparent? Or, if necessary, how do I set it to a certain colour (so that I can just choose the backdrop colour)?

  • I am trying to make a really cool animation using Koch snowflakes, but don't know how
    by Jasper on March 22, 2026 at 3:28 pm

    I was scrolling through reels earlier and came across a really cool animation: https://www.youtube.com/shorts/aQbq_Fpyyb4. Note: You can analyze the gif frame by frame using the method suggested by MS-SPO in the comments, or by using the website ez-gif, or by using custom python scripts. I interchangeably use ez-gif and python for these sorts of things, and in this instance used ez-gif. I did some digging and found this old post, which I modified slightly. % Source - https://tex.stackexchange.com/a/205608 % Posted by Mark Wibrow % Retrieved 2026-03-22, License - CC BY-SA 3.0 \documentclass[tikz, border=5]{standalone} \usetikzlibrary{lindenmayersystems} \tikzset{koch snowflake/.style={insert path={% l-system [l-system={rule set={F -> F-F++F-F}, axiom=F++F++F, step=0.75cm/3^#1, angle=60, order=#1,anchor=center}] -- cycle}}} \begin{document} \begin{tikzpicture} \path[fill=orange,koch snowflake=4]; \end{tikzpicture} \end{document} I am however without a clue as to how to go about producing this gif I found. I am seeking assistance in creating this gif.

  • fonts: strange representation for capital delta
    by fft on March 22, 2026 at 1:55 pm

    I'm trying to generate texfonts.h from mimetex package. According to documentation I execute next TeX/METAFONT commands: mf "\mode=eighthre; input cmr10" # produces cmr10.83gf gftype -i cmr10.83gf > typeout Most of chars looks as expected (latin letters, capital Gamma and Theta), but capital Delta looks strange. See fragment of typeout file: 1561: beginning of char 0 .<--This pixel's lower left corner is at (0,8) in METAFONT coordinates ****** * * * * * * * * *** .<--This pixel's upper left corner is at (0,0) in METAFONT coordinates 1588: beginning of char 1 .<--This pixel's lower left corner is at (0,8) in METAFONT coordinates * * * * * ** ** * * * * * * .<--This pixel's upper left corner is at (0,0) in METAFONT coordinates 1623: beginning of char 2 .<--This pixel's lower left corner is at (1,8) in METAFONT coordinates ** * * * * * ** * * * * * * * ** .<--This pixel's upper left corner is at (1,0) in METAFONT coordinates If I repeat the same, but use mode=preview, Delta looks ok also. Whether this is sort of bug? If yes, and if I understand correctly, cmr10.mf includes roman.mf, which includes greeku.mf, where description of how to draw Δ is placed. But I can't understand syntax and unable even to determine, whether first step (mf) or second (gftype) cause error. Anyway, seems this files weren't updated recently. I have almost no knowledge about TeX fonts, just want to repeat abovementioned header file. Most of letters for cmr10.83 converted successfully (i.e. I got same hex representation), but not this Delta.

  • evenly-padded horizontal line separator in a table with rows with graphics
    by Mampac on March 22, 2026 at 10:35 am

    when defining a figure that holds a table of images, how do i ensure even and symmetric padding when using \hline in it? by default, there's no padding before the row that was \hlined. i have the following MRE: \documentclass{article} \usepackage{array} \usepackage{graphicx} \newcolumntype{I}{>{\centering\arraybackslash}m{0.18\linewidth}} % simulate images \newcommand{\fakeimg}{\rule{\linewidth}{2.5cm}} \begin{document} \begin{tabular}{c I I I} & A & B & C \\ row1 & \fakeimg & \fakeimg & \fakeimg \\ \hline row2 & \fakeimg & \fakeimg & \fakeimg \\ \end{tabular} \end{document} this produces the following image, where the rule is stuck tightly to the images on the second row: how do i define the padding in a controlled (tunable) manner so that the optional rule perfectly divides it in half (i want to add the divider only between specific pairs of rows)? i've tried interjecting a bunch of artifical spaces and padding in the rows before/after, but they all break apart when i wish for a small-scale padding of, say, 0.3ex: my attemps yield assymetrical padding where the padding before second row is smaller than padding after the first row.

  • Abnormal Blank Space at the Bottom of Footnotes in cas-dc Templates
    by Clara on March 22, 2026 at 8:06 am

    While writing paper, I found that abnormal vertical blank space appears at the bottom of footnotes in the first column of the cas-dc template. Even after replacing the original paper content with other characters, the issue still persists, and the reproducible code provided below is just an example rather than the only scenario that triggers this problem. I am using TeX Live 2026 on the Windows system and compiling documents with pdflatex, and I aim to identify the root cause of this abnormal blank space and find corresponding methods to avoid it. \documentclass[a4paper,fleqn]{cas-dc} \begin{document} \shorttitle{} \title[mode=title]{consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in} \tnotemark[1] \tnotetext[1]{ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse} \author[1]{alice bob} \ead{123456789@abc.com} \author[1]{alice bob} \ead{123456789@abc.com} \author[1]{alice bob} \ead{123456789@abc.com} \author[2]{alice bob} \cormark[1] \ead{123456789@abc.com} \author[1]{alice bob} \ead{123456789@abc.com} \cortext[cor1]{Corresponding author} \affiliation[1]{organization={consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse}} \affiliation[2]{organization={consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse}} \begin{abstract} consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse \end{abstract} \maketitle \section{consequat} consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse \par consequat consequat consequat consequat consequat consequat consequat, consequat consequat consequat consequat consequat consequat consequat consequat quat (consequat) XX and consequat consequat consequat consequat consequat (consequat) XX consequat consequat consequat, consequat consequat consequat consequat xxx sds-consequat sdsdsdff. consequatsd, yuiyuiy-consequat conseq consequ consequat sdsd consequat, consequat consequat consequat XX, consequat consequat Regression consequat, consequat-VVV-XXOXXX-XXXXXX (XXXX) XX, and xxxxx Gradient xxxxxxx xxxxxxx (xxxxxxx) XX xxxxxxxx the modeling xx hjkshdsjkhd sdsdsdss by reprehender reprehenderit reprehenderit reprehenderit reprehenderit \end{document}

  • Using spy to zoom in on a curve
    by Nicolas on March 22, 2026 at 7:31 am

    I want to show a zoom on a part of my curve with ``'spy```. The compilation of the code returns several errors to me : ! Missing \endcsname inserted. ; ! Extra \endcsname ; ! Illegal unit of measure (pt inserted) ... When I compile without the line of the spy, it works its problem. I don't understand where the problem is. If someone has an idea? \documentclass[12pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usepackage{xcolor} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usetikzlibrary{spy} \usepackage{siunitx} \sisetup{ output-decimal-marker={,}, inter-unit-product = \ensuremath{{}\cdot{}} } \definecolor{bleu}{RGB}{25, 90, 185} % Paramètres \pgfmathsetmacro{\Cb}{0.10} % mol/L (NaOH) \pgfmathsetmacro{\Va}{10} % mL \pgfmathsetmacro{\Vdil}{100} % mL \pgfmathsetmacro{\Vzero}{\Va+\Vdil} \pgfmathsetmacro{\na}{0.0008} % mol CH3COOH \pgfmathsetmacro{\Veq}{8} % mL \pgfmathsetmacro{\Ka}{1.8e-5} \pgfmathsetmacro{\lH}{349.6} \pgfmathsetmacro{\lNa}{50.1} \pgfmathsetmacro{\lOH}{198.0} \pgfmathsetmacro{\lAc}{40.9} % Ionisation initiale \pgfmathsetmacro{\Ca}{\na/(\Vzero/1000)} \pgfmathsetmacro{\Hinit}{sqrt(\Ka*\Ca)} \pgfmathsetmacro{\nHinit}{\Hinit*(\Vzero/1000)} \pgfmathsetmacro{\Vneutr}{\nHinit/\Cb*1000} % mL \begin{document} \begin{tikzpicture}[spy using outlines={circle, magnification=4, size=2cm, connect spies}] \begin{axis}[ width=15cm, height=10cm, xlabel={$V_b$ (\si{mL})}, ylabel={$\sigma$ (\si{\milli\siemens\per\centi\meter})}, xmin=0, xmax=26, ymin=0, ymax=4, grid=both, axis lines=left ] % -------------------------- % Neutralisation des H+ initiaux % -------------------------- \addplot[magenta, line width=1.7pt, smooth] coordinates { (0, 0.126) (0.398,0.018) }; % Avant Veq \addplot[magenta, domain=0.398:\Veq, samples=200,line width=1.7pt, smooth] { ( (\lNa*(\Cb*x/1000) + \lAc*(\Cb*x/1000) + \lH*sqrt(\Ka*((\na - \Cb*x/1000)/((\Vzero + x)/1000))) * ((\Vzero + x)/1000) ) / ((\Vzero + x)/1000) ) }; \addlegendentry{avant Veq} % Après Veq \addplot[magenta, domain=\Veq:25, samples=200, smooth, line width=1.7pt, forget plot] { (\lNa*(\Cb*x/1000) + \lAc*\na + \lOH*(\Cb*x/1000 - \na))/((\Vzero+x)/1000) }; % Volume équivalent \draw[black, line width=1.4pt, densely dotted] (axis cs:\Veq,0) -- (axis cs:\Veq,0.6); \node at (axis cs:\Veq,0.2) [ right, font=\small\bfseries] {$V_{\text{eq}}$}; % Zoom spy \spy [red] on (axis cs:0.4,0.05) in node[left] at (axis cs:1,2); \end{axis} \end{tikzpicture} \end{document}

  • luadraw - Why is one of my points out of frame?
    by Matthew Leingang on March 21, 2026 at 9:35 pm

    I'm new to luadraw and I'm trying to recreate the diagram below: Here is my code so far, and the result: % !TEX TS-program = LuaLaTeX \documentclass{standalone} \usepackage[3d]{luadraw} \begin{document} \begin{luadraw}{name=wedge} local a, b, c = 8, 6, 4 local xmax, ymax, zmax = a+1, b+1, c+1 local g = graph3d:new{ window3d = {0,xmax,0,ymax,0,zmax}, viewdir = {30,60}, size={10,10,0} } local xIntcpt, yIntcpt, zIntcpt = M(a,0,0), M(0,b,0), M(0,0,c) local P = M(4,0,0) local Q = interDD({P,vecJ},{xIntcpt,yIntcpt-xIntcpt}) local R = interDD({P,vecK},{xIntcpt,zIntcpt-xIntcpt}) g:Dscene3d( g:addPolyline({ {Origin,xmax*vecI}, {Origin,ymax*vecJ}, {Origin,zmax*vecK}, }), g:addPolyline( {xIntcpt,yIntcpt,zIntcpt}, {close=true,color="cyan"}), g:addFacet( {P,Q,R}, {color="cyan",opacity=0.5} ), g:addPolyline( {P,Q,R}, {close=true,color="cyan",style="dashed"} ), g:addLabel( "\\(x\\)",P,{pos="NW",dist=0.1}, a,xIntcpt,{pos="NW",dist=0.1}, b,yIntcpt,{pos="N",dist=0.1}, c,zIntcpt,{pos="NW",dist=0.1} ) ) g:Show() \end{luadraw} \end{document} The issue, as you can see, is that the point (0,6,0) is out of frame. I tried increasing ymax, that seems to have no effect. I tried changing the width in the size option, but that only stretches the diagram horizontally. I have tried different viewdir options, but they all cut the diagram off at one edge. I'm sure it's something basic that I'm missing, but I'm too much of a novice to notice. Any clues?

  • Signature disapears when renewing closing command of the letter class
    by s.k on March 21, 2026 at 12:34 pm

    I need to align the \closing{} of the letter package with the body of the letter, on the left, while keeping the \signature{} but this code is actually removing the \signature{} from the rendered document: \documentclass[a4paper]{letter} \signature{Your Name} \address{Your Address} \date{\today} % I renew the closing command here, before beginning the document: \renewcommand{\closing}[1]{\par\noindent#1\par} \begin{document} \begin{letter}{Recipient Name \\ Recipient Address} \opening{Dear Sir or Madam,} This is the body of the letter. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin gravida augue at eleifend vestibulum. Nullam mollis molestie mi eget viverra. Interdum et malesuada fames ac ante ipsum primis in faucibus. Ut scelerisque dui in eros imperdiet consectetur. Cras venenatis elit nec orci elementum pellentesque. \closing{Sincerely,} \vspace{1cm} \hspace*{0.6\textwidth} \signature{} \end{letter} \end{document} Here's the corresponding result using Texmaker 5.0.3 on Ubuntu 22.04.5:

  • thin rule at breaking tcolorbox, but don't want [duplicate]
    by GowriSaro on March 21, 2026 at 4:49 am

    \documentclass{article} \usepackage[]{xcolor} \usepackage{lipsum} \usepackage[most,skins,breakable]{tcolorbox}% \tcbuselibrary{skins,breakable}% \tcbset{enhanced,breakable}% \usetikzlibrary{patterns}% %\usepackage{tikz}% \begin{document} \begin{tcolorbox}[enhanced,arc=9pt,colback=white,colframe=red,boxrule=3pt]% \lipsum[1-10] \end{tcolorbox} \end{document} Above code works fine, but a thin colored rule comes at the bottom of the page, and the top of next page, if the box continues page to page, how can I fix it?

  • Vertical spacing in \polylongdiv from the polynom package
    by ThomasO on March 21, 2026 at 3:51 am

    When using fractions in \polylongdiv, the vertical spacing turns out rather awkward. If no fractions are used for the coefficients, the spacing is fine. I have tried to adjust the vertical spacing using arrayrowsep=..., but without any visible change. Is it possible to adjust this vertical spacing for fractions? \documentclass{article} \usepackage{polynom} \polyset{style=C,div=:,arrayrowsep=1cm} \begin{document} \polylongdiv[arrayrowsep=1cm]{(1/5)x^2-(3/7)x+4/9}{x-1/2} \polylongdiv[arrayrowsep=1cm]{5x^2-5x+6}{x-3} \end{document}

  • Can I make a numbered tcolorbox have a number from a previous section?
    by LaTeXereXeTaL on March 21, 2026 at 12:42 am

    I have a working exercise/solution engine based on that from the tcolorbox documentation and it works perfectly. There is one thing I would like to change if possible. In my MWE, I create three exercises and their corresponding solutions and I also create new autorefnames for their respective counters. The exercises are in two different sections but all the solutions are in a new section and that causes the solution numbers typeset when I cite them with \autoref to reflect the new section, not the sections of the corresponding exercises. In other words, the names of the solutions to Exercise 1.1 and Exercise 2.1 typeset as Solution 3.1 and Solution 3.2 whereas I would like them to be Solution 1.1 and Solution 2.1 respectively even if they are in the third section. I think my question is: can I make a solution's number retain the value of the number of its corresponding exercise even when the solution is in a different section of the document? I have experimented and nothing I have tried works. This is for a larger book project and I can live with the situation but I want to know if my question has a relatively simple answer. MWE: % !TEX program = lualatexmk % !TEX encoding = UTF-8 Unicode \documentclass{article} \usepackage[language=english]{lipsum} \usepackage{tcolorbox} \usepackage{hyperref} \hypersetup{colorlinks} \tcbuselibrary{skins,theorems} \newcounter{exercisecounter} \newcounter{solutioncounter} \newcommand{\exercisecounterautorefname}{Exercise} \newcommand{\solutioncounterautorefname}{Solution} \NewTColorBox[use counter=exercisecounter,number within=section]{exercise}{m +!O{}} {% coltitle=black,% title={Exercise~\thetcbcounter:},% label={exer:#1},% attach title to upper=\quad,% after upper={\par\hfill {Solution on page~\pageref{soln:#1}}},% lowerbox=ignored,% savelowerto=exercise-\thetcbcounter.tex,% record={\string\solution{#1}{exercise-\thetcbcounter.tex}},% #2 }% \NewTotalTColorBox[use counter=solutioncounter,number within=section]{\solution}{m m}{% coltitle=black,% title={Solution of Exercise~\ref{exer:#1} on page~\pageref{exer:#1}:},% label={soln:#1},% attach title to upper=\par,% }{\input{#2}} \tcbset{no solution/.style={no recording,after upper=}} \begin{document} \section{Exercises} \lipsum[1] \tcbstartrecording\relax \begin{exercise}{one} This is the first exercise. \tcblower This is the first solution. \end{exercise} I can cite \autoref{exer:one} on page~\pageref{exer:one} and solution \autoref{soln:one} on page~\pageref{soln:one}. \section{Another Section} \lipsum[1] \begin{exercise}{two} This is the second exercise. \tcblower This is the second solution. \end{exercise} \begin{exercise}{three} This is the third exercise. \tcblower This is the third solution. \end{exercise} \tcbstoprecording I can cite \autoref{exer:two} on page~\pageref{exer:two} and solution \autoref{soln:two} on page~\pageref{soln:two}. I can cite \autoref{exer:three} on page~\pageref{exer:three} and solution \autoref{soln:three} on page~\pageref{soln:three}. \newpage \section{Solutions} \tcbinputrecords \end{document}

  • How can Initials with special characters (e.g. German Umlaute) be designed? [duplicate]
    by Thomkrates on March 20, 2026 at 6:56 pm

    I would like to use Initials in a nice poetry book and need for German Umlaute (Ä Ö Ü) those designs. And the general question is: Why are Initials always without special characters, also for other languages other than German? And for now: How is it possible to produce Ä Ü Ö manually? \documentclass[a4paper]{article} \input Zallman.fd \pagestyle{empty} \begin{document} \begin{center} \fontsize{60pt}{72pt}\usefont{U}{Zallman}{xl}{n} ABCDE \\ FGHIJK \\ LMNOP \\ QRSTU \\ VWXYZ \\ ÄÖÜ \\%<-- Special characters Umlaute Initials?! \end{center} \vfill \begin{center} Font name: ``Zallman'' (ZallmanCaps) \end{center} \end{document} Is there a trick to get them nice?