Hot
- Recent error from Latex during compilation of xcolor package. Unknown option 'pst'by Alberto Pettorossi on June 30, 2026 at 4:18 pm
When I compile the following file: \documentclass[12pt,english,twoside]{amsbook} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{geometry} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{babel} \usepackage{bm} \usepackage{balance} \usepackage{fancybox} \usepackage{epsfig} \usepackage{framed} \usepackage{graphics} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{latexsym} \usepackage{textcomp} \usepackage{stmaryrd} \usepackage{varioref} \usepackage{vaucanson-g} \usepackage{verbatim} \usepackage{wasysym} ... Then I get: ### This is /Library/TeX/texbin/simpdftex, Version 20221012 ### /Library/TeX/texbin/latex Main-ADP_PettorossiProietti_PredCalc_LogBook-Springer-main.tex This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./Main-ADP_PettorossiProietti_PredCalc_LogBook-Springer-main.tex LaTeX2e <2025-11-01> L3 programming layer <2026-01-19> (/usr/local/texlive/2026/texmf-dist/tex/latex/amscls/amsbook.cls Document Class: amsbook 2020/05/29 v2.20.6 (/usr/local/texlive/2026/texmf-dist/tex/latex/amsmath/amsmath.sty ... and after some more lines showing the compilation of various ...sty files, I get: /usr/local/texlive/2026/texmf-dist/tex/latex/xcolor/xcolor.sty:265: LaTeX Error: Unknown option 'pst' for package xcolor. For immediate help type H <return>. ... l.265 \ProcessKeyOptions\relax ? My file was used to compile without errors until about six months ago. Can you, please, help me? Thanks a lot in anticipation, Alberto
- Dimensionating of color blocks in a matrixby Carl Anderson on June 30, 2026 at 3:57 pm
By using nicematrix package and command \Block, I'm struggling to reduce the width and height of block colors, separately. Any hint? Below, find the code: \documentclass{article} \usepackage{nicematrix,tikz} \begin{document} \begin{equation*} \begin{bNiceArray}{cccc|c}[columns-width=5pt,margin] \Block[fill=red]{2-4}{} a_{11} & a_{12} & a_{13} & a_{14} & \Block[fill=yellow]{3-1}{} a_{15} \\ a_{21} & a_{22} & a_{23} & a_{24} & a_{25} \\ a_{31} & a_{32} & a_{33} & a_{34} & a_{35} \end{bNiceArray} \end{equation*} \end{document}
- how to align axis-coordinate system with tikzpicture-coordinate systemby flawr on June 30, 2026 at 3:13 pm
I'd like to use a pgfplots axis environment to render some plots. I'd like them to be aligned with the surrounding TiKz graphics. However, I have not yet managed to find the correct options. I'm also only interested in the plotted line itself, so no ticks or axes need to be drawn in addition. So far I have this (failed) example. My goal would be aligning the coordinate system the axis environment such that the two curves are right on top of each other. With the width/height I assumed I could set the exact dimensions, but that already seems to be off. Is there a way to modify this axis-environment to match the coordinate system of the tikzpicture-environment? \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \draw[lightgray] (-2, -3) grid (4, 4); \fill[lightgray] (0,0) circle (0.2); % origin \draw[green] plot [red, domain=-2:4, samples=200] (\x, {exp(-abs(\x)^2)}); \begin{axis}[ xtick=\empty, ytick=\empty, hide axis, xmin=-2, xmax=4, axis equal, width=6cm, height=7cm, anchor=south west, at={(-2cm,-2cm)}, ] \addplot [red, domain=-2:5, samples=200] (\x, {exp(-abs(\x)^2)}); \end{axis} \end{tikzpicture} \end{document}
- skak, xskak, chessboard use black symbols font in move notationby Jielpe on June 30, 2026 at 12:40 pm
I'm writing chesboards and move notation, I would like to use a black symbol when writing black move, \documentclass{article} \usepackage{xskak} \begin{document} \newchessgame \mainline[style=styleC]{1. d4 d5 2. Bf4 Nf6} \end{document} The knight symbol is the one from the white font, I'd like it to be the black one, not sure if i'm clear... [edit] I found another question related : Chess notation: Switch between color and notation style I've tried using what i've foud there but it doesn't seems to work with the styleC i'm using, \documentclass{article} \usepackage{xskak} \makeatletter \def\cfssfixbaseline#1{\raisebox{-0.31ex}{\setboardfontsize{\f@size}#1}} \def\useblackfig{\def\cfss@figlanguage{@BLSB}} \def\usewhitefig{\def\cfss@figlanguage{@WLSB}} \def\cfss@king@@WLSB{\cfssfixbaseline{\cfss@WhiteKingOnWhite}} \def\cfss@queen@@WLSB{\cfssfixbaseline{\cfss@WhiteQueenOnWhite}} \def\cfss@rook@@WLSB{\cfssfixbaseline{\cfss@WhiteRookOnWhite}} \def\cfss@bishop@@WLSB{\cfssfixbaseline{\cfss@WhiteBishopOnWhite}} \def\cfss@knight@@WLSB{\cfssfixbaseline{\cfss@WhiteKnightOnWhite}} \def\cfss@pawn@@WLSB{\cfssfixbaseline{\cfss@WhitePawnOnWhite}} \def\cfss@king@@BLSB{\cfssfixbaseline{\cfss@BlackKingOnWhite}} \def\cfss@queen@@BLSB{\cfssfixbaseline{\cfss@BlackQueenOnWhite}} \def\cfss@rook@@BLSB{\cfssfixbaseline{\cfss@BlackRookOnWhite}} \def\cfss@bishop@@BLSB{\cfssfixbaseline{\cfss@BlackBishopOnWhite}} \def\cfss@knight@@BLSB{\cfssfixbaseline{\cfss@BlackKnightOnWhite}} \def\cfss@pawn@@BLSB{\cfssfixbaseline{\cfss@BlackPawnOnWhite}} % % https://tex.stackexchange.com/a/312066/46023 \def\instring#1#2{TT\fi\begingroup \edef\x{\endgroup\noexpand\in@{#1}{#2}}\x\ifin@} % \def\isuppercase#1{% \instring{#1}{ABCDEFGHIJKLMNOPRSTUVYZ}% }% \makeatother \def\FirstArgX{text} \newcommand\skaksymb[2][]{\begingroup% \def\SecondArgX{#1}% \ifx\FirstArgX\SecondArgX \usetextfig\textsymfigsymbol{#2}\else% \if\isuppercase{#2}\textsymfigsymbol{#2}% \usewhitefig \else% \useblackfig\textsymfigsymbol{#2}\fi\fi% \endgroup} \begin{document} \xskaknewstyleitem[% template=UF,% I tried putting styleC here beforewhite={\usewhitefig}, beforeblack={\useblackfig}, afterblack=\color{black}\hspace{1.25ex} ]{myitems} \xskakaddtostyle[% font=\normalfont, styleitem=myitems ]{test} \newchessgame \hidemoves{1.d4 d5 2. Bf4 Nc6 } \printchessgame[style=test] \end{document} Gives :
- Parskip and itemize packages - space after and before itemize depending on surrounding textby Zlog on June 30, 2026 at 11:04 am
Below is my MWE: \documentclass[a4paper]{article} \usepackage{enumitem} \usepackage[skip=\baselineskip]{parskip} \setlist[itemize]{nosep} \newenvironment{nospitemize}{% \begin{itemize}[topsep=-\parskip]% }{ \end{itemize}% \leavevmode% } \begin{document} aaaa \begin{nospitemize} \item first item \item second item \end{nospitemize} bbbb \begin{nospitemize} \item first item \item second item \end{nospitemize} cccc \begin{nospitemize} \item first item of list that should be in "new" paragraph \item second item \end{nospitemize} dddd \end{document} What I want is so that \nospitemize does not start new paragraph on its own and also does not prevent from starting it. So the same as in code "aaaa", "bbbb" and "dddd" should stick to lists, but "cccc" should be in different paragraph then lists (at least visually). The closest I got is by also adding \leavevmode at the begining: \newenvironment{nospitemize}{% \leavevmode% \begin{itemize}[topsep=-\parskip]% }{ \end{itemize}% \leavevmode% } but that creates too large space between "cccc" and next itemize
- Is it possible to use \includeonly with tex4ht?by Nasser on June 30, 2026 at 11:00 am
I have large latex document which not able to compile to html due to limitation of DVI. One such example: (/mnt/g/public_html/my_notes/solving_ODE/current_version/OUTPUT/12223_Monday_Ma rch_31_2025_04_39_20_AM_3788059/header.tex) (./body.4ct) --- file bodysubsubsection40249.htm --- l.1405711 --- TeX4ht warning --- \Link{tailbodysubsubsection40249.htm}? --- [65531 ! ==> Fatal error occurred: total_pages>=65536, bad output DVI file produced! Here is how much of LuaTeX's memory you used: 1249728 strings out of 19975895 2842832,90996078 words of node,token memory allocated 132895 words of node memory still in use: 498 hlist, 14 vlist, 2 rule, 86 disc, 66 local_par, 1 dir, 4 math, 648 glue, 60 kern, 207 penalty, 1383 glyph, 27278 attribute, 104 glue_spec, 27278 attribut e_list, 1 temp, 5 if_stack, 44 write, 638 special nodes avail lists: 1:4,2:2534,3:6556,4:25,5:427377,6:990,7:25559,8:5,9:2528,10:22,1 1:1446 1119004 multiletter control sequences out of 65536+20000000 59 fonts using 3827759 bytes 142i,6n,149p,2546b,108609s stack positions out of 50000i,1000n,20000p,9000000b,2000000s Output written on body.dvi (65536 pages, 756696856 bytes). I was looking at using \includeonly by compiling each chapter one by one. This will limit the size of the DVI to only each chapter at time. I would need to edit index.tex by hand and change \includeonly until I finish all chapters. Here is MWE \documentclass{book} \ifdefined\HCode \includeonly{1} \fi \begin{document} \title{my title} \author{me} \date{\today} \maketitle % \tableofcontents \include{1} \include{2} \end{document} And 1.tex is \chapter{A} \section{A 1} some text And 2.tex is \chapter{B} \section{B 1} and some text Compiled using make4ht -ulm default -a debug index.tex "mathjax,htm,0" Now I edited index.tex again and changed \includeonly{1} to \includeonly{2} and saved the file. (made sure not to delete index.aux during this process). Then did make4ht -ulm default -a debug index.tex "mathjax,htm,0" But when I look at index.htm it only shows chapter 2. Chapter 1 is lost. I never used \includeonly before since not needed in PDF for me, as no problem compiling large pdf file. Is it possible to use this method to compile each chapter on its own to avoid the DVI limit and still get the final HTML page showing all chapters on it or is this not possible with tex4ht? TL 2026
- How to have multiple hyperlinks in a TikZ picture with alt text and valid tagging?by Senex on June 30, 2026 at 10:02 am
In the MWE below, the TikZ picture is a ‘roadmap’ showing how various lemmas combine in a proof (vastly simplified from my original), and I would like to have the hyperlinked \refs to the lemmas (which are spread over multiple pages in my original). But with alt={...}, VeraPDF complains that Link annotations that target different locations shall be in separate Link or Reference structure elements If I remove alt={...}, the PDF passes validation. If I change \ref to \ref* to remove the hyperlinks, the PDF passes validation. If there is only one hyperlink in the TikZ picture, the PDF passes validation. The same problem occurs replacing on alt={...} with artifact. I understand that tagging is in development, but is there any quick fix or workaround that allows multiple hyperlinks in a TikZ picture with alt text? (Or is there perhaps some fundamental incompatibility with tagging multiple hyperlinks inside a TikZ picture?) MWE: \DocumentMetadata{ pdfversion=2.0, pdfstandard=UA-2, lang=en-GB, tagging=on, } \documentclass{article} \usepackage{unicode-math} \usepackage{hyperref} \usepackage{tikz} \newtheorem{lemma}{Lemma} \title{Test} \begin{document} Roadmap of proving the theorem: \begin{tikzpicture}[alt={Roadmap}] \node (A) at (0,0) {$A$}; \node (B) at (2,0) {$B$}; \node (C) at (4,0) {$C$}; \draw[->] (A) edge node[auto] {Lem.~\ref{lem:ab}} (B); \draw[->] (B) edge node[auto] {Lem.~\ref{lem:bc}} (C); \end{tikzpicture} \begin{lemma} \label{lem:ab} If $A$, then $B$. \end{lemma} \begin{lemma} \label{lem:bc} If $B$, then $C$. \end{lemma} \end{document}
- Why does physics enlarge brackets after \exp[...] but not after \log[...] or \ln[...]?by Firestar-Reimu on June 30, 2026 at 9:43 am
I'm using the physics package and noticed an inconsistent behavior of its automatic delimiter feature. According to the package documentation, automatic bracing is extended to functions such as \exp, \log, \ln, \det, and \Pr. However, I found that parentheses and square brackets behave differently. Here is a minimal example: \documentclass{article} \usepackage{physics} \begin{document} \[ \exp[\frac{1}{x}] \] \[ \log[\frac{1}{x}] \] \[ \ln[\frac{1}{x}] \] \[ \det[\frac{1}{x}] \] \[ \Pr[\frac{1}{x}] \] \[ \exp(\frac{1}{x}) \] \[ \log(\frac{1}{x}) \] \[ \ln(\frac{1}{x}) \] \[ \det(\frac{1}{x}) \] \[ \Pr(\frac{1}{x}) \] \end{document} However, with the shorthand syntax, I observe the following behavior: \exp[...] → square brackets are automatically resized. \det[...] → square brackets are automatically resized. \Pr[...] → square brackets are automatically resized. \log[...] → square brackets are not resized. \ln[...] → square brackets are not resized. On the other hand, parentheses work correctly for all five functions: \exp(\frac{1}{x}) \log(\frac{1}{x}) \ln(\frac{1}{x}) \det(\frac{1}{x}) \Pr(\frac{1}{x}) all produce automatically sized parentheses. The physics manual only shows examples with parentheses, so I'm not sure whether the behavior for square brackets is intended. Also, if I use \ln\qty[\frac{1}{x}] and \log\qty[\frac{1}{x}], it can produce automatically sized parentheses. Question: Is this an intentional design choice, or is it a bug/inconsistency in physics? If intentional, why do \exp, \det, and \Pr accept automatic square brackets while \log and \ln do not?
- Itemize bullets changed when loading fontsetupby rahotep on June 29, 2026 at 8:39 pm
I am experiencing a unexpected interaction between the New Computer Modern fonts and the bullets used for itemize environments. They are replaced by squared bullets and I didn't see any reference about it the documentation. Here is a MWE % !TEX TS-program = lualatex \documentclass[12pt,a4paper]{article} \usepackage[sansdefault]{fontsetup} \usepackage{lipsum} \begin{document} \lipsum[1][1-5] \begin{itemize} \item item 1 \item item 2 \item item 3 \end{itemize} \lipsum[1][1-5] \end{document}
- Water molecule in tikz [duplicate]by Andy Fletcher on June 29, 2026 at 3:26 pm
How can I draw a water molecule using tikz like the ones in the image below with "H" in hydrogen atoms and "O" in oxygen atom?
- `memoize` and `PGFPlots`: multiple graphs get "merged" into one?by Thibault de Villèle on June 29, 2026 at 12:08 pm
I've got a bunch of figures which are PGFPlots elements side by side, as such: \begin{figure}[ht]% \centering% \begin{subfigure}{.49\textwidth}% \centering% \sizedplot{../path/to/plot-dir/bunny-multires}{p1-rmse.tikz}% \end{subfigure}\hfill% \begin{subfigure}{.49\textwidth}% \centering% \sizedplot{../path/to/plot-dir/bunny-multires}{p1-times-graph.tikz}% \end{subfigure}\\[1pt]% % Note: the `bunny-multires-plot` key is defined as the "legend name" in p1-rmse.tikz: \pgfplotslegendfromname{bunny-multires-plot}% \caption{Blah, blah, blah.}% \label{fig/bunny-multires}% \end{figure}% Where the \sizedplot command is defined as such: \NewDocumentCommand{\sizedplot}{s O{\textwidth} m m}{% \bgroup% \def\basepath{#3}% \def\fullpath{\basepath/#4}% \mmznext{meaning to salt={\fullpath}}% \begin{memoize}% \IfBooleanTF{#1}% If star, do not resize to #2. {\begin{tikzpicture}\input{\fullpath}\end{tikzpicture}}% {\resizebox{#2}{!}{\begin{tikzpicture}\input{\fullpath}\end{tikzpicture}}}% \end{memoize}% \egroup% }% This indirection is mainly due to the fact I include data from CSV files relative to the path of the plots, like: \addplot table [options] {\basepath/losses.csv}. When doing this, and enabling external compilation through the use of the memoize package, both graphs (the subfigure elements) are detected as the same "source", leading to one of the graphs (often the second one in the order they were defined) being copied in both sub-figures after memoization + recompilation. What could go wrong here? I've added -- as shown above -- the full path as a source for the salt in memoize's options, hoping they would thus get detected as two different graphs, but nothing seems to make that specific use case work. If I only have one TikZ / PGFPlots image in a figure environment, it compiles just fine. Here is a MWE, with all contents laid inline (sorry, the file is a bit long as a result): \documentclass{scrarticle} \usepackage{subcaption} \usepackage{siunitx} \usepackage{tikz} \usepackage{pgfplots} % IMPORTANT: switch this on/off to see the changes. \usepackage{nomemoize} %\usepackage{memoize} \NewDocumentCommand{\ValeurLegende}{m}{\num[output-exponent-marker=e,tight-spacing=true]{#1}}% \NewDocumentCommand{\ValeurAnnotation}{m}{\bgroup\scriptsize\num[output-exponent-marker=e,tight-spacing=true]{#1}\egroup}% \mmzset{padding=0pt, include context in ccmemo, trace} \pgfplotsset{% rmse/.style={table/col sep=comma,table/x={iteration}, table/y={classic}},% timings/.style={table/col sep=comma,table/x={iteration}, table/y={time-ms}},% }% \NewDocumentCommand{\sizedplot}{s O{\textwidth} m m}{% \bgroup% \def\basepath{#3}% \def\fullpath{\basepath/#4}% \mmznext{meaning to salt={\fullpath}}% \mmznext{meaning to context={\fullpath}}% \begin{memoize}% \IfBooleanTF{#1}% If star, do not resize to #2. {\begin{tikzpicture}\input{\fullpath}\end{tikzpicture}}% {\resizebox{#2}{!}{\begin{tikzpicture}\input{\fullpath}\end{tikzpicture}}}% \end{memoize}% \egroup% }% \begin{filecontents}{inline-loss-1.csv} iteration,time-ms,loss-abs,loss-cen,loss-fro 0,217.78973,9.07334387e-02,3.75475502e-04,2.29247450e-03 1,13.39216,8.98691937e-02,3.73302639e-04,3.80451954e-03 2,11.54511,8.92234743e-02,3.69715272e-04,4.83295647e-03 3,11.24531,8.90074968e-02,3.68322566e-04,5.51446620e-03 4,11.06645,8.86987820e-02,3.66538385e-04,6.02372689e-03 5,11.16146,8.89326632e-02,3.68111941e-04,6.37550279e-03 6,11.35311,8.90174806e-02,3.68967390e-04,6.63577626e-03 \end{filecontents} \begin{filecontents}{inline-loss-7.csv} iteration,time-ms,loss-abs,loss-cen,loss-fro 0,440.79675,4.83646780e-01,8.67330883e-08,4.42878436e-03 1,120.62730,4.86005545e-01,9.31322575e-10,5.97733771e-03 2,121.23386,4.86002266e-01,9.31322575e-10,6.64955098e-03 \end{filecontents} \begin{filecontents}{inline-rmse-1.csv} iteration,classic,normalized,normalizedpercent 00000,2.43285656e-01,1.58218700e+00,158.22 00001,8.82571621e-04,2.21190803e-01,22.12 00002,8.10880039e-04,2.27497900e-01,22.75 00003,7.84764765e-04,2.19129181e-01,21.91 00004,7.73038832e-04,2.14945569e-01,21.49 00005,7.67099671e-04,2.28823943e-01,22.88 00006,7.63582473e-04,2.29091554e-01,22.91 \end{filecontents} \begin{filecontents}{inline-rmse-7.csv} iteration,classic,normalized,normalizedpercent 00000,2.43285656e-01,1.58218700e+00,158.22 00001,7.45367841e-04,1.91473720e-01,19.15 00002,6.76008989e-04,1.71335431e-01,17.13 \end{filecontents} \begin{filecontents}{inline-rmse.tikz} \begin{semilogyaxis}[% width=7cm,% height=5cm,% legend columns=7,% legend to name={plot-loss},% xtick pos=bottom,% ytick pos=left,% ylabel={\texttt{Losses}},% ]% \addplot table [rmse] {\basepath/inline-rmse-7.csv};% \addlegendentry{\(\epsilon=\ValeurLegende{1e-7}\)}% \addplot table [rmse] {\basepath/inline-rmse-1.csv};% \addlegendentry{\(\epsilon=\ValeurLegende{1e-1}\)}% \end{semilogyaxis}% \end{filecontents} \begin{filecontents}{inline-timings.tikz} \begin{semilogyaxis}[% width=7cm, height=5cm,% xtick pos=bottom, ytick pos=left,% ylabel={\(t_i~(\unit{\milli\second})\)}, log ticks with fixed point,% ]% \addplot table [timings] {\basepath/inline-loss-7.csv};% \addplot table [timings] {\basepath/inline-loss-1.csv};% \end{semilogyaxis}% \end{filecontents} \begin{document} \begin{figure}[ht]% \centering% \begin{subfigure}{.49\textwidth}% \centering% \sizedplot{.}{inline-rmse.tikz}% \end{subfigure}\hfill% \begin{subfigure}{.49\textwidth}% \centering% \sizedplot{.}{inline-timings.tikz}% \end{subfigure}\\[1pt]% \pgfplotslegendfromname{plot-loss}% \caption{Blah, blah, blah.}% \label{fig/losses}% \end{figure}% \end{document} Passing include context in ccmemo and trace both helped me discover memoize does not expand the macro \fullpath when trying to memoize the second graph (inline-timings.tikz). Instead, it only receives this bit of code to generate the hash: Code: \IfBooleanTF {\BooleanFalse }{\begin {tikzpicture}\input {\fullpath }\end {tikzpicture}}{\resizebox {\textwidth }{!}{\begin {tikzpicture}\input {\fullpath }\end {tikzpicture}}} And since it is the same for both pictures, this means the second graph (encountered later) will be saved under the "common" hash when compiling for the first time, leading to the graphs being the same on the final PDF... Now that I've discovered the cause, I need to dig deeper into why it happens 🙂
- mhchem negative charge signs changes in math environmentsby Bekir Şahin on June 29, 2026 at 10:18 am
While using ce in the body, the - signs for the charge looks smaller. However, while using it in a math environment, the minus sign gets elongated and becomes more pronounced, which looks completely different than the previous one. I am using New CM, with lualatex. Is there a bypass for that? \ce{B-} \(\ce{B-}\), \ce{B+} \(\ce{B+}\), \ce{B^{2-}} \(\ce{B^{2-}}\), \ce{B^{2+}} \(\ce{B^{2+}}\)
- How to align wrapped page numbers in a MakeIndex/imakeidx indexby test on June 29, 2026 at 8:45 am
I have a problem with the formatting of index entries. If an index entry has multiple page references and the list of page numbers wraps onto a new line, the continuation line starts flush left. Instead, I would like the continued page numbers to be either aligned under the first page number (i.e. in the middle) or right-aligned. In some cases, even the first line does not place the page numbers flush with the right margin (unfortunately, I am not able to reproduce it here). For example, I currently get: De Civitate Dei, 1 3 whereas I would like sth. like De Civitate Dei, 1 3 This is my ist-file: quote '+' headings_flag 0 heading_prefix "" heading_suffix "}\\nopagebreak\n" symhead_positive "Symbole" numhead_positive "" delim_0 "\\nobreak\\hfill " delim_1 "\\nobreak\\hfill " delim_2 "\\nobreak\\hfill " delim_n "\\nobreak, " suffix_2p "f." preamble "\\begin{theindex}\n\n" postamble "\n\n\\end{theindex}\n" item_0 "\n\n \\indexspace\n\n \\item " item_1 "\n \\indexspace\n \\subitem " item_2 "\n \\indexspace\n \\subsubitem " What I want is: a continuation indent for wrapped page-number lines. So the page numbers stay in a fixed “column”, and if they wrap, the second line is indented under that column, not flush left, like here: This is my MWE: \documentclass{scrbook} \usepackage{imakeidx} \usepackage{hyperref} \usepackage{showframe} \makeatletter \renewcommand{\@idxitem}{\par}% remove \hangindent40\p@ \makeatother \makeindex \makeatletter \patchcmd{\idx@@heading}{\section*}{\chapter*}{}{} \makeatother \makeatletter %\renewcommand\@idxitem{\par} \renewcommand\@idxitem{\par\vspace{13pt}} \renewcommand\subitem{\par} \renewcommand\subsubitem{\par} \makeatother \begin{document} \section{First section} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam rutrum aliquet elit in pellentesque. Proin nulla eros, consequat nec\index{1@pu} convallis vel, vulputate vitae purus\index{0@purusu rusuru surus Schönheitswahnsinn}. Pellentesque consequat euismod sapien, ac porttitor diam laoreet id. Pellentesque habitant morbi tristique senectus\index{senectus} et netus et malesuada fames ac turpis egestas. Sed vehicula magna orci, nec congue sem congue ac. Sed fringilla aliquam interdum. Nullam quis commodo massa.\index{Schönheitswahnsinn abc def ghi jklmnopq} \pagebreak A \pagebreak TEST \pagebreak Test \pagebreak B \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak C \pagebreak Test \pagebreak Test \pagebreak Test \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak A \pagebreak TEST \pagebreak Test \pagebreak B \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak C \pagebreak Test \pagebreak Test \pagebreak Test \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak A \pagebreak TEST \pagebreak Test \pagebreak B \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak C \pagebreak Test \pagebreak Test \pagebreak Test \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak A \pagebreak TEST \pagebreak Test \pagebreak B \index{0@purusu rusuru surus Schönheitswahnsinn} \pagebreak C \pagebreak Test \pagebreak Test \pagebreak Test \index{0@purusu rusuru surus Schönheitswahnsinn} \printindex \end{document}
- Node label style in TikZ cdby CarLaTeX on June 29, 2026 at 7:47 am
Is it possible to set the font style of the node labels in tikz-cd? Pay attention: the node labels, not the arrow labels or the node itself. I tried with every label/.append style={font=\scriptstyle,}, but it doesn't work. In the following MWE, I would like to have all the node labels \scriptstyle, without writing it in every label. \documentclass{article} \usepackage{tikz-cd} \tikzset{punto/.style={ circle, fill=red, inner sep=2pt } } \begin{document} \begin{tikzcd}[ cells={nodes={punto}}, ] |[label=left:{\scriptstyle 1}]| & |[label=right:{\scriptstyle 2}]|\\ |[label=left:{\scriptstyle 3}]| & |[label=right:{\scriptstyle 4}]|\\ \end{tikzcd} \end{document}
- Font package, and disabling feature in main documentby True-Dig on June 29, 2026 at 1:59 am
We packaged a font so it can be reusable in different documents (see below). Is it the right way to do it? Comments welcome. The package is then used by simply adding \usepackage{ourfont}. We tried to look at various font packages but it seems to vary much between implementations... In a document (so without modifying the package), we want to disable ligatures for non-italic, or maybe just disable the Discretionary ones, tbd. Again, what is the right way to do this? This font (legally) comes from Adobe and is split into several .otf files for weight/style/optical sizes, hence the complexity of the loading... This is first way we do this, and fontspec seems to offer many solutions. All comments welcome. Thanks. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ourfont}[2026-06-28] \RequirePackage{fontspec} \setmainfont{OurFont}[ NFSSFamily = OurFont, Numbers = {OldStyle,Proportional}, Ligatures = {Common,Discretionary}, UprightFeatures = { Font = *, SizeFeatures = { {Size = -8.9, Font = *-Capt}, {Size = 9.0-14.9, Font = *}, {Size = 15.0-22.9, Font = *-Subh}, {Size = 23.0-, Font = *-Disp}, }, }, ItalicFeatures = { Font = *-It, SizeFeatures = { {Size = -8.9, Font = *-ItCapt}, {Size = 9.0-14.9, Font = *-It}, {Size = 15.0-22.9, Font = *-ItSubh}, {Size = 23.0-, Font = *-ItDisp}, }, }, BoldFeatures = { Font = *-Bd, SizeFeatures = { {Size = -8.9, Font = *-BdCapt}, {Size = 9.0-14.9, Font = *-Bd}, {Size = 15.0-22.9, Font = *-BdSubh}, {Size = 23.0-, Font = *-BdDisp}, }, }, BoldItalicFeatures = { Font = *-BdIt, SizeFeatures = { {Size = -8.9, Font = *-BdItCapt}, {Size = 9.0-14.9, Font = *-BdIt}, {Size = 15.0-22.9, Font = *-BdItSubh}, {Size = 23.0-, Font = *-BdItDisp}, }, }, FontFace = {l}{n}{ Font = *-LtDisp, }, FontFace = {l}{it}{ Font = *-LtItDisp, }, FontFace = {sb}{n}{ Font = *-Smbd, SizeFeatures = { {Size = -8.9, Font = *-SmbdCapt}, {Size = 9.0-14.9, Font = *-Smbd}, {Size = 15.0-22.9, Font = *-SmbdSubh}, {Size = 23.0-, Font = *-SmbdDisp}, }, }, FontFace = {sb}{it}{ Font = *-SmbdIt, SizeFeatures = { {Size = -8.9, Font = *-SmbdItCapt}, {Size = 9.0-14.9, Font = *-SmbdIt}, {Size = 15.0-22.9, Font = *-SmbdItSubh}, {Size = 23.0-, Font = *-SmbdItDisp}, }, }, ]
- draw line shadow or outlineby Abd el hamid BENAOUM on June 29, 2026 at 12:01 am
I am trying to draw a line in TikZ between two arbitrary points, for example, from $A(0,0)$ to $B(3,5)$, where the gradient (degradation) runs perpendicularly (transversely) to the path itself. The line should be solid black in the exact center and fade smoothly to white/transparent on both the top and bottom edges, looking like a soft or blurred brush stroke. like this: I managed to approximate this by drawing a manual path with calc offsets and calculating the specific shading angle manually: \begin{tikzpicture} % Define coordinates for the horizontal path (center-line) % A is the starting point, B is the ending point \coordinate (A) at (0,0); \coordinate (B) at (6,0); % Create a vertical degradation (fading) using a shaded rectangle. % We define a rectangle centered on the line, where: % - top color fades to white % - bottom color fades to white % - middle color is solid black % Adjust the height (e.g., 0.6cm) to make the bar and blur thicker or thinner. % Adjust the width (the X coordinate of B) to make it longer or shorter. \shade[top color=white, bottom color=white, middle color=black, line cap=butt] ($(A) + (0, 0.3cm)$) rectangle ($(B) + (0, -0.3cm)$); \end{tikzpicture}
- Column break from multicol package seems to be ignoredby Maniel SOTOMAYOR on June 28, 2026 at 10:57 pm
I'm trying to work two parallel columns of text with the multicol package. When I try to break columns it seems to be ignored. Here's a MWE: \documentclass[b6paper, 10pt, twoside, openright, final]{memoir} \setlrmarginsandblock{1.5cm}{.5cm}{*} \setulmarginsandblock{1.5cm}{*}{1} \checkandfixthelayout{} \usepackage{multicol} \usepackage{xcolor} \usepackage{lipsum} \title{ My Memoir } \author{M} \date{June 28, 2026} \begin{document} \begin{multicols}{2} \parbox[t]{\columnwidth}{% \lipsum[1][1-2] } \vfill\ \columnbreak \parbox[t]{\columnwidth}{% \lipsum[2][1-2] } \vfill\ \end{multicols} \end{document} The text continues on the same paragraph without switching columns. How can I make sure the text switches from the left column into the right column?
- How to add vertical space between index entries in LaTeX (without idxlayout) [duplicate]by test on June 28, 2026 at 6:01 pm
I would like to insert a 3 pt vertical space between index entries. How can I achieve this? I have already tried unsuccessfully using \renewcommand{\indexspace}{\vspace{6pt}} and \renewcommand\@idxitem{\par\vspace{3pt}}. Here is my MWE: \documentclass{scrbook} \usepackage{imakeidx} \usepackage{hyperref} \usepackage{showframe} \makeatletter \renewcommand{\@idxitem}{\par}% remove \hangindent40\p@ \makeatother \makeindex \makeatletter \patchcmd{\idx@@heading}{\section*}{\chapter*}{}{} \makeatother \makeatletter %\renewcommand\@idxitem{\par} \renewcommand\@idxitem{\par\vspace{3pt}} \renewcommand\subitem{\par} \renewcommand\subsubitem{\par} \makeatother \makeatletter \renewcommand{\indexspace}{\vspace{30pt}} \makeatother \setlength{\itemsep}{3pt} \setlength{\parsep}{0pt} \setlength{\parskip}{0pt} \begin{document} \section{First section} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam rutrum aliquet elit in pellentesque. Proin nulla eros, consequat nec convallis vel, vulputate vitae purus\index{purusu rusuru surus Schönheitswahnsinn}. Pellentesque consequat euismod sapien, ac porttitor diam laoreet id. Pellentesque habitant morbi tristique senectus\index{senectus} et netus et malesuada fames ac turpis egestas. Sed vehicula magna orci, nec congue sem congue ac. Sed fringilla aliquam interdum. Nullam quis commodo massa.\index{Schönheitswahnsinn abc def ghi jklmnopq} \printindex \end{document}
- Table of contents: Page numbers for part and multiline centered titleby Martin on June 28, 2026 at 3:44 pm
I want to adjust the table of contents such that The names of \parts are centered in the toc and appear with page numbers and The name of the toc has two lines that are centered. When I center the \parts, and add page numbers, these are not aligned with the page numbers of my sections. How can I align them properly? When using two lines in the name of the toc, the centering does not work. MWE: \documentclass{report} \usepackage{lipsum} \usepackage[newparttoc]{titlesec} \usepackage{titletoc} \usepackage{tocloft} \titleformat{\part}[display]{\Huge}{}{20pt}{\thispagestyle{empty}} \titlecontents{part}[0pt]{\addvspace{2pc}\centering\large\bfseries}{\hfill}{}{\hfill \contentspage} \setlength{\cftbeforesecskip}{6pt} \setlength{\cftbeforetoctitleskip}{0pt} \renewcommand{\cftpnumalign}{c} \renewcommand{\cfttoctitlefont}{\hfil\Huge\scshape} \renewcommand{\cftaftertoctitle}{\hfil} \setcounter{secnumdepth}{0} \setcounter{tocdepth}{1} \begin{document} \renewcommand{\contentsname}{Contents title \\ \small{contents title part 2}} \tocloftpagestyle{empty}{\pagestyle{empty} \tableofcontents \clearpage} \part{First Part} \section{a1} \lipsum[1-100] \section{a2} \lipsum[1-100] \section{a3} \lipsum[1-100] \part{Second PartSecond Part} \section{a1} \lipsum[1-100] \section{a2} \lipsum[1-100] \section{a3} \lipsum[1-100] \part{Third PartThird PartThird Part} \section{a1} \lipsum[1-100] \section{a2} \lipsum[1-100] \section{a3} \lipsum[1-100] \end{document}
- Stacking diacritics to small capitalsby Antonis on June 28, 2026 at 1:36 pm
A user asked how to stack diacritics on small capitals in NewCM. Small capitals are accessible via scmp from lowercase and via c2sc from uppercase, but stacking fails. For example, when A is followed by U+0304 (combining macron) with c2sc enabled, the letter switches to the plain capital A. When U+0304 is removed, the small capital A is produced correctly. NewCM contains information for stacking diacritics on its small capitals as well, but it seems there is a bug in the engine, or something else is happening that I do not understand. Here is an MWE: \documentclass{article} \usepackage[default]{fontsetup} \begin{document} \addfontfeatures{RawFeature=+c2sc} \textsc{ā, ī, ū, ṭ, ḍ, ḷ, ṁ, ṃ, ṇ, ṅ, ñ} \textsc{a}̄ \textsc{a} A Ā \end{document} Notice that small-cap n with tilde works because this character is precomposed in the font, but we cannot expect the font to have all characters precomposed, which is why we need stacking. The output is erratic. The line \textsc{a}̄ does not result from stacking but from the negative width of the macron, which is why it is not centered. Note that you may find another font that produces correct output, but this will only be because it has the above characters precomposed. Stacking still fails. We cannot precompose everything.
- Straight lines in a matrixby Andy Fletcher on June 28, 2026 at 12:14 pm
I'm trying to draw straight lines in a matrix using nicematrix, and I achived the code: \documentclass{article} \usepackage{nicematrix,tikz} \begin{document} \begin{equation*} \begin{bNiceMatrix} \CodeBefore[create-cell-nodes] \begin{tikzpicture} %\draw[blue,-] (3-1) -- (4-2) ; %\draw[blue,-] (4-2) -- (3-4) ; \draw[blue,-] (3-1.north west) -- (4-2.south east) ; \draw[blue,-] (4-2.south east) -- (3-4.north east) ; \end{tikzpicture} \Body a_{11} & a_{12} & a_{13} & a_{14} \\ a_{21} & a_{22} & a_{23} & a_{24} \\ a_{31} & a_{32} & a_{33} & a_{34} \\ a_{41} & a_{42} & a_{43} & a_{44} \end{bNiceMatrix} \end{equation*} \end{document} My problem is the straight lines are not centered in the entries of the matrix (see image below); I considered also \draw[blue,-] (3-1) -- (4-2) ; \draw[blue,-] (4-2) -- (3-4) ; instead of \draw[blue,-] (3-1.north west) -- (4-2.south east) ; \draw[blue,-] (4-2.south east) -- (3-4.north east) ; but in this case the two line are not linked. Any hint (desirably keeping the matrix created by nicematrix)? Thanks.
- 'atableau.ini' not found [closed]by Sebastiano on June 28, 2026 at 11:29 am
I use the v. 2.2.1 of atableau. Using this code this morning \documentclass{article} \usepackage{tikz} \usepackage{atableau} \begin{document} \Tableau[color theme=classic,box style={minimum size=4mm}]{123,456,789} \end{document} I get the error: ! LaTeX Error: File 'atableau.ini' not found. For immediate help type H <return>. ... l.59 \ior_open:Nn \g_tmpa_ior { atableau.ini } ? What happened?
- ! TeX capacity exceeded, sorry [save size=500000]. How to increase limit?by Nasser on June 28, 2026 at 7:16 am
I have large document with many \label{} and another document which does reference on these. This below is MWE to produce this error I get on my real document ! TeX capacity exceeded, sorry [save size=500000]. I tried to increase it in texmf.cnf but had no effect. (did rehash and rebuild formats, etc...) Is this hardcoded in lualatex? Is there a way to increase it? I know how to rebuild lualatex from source. I just now do not know where to look for this limit if it is hardcoded there or not to change it. \documentclass{book} \usepackage{hyperref} \begin{document} \chapter{A} \directlua{ for i = 1, 800000 do tex.print("\\section{" .. i .. "}\\label{".. i .."}") tex.print("some text") end } \end{document} Compile with lualatex gives (/usr/local/texlive/2026/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/local/texlive/2026/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty ))) (/usr/local/texlive/2026/texmf-dist/tex/latex/l3backend/l3backend-luatex.def) (./A.aux) (./A.out) (./A.out ! TeX capacity exceeded, sorry [save size=500000]. \Hy@pstringdef ...->\begingroup \edef ~{\string ~} \xdef \Hy@gtemp {\pdf@esca... l.499937 ...4\0009\0009\0009\0003\0006}{chapter.1} % 499937 382 words of node memory still in use: 2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 49 glue_spec, 3 attrib ute_list, 1 if_stack, 1 write nodes avail lists: 2:12,3:2,4:1,5:3,6:1,7:2,9:3 ! ==> Fatal error occurred, no output PDF file produced! Transcript written on A.log. > info >which lualatex /usr/local/texlive/2026/bin/x86_64-linux/lualatex >lualatex --version This is LuaHBTeX, Version 1.24.0 (TeX Live 2026) Development id: 7724 I asked google AI but it did not know.
- How to draw a diagram in math-mode or in-line LaTeX?, for example, the following kind of diagram? What packages do I require? [closed]by Sagnik Roy on June 28, 2026 at 7:04 am
I need to draw the following and similar kind of diagrams with labels inside an LaTeX article.
- How to remove the `:n` specifier when calling `\getdata:n { h }`?by xcn on June 28, 2026 at 4:41 am
If I replace in: \cs_new:Nn \getdata:n { \prop_item:Nn \g_landingslab_data_prop {#1} } \cs_set:Npn \getdata #1 { \prop_item:Nn \g_landingslab_data_prop {#1} } then I can use \getdata{ h } instead of \getdata:n { h } , is it the correct way to do this ? \documentclass[12pt]{article} \usepackage[UTF8]{ctex} \usepackage{amsmath,siunitx} \ExplSyntaxOn \prop_new:N \g_landingslab_data_prop \cs_new:Nn \getdata:n { \prop_item:Nn \g_landingslab_data_prop {#1} } \cs_new:Nn \putdata:nn { \prop_put:Nnn \g_landingslab_data_prop {#1} {#2} } \keys_define:nn { landingslab } { width .code:n = { \putdata:nn { width } {#1} }, length .code:n = { \putdata:nn { length } {#1} }, h .code:n = { \putdata:nn { h } {#1} }, c .code:n = { \putdata:nn { c } {#1} }, d .code:n = { \putdata:nn { d } {#1} }, s .code:n = { \putdata:nn { s } {#1} }, frontfaceload .code:n = { \putdata:nn { frontfaceload } {#1} }, rearfaceload .code:n = { \putdata:nn { rearfaceload } {#1} }, } \cs_new_protected:Nn \l_landingslab_calc:n { \keys_set:nn { landingslab } {#1} \putdata:nn { h0 } { \fp_eval:n { \getdata:n { h } - \getdata:n { c } - \getdata:n { d } / 2 } } landing~slab~thickness: ~$ h = \getdata:n { h } \, \unit{mm} $\par slab~effective~depth:~$ h\sb 0 = \getdata:n { h0 }\, \unit{mm} $\par } \NewDocumentCommand{\stairPTB}{m}{ \l_landingslab_calc:n {#1} } \ExplSyntaxOff \begin{document} \begin{center}{\large\bfseries civil air\ defence\ stair }\end{center} \stairPTB{ width = 1.5, length = 2.9, h = 120, c = 20, d = 12, s = 200, frontfaceload = 60, rearfaceload = 30 } \end{document}
- Formatting long division without the longdivision packageby Matt on June 28, 2026 at 3:59 am
I'm trying to make a worksheet where students need to fill out parts of a long division statement. I usually use the longdivision package, but realized that I can't cover up parts of it for students to fill out. Any suggestions? I've attached an image for reference.
- Display and execute Latex code with Pitonby Mariuslp on June 27, 2026 at 10:36 pm
I am trying to replicate an example in the nicematrix guide, using piton to display latex code, execute it, and add an annotation with the code. However, while the code gets correctly displayed and annotated, the matrix is not displayed. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%% MUST USE LuaLatex %%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \usepackage{amsmath} \usepackage{piton} % using github version from 2026-06-27 since 'annotation' key comes from oct. 2025 and is not available on overleaf yet % copy-pasted files piton.lua and piton.sty % Taken from https://github.com/fpantigny/nicematrix/blob/master/nicematrix.tex#L78 \let\myrlap\rlap \PitonOptions{language = verbatim, detected-commands = {myrlap, emph,textsl}, splittable = 4} \SetPitonStyle{ Number = , Comment = } \ExplSyntaxOn \dim_new:N \l__pantigny_width_dim \keys_define:nn { pantigny } { width .dim_set:N = \l__pantigny_width_dim , annotation .code:n = \PitonOptions { annotation = #1 } } \NewPitonEnvironment { Code } { O { } } { \char_set_catcode_other:N | \cs_set_eq:NN \emph \emphase \dim_zero:N \l__pantigny_width_dim \PitonOptions { annotation,indent-broken-lines,continuation-symbol=\empty,end-of-broken-line=\empty, continuation-symbol-on-indentation=\hspace{2em} } \keys_set:nn { pantigny } { #1 } \color{gray} \dim_compare:nNnT \l__pantigny_width_dim > \c_zero_dim { \PitonOptions { width = \l__pantigny_width_dim } \begin{minipage}[c]{\l__pantigny_width_dim} } } { \dim_compare:nNnT \l__pantigny_width_dim > \c_zero_dim { \end{minipage} } } \ExplSyntaxOff \begin{document} displays the code but not the matrix: \begin{Code}[width=9cm] $\begin{pmatrix} \frac{1}{2} & -\frac{1}{2}\\ \frac{1}{3} & \frac{1}{4} \\ \end{pmatrix}$ \end{Code} matrix can get normally displayed: $\begin{pmatrix} \frac{1}{2} & -\frac{1}{2}\\ \frac{1}{3} & \frac{1}{4} \\ \end{pmatrix}$ \end{document} What am I doing wrong? Alternatively, if there is a way to obtain a similar result with tcblisting (code displayed and executed + pdf annotation using e.g. pdfcomment, that works for me too. Bonus points for latex syntax highlighting.
- Using two different fonts in math mode with LuaLaTeXby rahotep on June 27, 2026 at 5:55 am
I'm trying to do the following in LuaLaTeX: having the main font be Arial; having the upper case letters in math font be Arial (if posible, not a strong requierement); having the lower case letters in math font be latin modern; having the numbers in math font be in Arial. To achieve these goals, I found out that the package mathastext could be a solution (as mentionned in a previous post), if used with the option "noletters". However, this option doesn't work as intended (or maybe I didn't understand what it was meant to do). Here is a MWE, with the result % !TEX TS-program = lualatex \documentclass[12pt,a4paper,french]{article} \usepackage{mathtools,amsfonts} % amsthm \usepackage[margin=1.5cm]{geometry} \usepackage{babel} \usepackage[no-math]{fontspec} % [no-math] \setmainfont{Arial} \usepackage[noletters,frenchmath*]{mathastext} % \MTmathstandardletters % \MTversion*{sans} \usepackage{lipsum} \begin{document} \lipsum[11] 1234567890 $1234567890$ $ABCDEFGHIKLMNOPQRSTUVWXYZ$ $abcdefghijklmnopqrstuvwxyz$ \end{document}
- Coloring a region of a sphere in 3D using TikZby John on June 23, 2026 at 11:15 am
I have just started using the 3d library in TikZ (and I'm quite new to the tikz package itself). I am modelling a physics problem; I want to draw a sphere that represents my system. The particularity of that sphere is to have regions delimited by parallel circles around the North and South poles; I would like to color these regions in a different shade than the rest of the sphere. I have been looking everywhere and I can't find how to do this (if it is possible); using \path and \fill doesn't seem to work. Sorry if it's a stupid question, thanks for your help! Here is my code (I'm also showing the θ,φ parametrization in my sketch; in commentary, my failed attempts for coloring the North Pole): \documentclass{article} \usepackage{tikz} \usepackage{tikz-3dplot} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[scale=3,tdplot_main_coords] \def\rvec{1.2} \def\thetavec{55} \def\phivec{35} \def\thetaRC{10} \shadedraw[tdplot_screen_coords,ball color = white] (0,0) circle (\rvec); \coordinate (O) at (0,0,0); \tdplotsetcoord{C}{\rvec}{\thetavec}{\phivec} \tdplotsetcoord{UD}{\rvec}{\thetaRC}{90} \tdplotsetcoord{UG}{\rvec}{\thetaRC}{-90} \draw[thick,->] (0,0,0) -- (1.7,0,0) node[anchor=north east]{$x$}; \draw[thick,->] (0,0,0) -- (0,1.7,0) node[anchor=north west]{$y$}; \draw[thick,->] (0,0,0) -- (0,0,1.7) node[anchor=south]{$z$}; \draw[-stealth,very thick,color=green!60!black] (O) -- (C) node[above right=-2] {P}; \draw[dashed, color=green!60!black] (O) -- (Cxy); \draw[dashed, color=green!60!black] (C) -- (Cxy); \tdplotdrawarc[color=green!40!black]{(O)}{0.4}{0}{\phivec}{anchor=north}{\(\varphi\)} \tdplotsetthetaplanecoords{\phivec} \tdplotdrawarc[color=green!40!black,tdplot_rotated_coords]{(0,0,0)}{0.7}{0}{\thetavec}{anchor=south west}{\(\theta\)} \draw[dashed] (\rvec,0,0) arc (0:360:\rvec); \draw[thick] (\rvec,0,0) arc (0:110:\rvec); \draw[thick] (\rvec,0,0) arc (0:-70:\rvec); %\tdplotdrawarc[fill=green!40!black]{(0,0,.995*\rvec)}{.0998}{0}{360}{anchor=south west}{\(\theta\)}; %\path[fill=red,fill opacity=0.5] (0,0,\rvec) -- plot[variable=\t,domain=0:360] (xyz spherical cs:radius=\rvec,longitude=\t,latitude=90-\thetaRC); \end{tikzpicture} \end{document}
- Consistent vertical alignment for open access icons with biblatex-extby user20478285 on June 21, 2026 at 7:55 pm
How can I have the same alignment for the open access icon from the biblatex-ext package even when used in a quote or itemize environment? The open access icon is aligned properly when using a plain fullcite or in the bibliography and sits on the baseline of the first line. When used in a quote or itemize environment however, the alignment is off. MWE below: \documentclass{article} \usepackage[style=ext-alphabetic]{biblatex} \usepackage[enable=true, symbolpackage=tikz]{biblatex-ext-oa} \addbibresource{biblatex-examples.bib} \begin{document} \fullcite{baez/article} \begin{quote} \fullcite{baez/article} \end{quote} \begin{itemize} \item \fullcite{baez/article} \end{itemize} \printbibliography \end{document}