Month
- Error in TeXbook on page 43?by Igor Liferenko on November 25, 2026 at 2:29 am
This is the quote from TeXbook p.43: ...the plain format of Appendix B, which defines % to be a special kind of symbol so that you can use it for comments... In fact, the category code of 14 is assigned to % in TeX source. But this phrase suggests that \catcode`\%=14 is done in plain.tex Doesn't it?
- tlmgr always hangs on the first packageby Celdor on November 22, 2026 at 1:45 pm
I have a problem with TexLive 2026 and its tlmgr manager on Windows. It doesn't seem to connect to any repository and always hangs on the first package tlmgr.pl: package repository https://tex.org.uk/systems/texlive/tlnet (verified) tlmgr.pl: saving backups to .../texlive/2026/tlpkg/backups tlmgr.pl: skipping forcibly removed package: abntex2-ufv tlmgr.pl: skipping forcibly removed package: abstract tlmgr.pl: skipping forcibly removed package: acmart tlmgr.pl: skipping forcibly removed package: allrunes tlmgr.pl: skipping forcibly removed package: anonchap tlmgr.pl: skipping forcibly removed package: apxproof tlmgr.pl: skipping forcibly removed package: asmeconf tlmgr.pl: skipping forcibly removed package: asmejour tlmgr.pl: skipping forcibly removed package: babel tlmgr.pl: skipping forcibly removed package: babel-french tlmgr.pl: prefetching 499 containers using 8 parallel downloads (curl) [ 1/210, ??:??/??:??] update: babel-hungarian [569k] (80546 -> 81130) ... Surprisingly, if I run tlmgr update --list it gives a list of ready-to-update package, but as soon as I run actual update command above, it hangs. The tlmgr option repository lists the main repository Default package repository (repository): http://mirror.ctan.org/systems/texlive/tlnet` I tested both PowerShell and Command Line, as well as I downloaded a new GUI installer and tested if this would proceed but it also hangs at any first package to download. Other things: VPN was turned off during tests Comodo Internet Security 2027 was disabled during tests Lastly out of despair, a new Output rule was added to Windows Firewall accepting all programs, all protocols and all ports for the time of testing tlmgr still could not proceed with updates. Any idea what might be blocking it? EDIT I am afraid it still doesn't work. I noticed every time I run tlmgr with regular options tlmgr update --self --all, a number of packages to update is decreasing. I wonder if the problem is with connection or perhaps with installing packages? I checked three first mirrors in a UK group I found on CTAN: Europe, and the effect was the same. I also checked their status with tkmgr repository status --repository <URL>, particularly tlmgr repository status --repository https://gb.mirrors.cicku.me/ctan/systems/texlive/tlnet tlmgr repository status --repository https://mirror.apps.cam.ac.uk/pub/tex-archive/systems/texlive/tlnet tlmgr repository status --repository https://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet and on all instances the repository was verified. Here are outputs from a few commands I read in Simd's answer. Below are outputs from all commands I found in Simd's answer. curl PS> curl.exe -fL --max-time 30 -o NUL https://tex.org.uk/systems/texlive/tlnet/archive/babel-hungarian.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 46368 100 46368 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k PS> curl.exe -fL --max-time 30 -o NUL https://tex.org.uk/systems/texlive/tlnet/archive/babel-hungarian.doc.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 523k 100 523k 0 0 1616k 0 --:--:-- --:--:-- --:--:-- 1631k6368 100 46368 0 0 178k 0 --:--:-- --:--:-- --:--:-- 179k the full output from tlmgr -v ... PS> tlmgr -v --prefetch 0 --repository https://tex.org.uk/systems/texlive/tlnet update --all D:The handle is invalid at open HKCU for all access D:found lang code lm = en-GB... D:tlmgr version 80687 (2026-10-18 13:24:31 +0200) D:maintree=D:/Portable/Programming/TexLiveFolder/texlive/2026 D:appending to package log file: D:/Portable/Programming/TexLiveFolder/texlive/2026/texmf-var/web2c/tlmgr.log D:appending to command log file: D:/Portable/Programming/TexLiveFolder/texlive/2026/texmf-var/web2c/tlmgr-commands.log D:Setting env var HTTPS_CA_FILE to D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/curl/curl-ca-bundle.crt D:tlmgr.pl:main: ::tldownload_server hash:: {enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x1f561888800)} D:setup_programs: preferring system versions D:(w32) trying to set up tar, default D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/tar.exe, arg --version D:Using shipped D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/tar.exe for tar (tested). D:program aria2c not usable from path D:(w32) trying to set up aria2c, default D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/aria2c/aria2c.exe, arg --version D:Default program D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/aria2c/aria2c.exe not readable? D:program curl found in path D:program wget found in path D:TLUtils::setup_programs: checking for ssl enabled wget D:TLUtils::setup_programs: wget has ssl, final wget args: --no-check-certificate --user-agent=texlive/wget --tries=4 --timeout=30 -q -O D:TLUtils::setup_programs: downloaders, after lwp, in order of preference: curl wget D:program lz4 not usable from path D:(w32) trying to set up lz4, default D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/lz4/lz4.exe, arg --version D:Using shipped D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/installer/lz4/lz4.exe for lz4 (tested). D:program zstd found in path D:program gzip found in path D:program xz found in path D:Using checksum method digest::sha D:Testing for gpg in gpg D: ... gpg ok! ["C:\Program Files\GnuPG\bin\gpg.EXE" --version >nul 2>&1] D:gpg command line: "C:\Program Files\GnuPG\bin\gpg.EXE" --homedir "D:\Portable\Programming\TexLiveFolder\texlive\2026\tlpkg\gpg" --no-secmem-warning --no-permission-warning --lock-never D:will verify cryptographic signatures D:trying to get https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 via lwp persistent connection (for C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\9_N4Y22PHk) D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) (for https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512) D:TLDownload::get_file: lwp cannot reach the server, not using it any more D:TLUtils::download_file: persistent connection ok, but download failed: https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 D:TLUtils::download_file: retrying with other downloaders. D:TLUtils::_download_file_program: curl https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\9_N4Y22PHk D:downloading https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 using curl --user-agent texlive/curl --retry 4 --retry-delay 4 --connect-timeout 30 --fail --location --silent --output D:download of https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 succeeded D:TLUtils::download_file: downloading using curl succeeded D:TLUtils::_download_file_program: curl https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\VKjCRU1rsW D:downloading https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc using curl --user-agent texlive/curl --retry 4 --retry-delay 4 --connect-timeout 30 --fail --location --silent --output D:download of https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc succeeded D:TLUtils::download_file: downloading using curl succeeded D:STATUS OUTPUT [GNUPG:] NEWSIG [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] SIG_ID xq+ZP610Rs24lBtVi2Kb1/yrteM 2026-11-25 1795567778 [GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution <tex-live@tug.org> [GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2026-11-25 1795567778 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] TRUST_ULTIMATE 0 pgpD:verification succeeded, output: gpg: Signature made 11/25/26 00:49:38 GMT Standard Time gpg: using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70 gpg: Good signature from "TeX Live Distribution <tex-live@tug.org>" [ultimate] D:cryptographic signature of https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 verified D:verify_checksum: found remote digest 6ea7f46585b1568fd6fa09c5614b8d8a22ca47dedd5c9ae9c5965528187c324c7c43a1891122f02440ff47d0f6fc5f45efcf426e707d1f94471c9c93a27cde0b from C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\9_N4Y22PHk for D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/texlive.tlpdb.main.4577d9357a2036b1609f6b0147cc5f3c and https://tex.org.uk/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 D:tlchecksum(D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/texlive.tlpdb.main.4577d9357a2036b1609f6b0147cc5f3c): ===6ea7f46585b1568fd6fa09c5614b8d8a22ca47dedd5c9ae9c5965528187c324c7c43a1891122f02440ff47d0f6fc5f45efcf426e707d1f94471c9c93a27cde0b=== D:verify_checksum: local_digest = 6ea7f46585b1568fd6fa09c5614b8d8a22ca47dedd5c9ae9c5965528187c324c7c43a1891122f02440ff47d0f6fc5f45efcf426e707d1f94471c9c93a27cde0b D:checksum of local copy identical with remote hash D:texlive-scripts remote revision 81281, texlive-scripts local revision 80903 tlmgr.pl: package repository https://tex.org.uk/systems/texlive/tlnet (verified) D:Automatic backups activated, keeping 1 backups. tlmgr.pl: saving backups to D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/backups D:tlmgr.pl: new pkgs: hep-talk backref tenkana micfong-sans-math moeptikz deckblatt fandol-braille pxpgftate unicodehat lc-visualizer vowelchart tblnotes luaalignstate florilegium tcbnestbreak tenkana.windows kanruby seasonalletters acousticintervals uprightsubs ua-jecon mathbb-one beamertheme-niederrhein kpi-thesis gmap-ufrgs bibupdate.windows wrapblock academic-paper-abnt leanify code-link mathwrap luacjk kanban-board bibupdate ncolumn beltmap import-citation-cff.windows tikzfins import-citation-cff hep-cv ltsaskaita nameref framecite persian-calendar beamer-textbox-emph katibmath contributor-credits tikzpizza mermin-equations sesameseeds lt3matrix vardadieniai drawmgr D:tlmgr.pl: deleted : D:tlmgr.pl: forced : bibleref-sbl allrunes circuit-macros abstract babel-hungarian apxproof bez123 ccaption asmeconf babel abntex2-ufv baskervillef babel-kazakh biblatex-abnt anonchap colorframed babelbidi booklet chemfig cjk-ko chngcntr biblatex-iso690 beamertheme-tcolorbox asmejour biblatex-ieee baskervaldadf acmart babel-french beamer-rl tlmgr.pl: skipping forcibly removed package: abntex2-ufv tlmgr.pl: skipping forcibly removed package: abstract tlmgr.pl: skipping forcibly removed package: acmart tlmgr.pl: skipping forcibly removed package: allrunes tlmgr.pl: skipping forcibly removed package: anonchap tlmgr.pl: skipping forcibly removed package: apxproof tlmgr.pl: skipping forcibly removed package: asmeconf tlmgr.pl: skipping forcibly removed package: asmejour tlmgr.pl: skipping forcibly removed package: babel tlmgr.pl: skipping forcibly removed package: babel-french tlmgr.pl: skipping forcibly removed package: babel-hungarian tlmgr.pl: skipping forcibly removed package: babel-kazakh tlmgr.pl: skipping forcibly removed package: babelbidi tlmgr.pl: skipping forcibly removed package: baskervaldadf tlmgr.pl: skipping forcibly removed package: baskervillef tlmgr.pl: skipping forcibly removed package: beamer-rl tlmgr.pl: skipping forcibly removed package: beamertheme-tcolorbox tlmgr.pl: skipping forcibly removed package: bez123 tlmgr.pl: skipping forcibly removed package: biblatex-abnt tlmgr.pl: skipping forcibly removed package: biblatex-ieee tlmgr.pl: skipping forcibly removed package: biblatex-iso690 tlmgr.pl: skipping forcibly removed package: bibleref-sbl tlmgr.pl: skipping forcibly removed package: booklet tlmgr.pl: skipping forcibly removed package: ccaption tlmgr.pl: skipping forcibly removed package: chemfig tlmgr.pl: skipping forcibly removed package: chngcntr tlmgr.pl: skipping forcibly removed package: circuit-macros tlmgr.pl: skipping forcibly removed package: cjk-ko tlmgr.pl: skipping forcibly removed package: colorframed D:academic-paper-abnt new package D:acousticintervals new package D:backref new package D:beamer-textbox-emph new package D:beamertheme-niederrhein new package D:beltmap new package D:bibupdate new package D:bibupdate.windows new package D:code-link new package D:contributor-credits new package D:deckblatt new package D:drawmgr new package D:fandol-braille new package D:florilegium new package D:framecite new package D:gmap-ufrgs new package D:hep-cv new package D:hep-talk new package D:import-citation-cff new package D:import-citation-cff.windows new package D:kanban-board new package D:kanruby new package D:katibmath new package D:kpi-thesis new package D:lc-visualizer new package D:leanify new package D:lt3matrix new package D:ltsaskaita new package D:luaalignstate new package D:luacjk new package D:mathbb-one new package D:mathwrap new package D:mermin-equations new package D:micfong-sans-math new package D:moeptikz new package D:nameref new package D:ncolumn new package D:persian-calendar new package D:pxpgftate new package D:seasonalletters new package D:sesameseeds new package D:tblnotes new package D:tcbnestbreak new package D:tenkana new package D:tenkana.windows new package D:tikzfins new package D:tikzpizza new package D:ua-jecon new package D:unicodehat new package D:uprightsubs new package D:vardadieniai new package D:vowelchart new package D:wrapblock new package D:collection-bibtexextra upd package D:collection-binextra upd package D:collection-fontsextra upd package D:collection-humanities upd package D:collection-langarabic upd package D:collection-langchinese upd package D:collection-langcjk upd package D:collection-langeuropean upd package D:collection-langjapanese upd package D:collection-latex upd package D:collection-latexextra upd package D:collection-luatex upd package D:collection-mathscience upd package D:collection-pictures upd package D:collection-publishers upd package D:combine upd package D:covington upd package D:creationboites upd package D:ctex upd package D:customenvs upd package D:docext upd package D:docmfp upd package D:electrumadf upd package D:enumext upd package D:epigraph upd package D:etoc upd package D:expltools upd package D:expose-expl3-dunkerque-2019 upd package D:fhj-script upd package D:figchild upd package D:fmtcount upd package D:fontaxes upd package D:fonttable upd package D:footnotehyper upd package D:footnotenosplit upd package D:gbt7714 upd package D:geist-font upd package D:geometry upd package D:gettitlestring upd package D:hanging upd package D:hawkdraw upd package D:hep-acronym upd package D:hep-bibliography upd package D:hep-float upd package D:hep-font upd package D:hep-graphic upd package D:hep-math upd package D:hep-math-font upd package D:hep-paper upd package D:hep-reference upd package D:hep-text upd package D:hep-title upd package D:hopatch upd package D:huawei upd package D:hyperref upd package D:hyphenat upd package D:ifmtarg upd package D:iftex upd package D:install-latex-guide-zh-cn upd package D:kvoptions upd package D:l3kernel upd package D:l3kernel-dev upd package D:latex-tagging-status upd package D:latex-via-exemplos upd package D:latexmk upd package D:layouts upd package D:libris upd package D:light-latex-make upd package D:linguexx upd package D:linguistix upd package D:lisnoti upd package D:ltx-talk upd package D:lua-font-config upd package D:luabidi upd package D:luacoolprop upd package D:luadraw upd package D:luahyperbolic upd package D:luatex-cn upd package D:luatexja upd package D:lucidcv upd package D:lyluatex upd package D:makecmds upd package D:markdown upd package D:math-shorthandz upd package D:mathalpha upd package D:mathtools upd package D:medstarbeamer upd package D:metacapture upd package D:mfb-oldstyle upd package D:midpage upd package D:mismath upd package D:mitthesis upd package D:moreverb upd package D:needspace upd package D:newfile upd package D:newtxtt upd package D:nextpage upd package D:nicematrix upd package D:numodel-bundle upd package D:ou-tma upd package D:pagenote upd package D:pdftexcmds upd package D:pgfornament-han upd package D:pgfplots-autonode upd package D:physketch upd package D:piff upd package D:plantuml upd package D:polexpr upd package D:poormanlog upd package D:printlen upd package D:profcollege upd package D:proofgraph upd package D:ps2eps upd package D:quran upd package D:romandeadf upd package D:romannum upd package D:rpgicons upd package D:sblarticle upd package D:sblbook upd package D:sblreport upd package D:scientific-thesis-cover upd package D:scontents upd package D:scripture upd package D:simpleicons upd package D:siunitx upd package D:sourcesans upd package D:spanish-mathml-intent upd package D:stdclsdv upd package D:string-diagrams upd package D:sttools upd package D:subcaptionlite upd package D:tagpdf upd package D:tcbpagefootnote upd package D:terminaltrees upd package D:tex4ht upd package D:texinfo upd package D:texlive-scripts upd package D:thermodynamics upd package D:tikz-umld upd package D:titling upd package D:tkz-berge upd package D:tkz-elements upd package D:tkz-fn upd package D:tkz-graph upd package D:tkz-grapheur upd package D:tocbibind upd package D:tocloft upd package D:tocvsec2 upd package D:transparent upd package D:tugboat-plain upd package D:udes-genie-these upd package D:ugentdocs upd package D:univie-ling upd package D:venturisadf upd package D:verbdef upd package D:verse upd package D:vertbars upd package D:weiqi upd package D:xint upd package D:xlistings upd package D:xtab upd package D:selected compressor: D:\Portable\Programming\TexLiveFolder\texlive\2026\tlpkg\installer\lz4\lz4.exe with -zfmq, on D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/backups/combine.r79461.tar D:tlchecksum(D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/backups/combine.r79461.tar.lz4): ===ef7c1c6d6d0b920518a9f818f3a9f50b83bf2b231209f4ef633e72d29c27465756016b6370e122cdaf3faee84a35e71831c5d3900c2994d194f960867d3447e6=== D: done combine.r79461.tar.lz4, size 540106, csum ef7c1c6d6d0b920518a9f818f3a9f50b83bf2b231209f4ef633e72d29c27465756016b6370e122cdaf3faee84a35e71831c5d3900c2994d194f960867d3447e6 D:Removing backup D:/Portable/Programming/TexLiveFolder/texlive/2026/tlpkg/backups/combine.r19361.tar.lz4 D:announce_execute_actions: given disable (for combine) D: TLPDB::remove_package: running remove postinstall D:TLPDB::_install_data: what=https://tex.org.uk/systems/texlive/tlnet/archive/combine.tar.xz, target=D:/Portable/Programming/TexLiveFolder/texlive/2026/texmf-dist, size=10592, checksum=4a1652fd0c7c4bba14b8e451cd92822442ee9551ab9ff20e81978642abaed92c7a8ef5afca080086b30770578fa4133a8847ebbf5a2b705ead6cb45dfbb47988, tmpdir=C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ D:TLUtils::_download_file_program: curl https://tex.org.uk/systems/texlive/tlnet/archive/combine.tar.xz C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ\combine.tar.xz D:downloading https://tex.org.uk/systems/texlive/tlnet/archive/combine.tar.xz using curl --user-agent texlive/curl --retry 4 --retry-delay 4 --connect-timeout 30 --fail --location --silent --output [ 1/214, ??:??/??:??] update: combine [924k] (79461 -> 81070) ... D:download of https://tex.org.uk/systems/texlive/tlnet/archive/combine.tar.xz succeeded D:TLUtils::download_file: downloading using curl succeeded D:TeXLive::TLUtils::check_file_and_remove C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ/combine.tar.xz, 4a1652fd0c7c4bba14b8e451cd92822442ee9551ab9ff20e81978642abaed92c7a8ef5afca080086b30770578fa4133a8847ebbf5a2b705ead6cb45dfbb47988, 10592 D:tlchecksum(C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ/combine.tar.xz): ===4a1652fd0c7c4bba14b8e451cd92822442ee9551ab9ff20e81978642abaed92c7a8ef5afca080086b30770578fa4133a8847ebbf5a2b705ead6cb45dfbb47988=== D:TeXLive::TLUtils::check_file_and_remove: checksums for C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ/combine.tar.xz agree D:TLUtils::untar: reading from xz -dcf < "C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ\combine.tar.xz" D:TLUtils::untar: unpacking C:\Users\dzkcomp\AppData\Local\Temp\_PVJ5yQ66n\JQTPc85jOQ/combine.tar.xz in D:/Portable/Programming/TexLiveFolder/texlive/2026/texmf-dist Right at the beginning, I found these two lines: D:The handle is invalid at open HKCU for all access ... Perhaps the problem is caused by a new system? Cheers!
- Space between lines math inside piton environmentby cacamailg on November 20, 2026 at 10:48 pm
The text inside $…$ gets cropped inside piton environment. See the following two examples: one inside the piton environment and other as a regular text. \documentclass{IEEEtran} \usepackage{xcolor} \usepackage{piton} \PitonOptions{% begin-escape=@,end-escape=@, begin-escape-math=$,end-escape-math=$, } \begin{document} \begin{figure} \begin{Piton}[ line-numbers, line-numbers/format=\rmfamily, line-numbers/sep=\labelsep, background-color=lightgray, continuation-symbol={}, end-of-broken-line={}, indent-broken-lines, language=verbatim, gobble=4, ] $I=\sum_{e_{tx} \neq e_{tx}^\ast} (p_{rx,tx} - l_{rx,tx})$ This is a line@\ldots@ \end{Piton} \caption{The caption.} \end{figure} \noindent $I=\sum_{e_{tx} \neq e_{tx}^\ast} (p_{rx,tx} - l_{rx,tx})$ \\ This is a line\ldots \end{document}
- upright pi and slanted large Greeks with kpfonts-otfby Jürgen on November 20, 2026 at 1:32 pm
I need an upright pi and slanted large Greeks throughout the document, but I can't find appropriate options in the manual. Is there any solution (I am quite sure, but I don't know it). \documentclass{scrartcl} \usepackage{unicode-math} \setsansfont{KpSans} \setmainfont{KpRoman} \setmathfont{KpMath-Regular} \begin{document} \noindent Status Quo: $\pi$ \&\ $\Theta$ \\ Wanted (whole document): $\symup{\pi}$ \&\ $\symit{\Theta}$ \end{document}
- How to Create a Chart of Taiwanese Bus Routes Using LaTeX?by mathrm alpha on November 20, 2026 at 4:58 am
For example, I want to use LaTeX to create a route map for Taiwan's intercity buses: Here's the code below: \documentclass[border=0pt]{standalone} \usepackage{fontspec} \usepackage{etoolbox} \usepackage{amssymb} \usepackage{xeCJK} \usepackage{tikz} \usetikzlibrary{arrows.meta,calc,shapes.geometric} \setCJKmainfont{Noto Sans CJK TC} \setmainfont{DejaVu Sans} \definecolor{redbus}{HTML}{B60000} \definecolor{goldbus}{HTML}{A38743} \definecolor{purplebus}{HTML}{B61C73} \definecolor{bluebus}{HTML}{126090} \begin{document} \begin{tikzpicture}[x=0.25mm,y=-0.25mm,inner sep=0pt,outer sep=0pt] \path[use as bounding box] (0,0) rectangle (960,765);\clip (0,0) rectangle (960,765); \fill[white] (0,0) rectangle (960,765); \fill[redbus] (0,0) rectangle (960,34); \node[white,font=\fontsize{9}{11}\selectfont] at (479,18) {大南汽車:0800-089-456 土城站:2274-1827 三重客運:0800-090-607 土城站:2261-4734}; \node[anchor=west,font=\bfseries\fontsize{76}{80}\selectfont,text=redbus] at (12,124) {265}; \draw[redbus,line width=2pt] (260,46)--(260,200); \node[anchor=north west,align=left,font=\fontsize{7}{11}\selectfont] at (269,40) { 一、起迄點:土城-行政院(經明德路)/土城-行政院(經中央路)\\ 二、頭末班車時間:05:30--22:00\\ 三、收費方式:二段票收費\\ 四、分段點/緩衝區:往程:埔墘(三民路)-捷運龍山寺站/返程:龍山寺(西園)-埔墘(三民路)\\ 五、發車間隔:標示紅色時刻為例假日行駛參考\\ \hspace{12pt}經明德路:05:30/06:20/07:00/07:10/07:40/08:40/09:30/10:20/11:10/11:25/11:50\\ \hspace{96pt}12:00/12:50/13:10/13:40/13:50/14:30/14:50/15:35/16:20/16:40/17:20\\ \hspace{96pt}18:15/19:05/19:55/20:45/21:35/22:00\\ \hspace{12pt}經中央路:06:00/06:35/06:50/07:20/07:35/08:15/09:00/09:15/09:50/10:05/10:45/11:40/12:20/12:35\\ \hspace{96pt}13:15/13:30/14:15/14:45/15:15/16:00/16:15/16:50/17:05/17:45/18:40/19:30/20:20/21:10 }; \draw[purplebus,line width=1.6pt,rounded corners=6pt,fill=white] (803,45) rectangle (948,124); \draw[purplebus,line width=1pt] (803,82)--(948,82); \node[align=center,font=\fontsize{8}{10}\selectfont,text=purplebus] at (875,63) {全程車假日\\狗狗公車固定班次}; \node[align=center,font=\fontsize{8}{10}\selectfont] at (875,103) {發車班次(經明德路)\\06:20/09:30/14:30}; \draw[redbus!40,line width=1.6pt] (23,216)--(937,216); % Routes: top row eastward, right descent, lower row westward, left return \draw[goldbus,line width=3pt,rounded corners=15pt] (34,263)--(901,263)--(924,263)--(924,467)--(52,467)--(35,467)--(35,414)--(127,414)--(127,466); \draw[goldbus,line width=3pt,rounded corners=9pt] (238,263)--(238,294)--(102,294); \draw[goldbus,line width=3pt,rounded corners=11pt] (509,263)--(509,357)--(570,357)--(570,263); \draw[goldbus,line width=3pt,rounded corners=10pt] (743,263)--(743,356)--(815,356)--(815,263); \draw[white,line width=5pt] (245,263)--(485,263); \draw[black,line width=1.7pt] (245,263)--(485,263); \node[font=\bfseries\fontsize{17}{18}\selectfont,rotate=0] at (522,287) {\textcolor{goldbus}{\Large$\triangleleft$}}; \node[font=\bfseries\fontsize{17}{18}\selectfont] at (738,287) {\textcolor{goldbus}{\Large$\triangleleft$}}; % pale separator \draw[redbus!30,line width=2pt] (25,660)--(935,660); % Editable stop marker and vertically set station name % #1=x coordinate, #2=y coordinate, #3=ordinary/red, #4=top/bottom, #5=stacked name \newcommand{\Stop}[5]{% \ifstrequal{#3}{red}{ \draw[redbus,line width=1.45pt,fill=white] (#1,#2) circle (7); \fill[redbus] (#1,#2) circle (2.5); }{\draw[black,line width=1.35pt,fill=white] (#1,#2) circle (7);} \ifstrequal{#4}{top}{ \node[anchor=north,align=center,font=\fontsize{9}{10}\selectfont] at (#1,{#2+14}) {#5}; }{\node[anchor=north,align=center,font=\fontsize{9}{10}\selectfont] at (#1,{#2+14}) {#5};} } \Stop{33}{263}{red}{top}{土\\城\\站} \Stop{63}{263}{ordinary}{top}{大\\同\\莊\\園} \Stop{101}{294}{red}{top}{土\\城\\站} \Stop{130}{294}{ordinary}{top}{看\\守\\所} \Stop{159}{294}{ordinary}{top}{捷\\運\\海\\山\\站} \Stop{189}{294}{ordinary}{top}{明\\德\\路\\一\\段} \Stop{218}{294}{ordinary}{top}{明\\德\\路} \Stop{255}{263}{ordinary}{top}{日\\新\\里} \Stop{284}{263}{ordinary}{top}{貨\\饒\\里} \Stop{313}{263}{ordinary}{top}{中\\央\\路} \Stop{342}{263}{red}{top}{中\\央\\一\\站} \Stop{370}{263}{ordinary}{top}{南\\雅\\站} \Stop{399}{263}{ordinary}{top}{亞\\東\\技\\術\\學\\院} \Stop{428}{263}{ordinary}{top}{信\\義\\路} \Stop{456}{263}{ordinary}{top}{郵\\局} \Stop{484}{263}{red}{top}{壽\\德\\新\\村} \Stop{513}{263}{ordinary}{top}{重\\慶\\國\\中} \Stop{543}{263}{red}{top}{重\\慶\\國\\中} \Stop{570}{263}{ordinary}{top}{重\\慶\\國\\中} \Stop{596}{263}{ordinary}{top}{重\\慶\\忠\\孝\\路\\口} \Stop{625}{263}{ordinary}{top}{忠\\孝\\路} \Stop{655}{263}{ordinary}{top}{中\\興\\醫\\院} \Stop{684}{263}{ordinary}{top}{福\\星\\里} \Stop{715}{263}{ordinary}{top}{鄉\\雲\\里} \Stop{757}{263}{ordinary}{top}{後\\站\\商\\圈} \Stop{800}{263}{ordinary}{top}{後\\站\\商\\圈} \Stop{842}{263}{red}{top}{介\\壽\\公\\園} \Stop{872}{263}{ordinary}{top}{板\\橋\\外\\站} \Stop{901}{263}{ordinary}{top}{民\\權\\路\\口} \Stop{52}{467}{red}{bottom}{立\\法\\院} \Stop{80}{467}{red}{bottom}{成\\功\\中\\學} \Stop{110}{467}{red}{bottom}{捷\\運\\善\\導\\寺\\站} \Stop{139}{467}{ordinary}{bottom}{臺\\北\\車\\站} \Stop{168}{467}{ordinary}{bottom}{中\\華\\路\\北\\站} \Stop{197}{467}{red}{bottom}{捷\\運\\西\\門\\站} \Stop{226}{467}{ordinary}{bottom}{小\\南\\門} \Stop{255}{467}{red}{bottom}{桂\\林\\昆\\明\\街\\口} \Stop{285}{467}{red}{bottom}{桂\\林\\路} \Stop{314}{467}{ordinary}{bottom}{龍\\山\\寺} \Stop{345}{467}{ordinary}{bottom}{龍\\山\\國\\寺} \Stop{379}{467}{red}{bottom}{捷\\運\\龍\\山\\寺\\站} \Stop{410}{467}{ordinary}{bottom}{大\\理\\服\\飾} \Stop{440}{467}{ordinary}{bottom}{西\\園\\2\\9\\服\\飾\\基\\地} \Stop{470}{467}{ordinary}{bottom}{華\\江\\高\\中} \Stop{507}{467}{ordinary}{bottom}{西\\園\\路\\二\\段} \Stop{537}{467}{ordinary}{bottom}{光\\復\\橋} \Stop{574}{467}{ordinary}{bottom}{光\\復\\橋} \Stop{603}{467}{ordinary}{bottom}{埔\\墘\\派\\出\\所} \Stop{633}{467}{ordinary}{bottom}{埔\\墘} \Stop{662}{467}{ordinary}{bottom}{埔\\墘\\里} \Stop{691}{467}{ordinary}{bottom}{自\\來\\水\\公\\司} \Stop{720}{467}{ordinary}{bottom}{正\\隆\\廣\\場} \Stop{750}{467}{ordinary}{bottom}{中\\山\\路\\口} \Stop{779}{467}{red}{bottom}{捷\\運\\板\\新\\站} \Stop{808}{467}{red}{bottom}{中\\山\\漢\\生\\路\\口} \Stop{838}{467}{ordinary}{bottom}{新\\北\\市\\政\\府} \Stop{868}{467}{ordinary}{bottom}{新\\北\\板\\橋\\公\\車\\站} \Stop{898}{467}{ordinary}{bottom}{新\\北\\市\\政\\府} % numbered major connection stations \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (101,244) {1}; \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (159,244) {2}; \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (379,441) {3}; \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (197,441) {4}; \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (139,441) {5}; \node[font=\bfseries\fontsize{16}{16}\selectfont,text=redbus] at (80,441) {6}; % small transfer station pictograms \foreach \x/\y in {160/402,139/590,197/577,379/600,779/584,110/596}{ \fill[bluebus] (\x-7,\y-8) rectangle (\x+7,\y+8); \node[white,font=\bfseries\fontsize{12}{12}\selectfont] at (\x,\y) {\textsf{M}}; } % lower panel, note legends and English data \node[anchor=north west,align=left,font=\fontsize{8}{11}\selectfont] at (18,667) {圖例說明:\\\textcolor{redbus}{\large$\odot$} 起迄點 \textcolor{bluebus}{\bfseries M} 捷運站\\$\circ$ 雙邊設站 \textcolor{redbus}{$\triangleright$} 單邊設站\\$\blacklozenge$ 分段點/緩衝區}; \draw[redbus,line width=1.1pt] (201,667)--(201,757); \node[anchor=north west,align=left,font=\fontsize{7}{9}\selectfont] at (205,667) {\textbullet\ Tucheng-Executive Yuan\\\textbullet\ Hours of Operation : 05:30--22:00\\\textbullet\ Fare Zones : 2X\\\textbullet\ Fare Increase/Buffer Zone :\\Depart : Puqian(Sanmin Rd.)--MRT Longshan Temple Sta.\\Return : Longshan Temple(Xiyuan)--Puqian(Sanmin Rd.)\\\textbullet\ Headway : Fixed Time}; \draw[redbus,line width=1.1pt] (597,667)--(597,756); \node[anchor=north west,align=left,font=\fontsize{8}{10}\selectfont,text=goldbus] at (604,667) {1.Tucheng Stop\\2.MRT Haishan Sta.\\3.MRT Longshan Temple Sta.\\4.MRT Ximen Sta.\\5.Taipei Main Sta. (Zhongxiao)\\6.MRT Shandao Temple Sta.}; % accessible service mark \draw[bluebus,line width=2pt,rounded corners=7pt] (884,671) rectangle (940,728); \node[font=\fontsize{43}{46}\selectfont,text=bluebus] at (912,699) {♿}; \node[font=\fontsize{8}{10}\selectfont,text=bluebus,align=center] at (911,746) {行駛車輛有\\低地板公車}; \node[anchor=south west,font=\fontsize{7}{8}\selectfont] at (16,761) {108.12.31}; \end{tikzpicture} \end{document} In particular, I noticed that the arrow and the text layout didn't quite line up.
- TikZ: Tangent to the x-axis with calc library onlyby cis on November 19, 2026 at 9:33 pm
I want to produce something like this: It is no problem to draw that tangent as a plot or an analytic function, but I wonder: Is there a solution using only the calc library to add the tangent (from the point P on the circle to the x-axis)? Here is my (incomplete) MWE: \documentclass[margin=5pt, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \pgfmathsetmacro\r{3} \pgfmathsetmacro\w{77} \begin{document} \begin{tikzpicture} \coordinate[] (O) at (0,0); \coordinate[label=$P$] (P) at (\w:\r); \draw[help lines, step=0.5] (-5,-5) grid (15,5); %% CoSy \draw[->] (-5,0) -- (15,0) node[below] {$x$}; \draw[->] (0,-5) -- (0,5) node[left] {$y$}; %% Circle \draw[blue, thick] (0,0) circle[radius=\r]; \draw[] (0,0) -- (P); %% Tangent (part) \draw[red, thick] ($(P)!6cm!90:(O)$) -- ($(P)!2cm!-90:(O)$); %% Points \foreach \P in {P} \draw[fill=black!1] (\P) circle[radius=1.5pt]; \end{tikzpicture} \end{document}
- Formatting LaTeX before use in verbatim environmentby k4l1 on November 19, 2026 at 5:37 am
I'm typesetting a large document that has code examples with included Latex symbols. I don't actually write the text, so I can't edit the syntax, but I do control the definition of the environment it's rendered in (env in the example below): \begin{env} let main () = let a = int{\char95}of{\char95}string Sys.argv.(1) in let b = int{\char95}of{\char95}string Sys.argv.(2) in Printf.printf "\%d{\char92}n" (gcd a b); exit 0;; main ();; \end{env} I'd ideally like to highlight the code with minted, but since that's a verbatim environment it prints the \char95 as text instead of the requisite character. I've looked through minted/tcblistings docs with no real luck as far as I'm aware. What's my best option here? Of note: I do highlight using a custom Pygments lexer, so if adding something to that definition is easiest that would be possible on my end 🙂
- babel package, font selection's malfunctioningby glenncounty on November 19, 2026 at 2:41 am
After any \textit (or \textsc), the italic (or small capital) shape is applied to all Latin text in the paragraph, including text before the \textit (or \textsc). It also continues into later paragraphs until a new font shape selection occurs. Korean standard does not use italic and does not distinguish between capital and small letters. How can I solve this problem? FYI, I use windows 10 pro x64, texlive 2026, lualatex. Here is the working example: \documentclass{article} \usepackage[english, provide*=*, main=korean]{babel} \babelprovide[onchar=ids fonts]{english} \babelfont{rm}{TeX Gyre Termes} \babelfont[english]{rm}{TeX Gyre Termes} \babelfont[korean]{rm}{Un Batang} % no italic shape % Workaround: give the Korean font fake italic and small caps shape of its own %\babelfont[korean]{rm}[Scale=0.875, AutoFakeSlant=0.15, SmallCapsFont={Un Batang}, SmallCapsFeatures={Scale=0.875}]{Un Batang} \begin{document} Main language: \languagename 0. 한글 normal text, before any italic. 1. 한글 this should be normal. \textit{This is in italic.} this should be normal. 2. 한글 this should be normal in a new paragraph. 3. 한글 finally normal with a new font shape selection: \textnormal{normal}. 4. 한글 this should be normal. \textsc{This is in small caps.} This should be normal. 5. 한글 this should be normal in a new paragraph. 6. 한글 finally normal with a new font shape selection: \textnormal{normal} \end{document}
- lualatex fails to read the math table parameter for rootsby Antonis on November 17, 2026 at 10:14 am
When switching Math fonts lualatex fails to read the current RadicalRootThickness parameter. But xelatex does it correctly. MWE follows: \documentclass{article} \usepackage{unicode-math} \setmathfont{NewCMMath-Bold.otf} \setmathfont[range={\mathscr,\mathbfscr}]{NewCMMath-Book.otf} \setmathfont{NewCMMath-Bold.otf} \begin{document} \[ \sqrt{\frac{\displaystyle\sum_{n=1}^\infty a_n}{\displaystyle\sum_{n=1}^\infty a_n}}% \] \end{document} The output is as follows:
- How to have a \cup symbol different from the other symbols?by Rup_Cantor on November 17, 2026 at 4:15 am
I am writing a report and for the document I am using \usepackage{newtxmath,newtxtext}, which is quite a standard and nice font. However I am not liking the summation and the union symbol in it. I do like the default summation and union symbols that uses computermodern font I guess. So I want to use the default summation and union symbols while still using newtxmath for others. I searched for it, and found how to do it for summation symbol from the answers to the post Having one math symbol be in a different font from the others. But I'm having trouble how to do the same for the union symbol. Following the kind suggestion of @egreg given in the comments I am asking a new question about the symbol \cup. Since I'll be using the default \cup symbol so it is necessary that the \bigcup,\cap,\bigcap symbols all are in default of $\LaTeX$. Here's a code to start with: \documentclass[a4paper,12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{newtxmath,newtxtext} \begin{document} I want the $\cup$ and $\bigcup$ symbols in default font. \end{document}
- XeTeX Color Stack Overflow Bug?by Explorer on November 16, 2026 at 8:11 am
Let's consider the following code: \documentclass{article} \usepackage{color} \begin{document} \ExplSyntaxOn \prg_replicate:nn {126} {\color{red}} \ExplSyntaxOff {\color{black}\textcolor{black}{XXX} SHOULD BE BLACK} \end{document} With pdflatex or lualatex, it behaves as expected: However, with xelatex, the color stack overflows(?): Any suggestions or paraphase? It looks like a bug with xdvipdfmx? Edited The more original example: \documentclass{article} \usepackage{tcolorbox,adjustbox} \tcbuselibrary{listings} \tcbset{listing engine=listings} \DeclareTCBListing{DocExample}{!s!O{//}}{} \begin{filecontents*}[overwrite]{\jobname-empty.tex} \begin{DocExample} \end{DocExample} \end{filecontents*} \ExplSyntaxOn \sys_if_engine_luatex:F { \cs_new_eq:NN \__ztex_doc_physical_newwrite:N \newwrite \RequirePackage{morewrites}[2024/02/02] \cs_set_eq:NN \__iow_new:N \__ztex_doc_physical_newwrite:N } \newcommand{\adjustBox}[1]{ \adjustbox{set~height=0pt, set~depth=0pt}{#1} } \newcommand{\EmptyExamples}{ \prg_replicate:nn {118} {\input{\jobname-empty.tex}} } \ExplSyntaxOff \AddToHook{env/DocExample/after}[ztex-doc-example-color]{\color{.}} \begin{document} \EmptyExamples \makeatletter \begin{DocExample}* \begin{tcolorbox}[]\adjustBox{XXX} THE BUGGY WHITE TEXT \tcblower THE NORMAL TEXT \end{tcolorbox} \end{DocExample} \end{document} The last page:
- Why is package `cacography` mandatory in `collection-lualatex`?by rallg on November 15, 2026 at 6:54 pm
This might be a question for CTAN, but before I go there, I ask here: Using Linux, TeXlive 2026. Today's update force-installed package cacography. Never heard of it, but I went to CTAN and obtained its documentation. This package is ultra-specialized, and furthermore requires Python support (and possibly NVIDIA support) with limited licensing. I tried to remove the package, but tlmgr informed me that I could not, because it is now part of collection-lualatex. My question: Why is such a specialized package now an integral part of collection-lualatex? I cannot imagine that the prospective user base is large. EDIT: My original question was poorly phrased. As noted in comments, this package was not supposed to be in TeXlive, because it needs extra (not entirely free) software to make it work. So it was removed from TeXlive. But it is a nice package, if your purpose will conform to the licensing for the extra software, so it is still available via CTAN.
- Inner block vspace depending on whether first or last child of outer blockby David Purton on November 14, 2026 at 12:13 pm
The new block implementation is much more flexible than the old \list option. So, I'm hunting for a neat way of controlling the vspace around an inner block depending on whether the inner block is a first or last thing inside an outer block. Implementation should work with and without tagging enabled. The rule set for the inner block environment should be: Set begin-vspace and end-vspace to some value (could be different). If inner block is first thing inside outer block, set begin-vspace to 0pt. If inner block is last thing inside outer block, set end-vspace to 0pt. MWE %! TeX Program = lualatex \DocumentMetadata{} \documentclass{article} \begin{document} Text above outer block environment. \begin{displayblock}[ , begin-vspace = 0pt , begin-extra-vspace = 0pt , end-vspace = 0pt , end-extra-vspace = 0pt ] \begin{displayblock}[ , begin-vspace = 1ex , begin-extra-vspace = 0pt , end-vspace = 1ex , end-extra-vspace = 0pt ] Only put space above if not first thing in outer block. Only put space if not last thing in outer block. \end{displayblock} \end{displayblock} Text below outer block environment. \end{document}
- How to Significantly Increase the Number of Circularly Arranged Tikz Stars?by DDS on November 13, 2026 at 11:00 pm
Consider the code: \documentclass{article} \usepackage{tikz,xcolor} \usetikzlibrary{decorations.text} \usetikzlibrary{shapes.geometric} \pgfkeyssetvalue{cacamailg/picture-scale}{1.5} % To produce the stars \definecolor{red_color}{RGB}{111,6,2} \begin{document} \pagecolor{red_color} {\begin{tikzpicture} \foreach \k in {0,1,...,39}{ \node[ xscale=0.10,yscale=0.10, shape=star, star points=5, star point ratio=3.0, minimum size=0.8cm, fill=white, draw=white, rotate=360*\k/100, ] at (360*\k/40+90:5.7cm) {}; } \end{tikzpicture}} \end{document} which produces: There are 40 five-point stars circularly arranged in this display. I would like to be able to increase this to, say, 120 such circularly arranged stars; however, when I try to do this, I get an error message stating "dimension too large." QUESTION: How may I (if possible) increase the number of stars in the display in excess of 100? Thank you.
- Florilegium both margins at same pageby CrocoDuck on November 13, 2026 at 5:20 pm
I tried placing flowers on both sides of the text using "florilegium," but without success. \documentclass[11pt,a4paper]{article} \usepackage{fontspec} \usepackage[a4paper, left=55.1mm, right=55mm, top=10mm, bottom=30mm]{geometry} \usepackage[grown, density=.6]{florilegium} \begin{document} \vline \end{document} There is also Tikzflora, but it produces much larger files; the file for the image below -- even when empty and set to a density of 0.1 -- is 2.7 MB, whereas a file using "florilegium" is 350 KB.
- ltx-talk and \partby EconGuy on November 13, 2026 at 12:19 pm
I am confused, in the ltx-talk documentation it says "\part exists to structure your presentation"(and resets the ToC, which I want),see this link, but when I use \part, then it comes up as an 'undefined control sequence'. Am I missing the obvious? MWE: \DocumentMetadata{tagging = on, pdfstandard = ua-2} \documentclass{ltx-talk} \begin{document} \part{Main Presentation} \begin{frame} \frametitle{Part 1 Overview} \tableofcontents % Shows only sections in Part 1 \end{frame} \section{Introduction} \begin{frame}\frametitle{Intro} Content... \end{frame} \section{Methodology} \begin{frame}\frametitle{Methods} Content... \end{frame} % --- Start a later part with a new ToC --- \part{Advanced Topics} \begin{frame} \frametitle{Part 2 Overview} \tableofcontents % Shows only sections in Part 2 \end{frame} \section{Deep Dive} \begin{frame}\frametitle{Details} Content... \end{frame} \section{Future Work} \begin{frame}\frametitle{Next Steps} Content... \end{frame} \end{document}
- Procedure for taking over maintenance of a CTAN package with old maintainer's permission in 2026by jwodder on November 12, 2026 at 2:08 pm
I recently e-mailed the maintainer of a CTAN package about a problem with it, and they responded that they don't use it anymore and would be fine with me taking over maintenance. Before I try blindly uploading a new version at https://ctan.org/upload, I feel I should ask: How do I establish to the CTAN staff that I have the maintainer's blessings to do this? Should I ask the maintainer to e-mail CTAN? Is there a button in the CTAN web interface that they can press to give me maintainer powers? Further information: The package's ctan.org page states that the package is licensed under version 1 of the LaTeX Project License (which, from a quick look, says nothing about maintainership), while the README.txt file in the package source just states "This program is provided under the terms of the LaTeX Project Public License distributed from CTAN archives in the directory macros/latex/base/lppl.txt" — and, in my version of TeX Live, that file contains version 1.3c of the LPPL, which states: If the Current Maintainer is reachable and agrees to pass maintenance of the Work to you, then this takes effect immediately upon announcement. The "announcement" bit appears to be a reference to a previous clause that states: ..., then announce within the pertinent community your intention to take over maintenance. (If the Work is a LATEX work, this could be done, for example, by posting to comp.text.tex.) Do people really post stuff like this on Usenet in this day & age? I'd have to jump through multiple hoops to post there.
- foreach doesn't split a dynamically build variable (csname)?by lAtExFaN on November 11, 2026 at 5:33 pm
I would like to process/build a list of filenames to be processed by \input I use pgf's foreach to process/build the list for filenames. But the build lists aren't split (seems to be expansion; I have no clue how to solve (not even how to ask properly). Hopefully this example code helps to understand my goal and the problem. \documentclass{article} \usepackage{pgffor}% http://ctan.org/pkg/{pgf,pgffor} \begin{filecontents}[overwrite,noheader]{fileA.tex} Content file A\par \end{filecontents} \begin{filecontents}[overwrite,noheader]{fileB.tex} Content file B\par \end{filecontents} \begin{filecontents}[overwrite,noheader]{fileC.tex} Content file C\par \end{filecontents} \begin{document} %There are n lists, named eg. parts- and stationsList: \newcommand{\partsList}{fileA,fileB,fileC} \newcommand{\stationsList}{fileC,fileB,fileA} % I would like to iterate over the names, build the lists % and \input each list's files: \foreach \listName in {parts, stations} {% \newcommand{\aList}{\csname \listName List\endcsname} aList (\listName): \aList\par %<- seems fine, but ... \foreach \file in \aList {% ... isn't split %\input{\file} %<- fails obiously f: \file\par %<- output for debugging/testing } } \end{document}
- Attempting to make align environment that's very long fit on pageby leg42004 on November 11, 2026 at 5:57 am
I am working on formatting a line of equalities, including a second column labelling where each equality comes from. Below is my tex code. Any ideas on how to get this to look nice and fit on the page? \documentclass{article} \usepackage{amsmath} \begin{document} \newcommand{\by}[2]{&{#1}&\text{#2}} \newcommand{\id}{\text{id}} \newcommand{\ev}{\text{ev}} \newcommand{\coev}{\text{coev}} \newcommand{\cat}{\mathcal{C}} \begin{alignat*}{2} &(\id_Z \otimes \ev_Y \otimes \id_{X^*}) \circ (\tilde{g} \otimes \tilde{f}) = (\id_Z \otimes \ev_Y \otimes \id_{X^*})\circ (((g\otimes \id_{Y^*}) \circ \coev_Y) \otimes (f\otimes \id_{X^*}) \circ \coev_X)\\ &= (\id_Z \otimes \ev_Y \otimes \id_{X^*})\circ (g\otimes \id_{Y^*}\otimes f\otimes \id_{X^*}) \circ (\coev_Y \otimes \coev_X) \by{\quad}{by functoriallity of $\otimes$}\\ &=(\id_Z\otimes \ev_Y \otimes \id_{X^*}) \circ (\id_Z \otimes \id_{Y^*}\otimes \id_Y \otimes \id_{X^*}) \circ (g\otimes \id_{Y^*}\otimes f\otimes \id_{X^*}) \circ (\coev_Y \otimes \coev_X)\\ &= (g\otimes \ev_Y \otimes \id_{X^*}) \circ (\id_Y \otimes \id_{Y^*}\otimes \id_Y \otimes \id_{X^*}) \circ (\id_Y\otimes \id_{Y^*}\otimes f\otimes \id_{X^*}) \circ (\coev_Y \otimes \coev_X)\\ &= (g\otimes \ev_Y \otimes \id_{X^*}) \circ (\id_Y \otimes \id_{Y^*}\otimes \id_Y \otimes \id_{X^*}) \circ (\coev_Y \otimes ((f\otimes \id_{X^*})\circ \coev_X) \by{\quad}{by functoriallity of $\otimes$}\\ &= (g\otimes \id_{1_\cat} \otimes \id_{X^*}) \circ (\id_Y \otimes \ev_Y \otimes \id_{X^*}) \circ (\id_Z \otimes \coev_Y \otimes \id_{X^*}) \circ (((f\otimes \id_{X^*})\circ \coev_X) \\ &= (g\otimes \id_{1_\cat} \otimes \id_{X^*}) \circ (((\id_Y \otimes \ev_Y) \circ (\id_Z \otimes \coev_Y)) \otimes \id_{X^*}) \circ (((f\otimes \id_{X^*})\circ \coev_X) \by{\quad}{by functoriallity of $\otimes$}\\ &= (g\otimes \id_{X^*}) \circ (\id_Y \otimes \id_{X^*}) \circ (((f\otimes \id_{X^*})\circ \coev_X) \by{\quad}{by $\cat$ having duals.}\\ &= (g\otimes \id_{X^*}) \circ (((f\otimes \id_{X^*})\circ \coev_X) \\ &= ((g\circ f) \otimes \id_{X^*}) \circ \coev_X \by{\quad}{by functoriallity of $\otimes$}\\ &= \widetilde{g\circ f}\\ \end{alignat*} \end{document}
- Is it possible to create commutative diagrams with hawkdraw package?by Luis Turcio on November 10, 2026 at 1:56 am
I'm trying to use hawkdraw package, I know is a new package still in development. Still I would like to use it to draw commutative diagrams. This is a (posible naïve) first attempt: \documentclass{article} \usepackage{hawkdraw} \begin{document} \begin{hawkdraw} \node[at={(0cm,0cm)}, name={1-1}] {A} \node[at={(3cm,0cm)}, name={1-2}] {B} \stroke[arrow end]{(1-1) -- (1-2)} \end{hawkdraw} \end{document} But the output is rather unespected: If the start of the stroke is (0cm,0cm), then the result is more accurate: I'm trying to use it like this because of the similarity with tikz. There is something wrong with the code? Also, is it planned to support commutative diagrams?
- MTPro2 Lite: curly brace changes appearance when using \dfrac inside casesby Sebastiano on November 9, 2026 at 9:11 pm
I am using the mtpro2[lite] package and have noticed an unexpected behaviour when using \dfrac inside the cases environment. When I use \frac, the left curly brace has its usual appearance. However, when I replace \frac with \dfrac, the curly brace changes its appearance. Interestingly, this does not happen with \ccases: the brace retains the same appearance even when using \dfrac. Here is a minimal working example: \documentclass[12pt]{article} \usepackage{mathtools} \usepackage[lite]{mtpro2} \begin{document} \[ f(x)= \begin{cases} \dfrac{1}{x}, & x>0,\\ \dfrac{x^2+1}{x-1}, & x<0 \end{cases} \] \[ f(x)= \begin{cases} \frac{1}{x}, & x>0,\\ \frac{x^2+1}{x-1}, & x<0 \end{cases} \] \[ g(x)=\ccases{ \dfrac{1}{x}, & x>0,\\ \dfrac{x^2+1}{x-1}, & x<0 } \] \end{document} Why is there this difference?
- Bidirectional hyperlinks between exercises and figures in LaTeXby Sebastiano on November 8, 2026 at 10:12 pm
I have the following minimal working example: \documentclass[12pt,a4paper]{amsart} \usepackage{tikz} \usepackage[colorlinks=true,linkcolor=blue]{hyperref} \newtheorem{Es}{Esercizio} \begin{document} \section{Esercizi} \begin{Es} My solution Link to figure \end{Es} \bigskip \begin{Es} My solution \end{Es} \newpage \section*{Figure} %%%%%%%%%%%%%%%%% Add automatically link to exercise \begin{figure}[htbp] \centering \begin{tikzpicture}[scale=1.25] \draw[->] (-1.8,0) -- (1.8,0) node[below right] {$x$}; \draw[->] (0,-1.8) -- (0,1.8) node[below left] {$y$}; \draw[gray, thick] (0,0) circle (1); \draw[gray,very thick] (0,0) circle (1.5); \fill (0,0) circle (0.025); \node[below left] at (0,0) {$O$}; \draw[blue, very thick, domain=45:225, samples=100] plot ({1.5*cos(\x)},{1.5*sin(\x)}); \draw[blue, fill=white, very thick] ({1.5*cos(45)},{1.5*sin(45)}) circle (0.06); \draw[blue, fill=white, very thick] ({1.5*cos(225)},{1.5*sin(225)}) circle (0.06); \draw[dashed, gray] (0,0) -- ({1.6*cos(45)},{1.6*sin(45)}); \draw[dashed, gray] (0,0) -- ({1.6*cos(225)},{1.6*sin(225)}); \node[above right] at ({1.5*cos(45)},{1.5*sin(45)}) {$\frac{\pi}{4}$}; \node[below left] at ({1.5*cos(225)},{1.5*sin(225)}) {$\frac{5\pi}{4}$}; \end{tikzpicture} \caption{Soluzioni della disequazione $\sin x-\cos x>0$.} \label{fig:soluzioni_seno_coseno} \end{figure} \end{document} How can I modify this example to automatically create bidirectional hyperlinks between each Es environment and its corresponding TikZ figure, so that clicking at the end of an exercise takes me to its figure and clicking at the end of the figure takes me back to the exercise, without manually specifying exercise numbers, figure numbers, \hypertarget, or \hyperlink? Here an example PDF in this link https://www.lorenzoroi.net/prelievi/ProblemiEsame3.pdf PS: In this question Hyperlinks from exercises to solutions and vice versa there are mdframed and tcolorbox which I don’t need for the exercises, and I’d like it to be, for example, ‘Exercise 1 (solution)’, and at the end, in a final section, the image relating to Exercise 1 which, when clicked, takes me to the solution to the exercise, just like the PDF file mentioned above. I'm looking for a very simple solution that doesn't include packages released after 2018
- pgfplots warning when input starts with equal digitsby jlab on November 8, 2026 at 2:28 pm
I'm plotting thermodynamics data with pgfplots. I get a strange warning when a value begin with 55. For example: \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 55.463, 0.018030 } ; gives Missing character: There is no . (U+002E) in font nullfont! Missing character: There is no 4 (U+0034) in font nullfont! Missing character: There is no 6 (U+0036) in font nullfont! Missing character: There is no 3 (U+0033) in font nullfont! If I replace 55.463 with 550 I get Missing character: There is no 0 (U+0030) in font nullfont! But there is no warning if 55.463 is replaced by 5.463 54.463 56.463 Any idea to explain this strange behaviour? Compilable example: \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[ ,xmin = {0} ,xmax = {0.02} ,ymin = {90} ,ymax = {300} ] %% Warnings: %% Missing character: There is no . (U+002E) in font nullfont! %% Missing character: There is no 4 (U+0034) in font nullfont! %% Missing character: There is no 6 (U+0036) in font nullfont! %% Missing character: There is no 3 (U+0033) in font nullfont! %% \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 55.463, 0.018030 } ; %% Replace 55.463 by 550: %% Missing character: There is no 0 (U+0030) in font nullfont! \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 550, 0.018030 } ; %% Replace 55.463 by 5.463: no warnings \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 5.463, 0.018030 } ; %% Replace 55.463 by 54.463: no warnings \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 54.463, 0.018030 } ; %% Replace 55.463 by 56.463: no warnings \addplot table[x index=3,y index=1, col sep=comma]{ 311.00, 100.00, 56.463, 0.018030 } ; \end{axis} \end{tikzpicture} \end{document} Bug report I filled a bug report for that: https://github.com/pgf-tikz/pgfplots/issues/532
- \edef with incomplete expansionby Elayson Abreu on November 6, 2026 at 7:00 pm
I have a macro that removes whitespace from a set of tokens, called \removespaces. When I compile the code below, 1_2_3_ becomes 123 (where the underscore represents a whitespace character). In other words, \z=macro: ->123. And this is the desired result. \def\removespaces#1 {\if\relax\detokenize{#1}\relax\else#1\expandafter\removespaces\fi} \edef\z{\removespaces 1 2 3 {} } \show\z \bye The code below, in turn, produces the result \z=macro: ->1 2 3 {} . \def\removespaces#1 {\if\relax\detokenize{#1}\relax\else#1\expandafter\removespaces\fi} \def\y#1{\removespaces#1 {} } \edef\z{\y{ 1 2 3 }} \show\z \bye So my question is, why didn't a complete expansion occur at \z?
- Is there a way, using Pandoc, to set the format of \today (Markdown to PDF)?by gjmb on November 6, 2026 at 1:01 am
I'm trying to set the format of the date field using Pandoc to convert .MD to .PDF. I use the xelatex engine to convert. Here is a MWE: --- title: "foo" author: Me date: \today --- What this prints as the date: November 5th, 2026. What I want: to be able to set it to things like 2026-11-05. What I've tried: Loading the isodate package (-\usepackage[USenglish]{isodate}). This didn't seem to do anything. Setting options as described here. I included every variant of -M date="`date "+%B%e, %Y"`" listed, but all this seemed to was to print that string of code in place of \today. What I have not tried (because it seems unnecessarily complicated) is making a Lua filter. I admittedly do not know that much about Pandoc or LaTeX. I know LaTeX and Markdown syntax, but my knowledge of the backend of these things is limited. I never learned raw TeX, and I may be missing something obvious. Is there some way to just format the input \today so that it is in, say, ISO?
- Can I automatically record the alt text of images?by Teepeemm on November 5, 2026 at 7:17 pm
To support digital accessibility, my graduate school is requiring students' theses and dissertations to include an appendix that contains the alt-text, and long description when applicable, for all visual elements. I can somewhat help this process by creating commands for any alt text and description as follows: \DocumentMetadata{ tagging=on, lang=en-US, pdfstandard=ua-2 } \documentclass{article} \title{Title} \usepackage{graphicx} \begin{document} Some text that comes before a float. \begin{figure} \centering \gdef\duckAlt{A rubber duck with a crown on its head and a pizza.} \includegraphics[alt={\duckAlt},width=.5\textwidth]{example-image-duck} \caption{King duck}\label{fig:duck} \end{figure} Some text that comes between floats. \begin{figure} \centering % \gdef\gardnerAlt{Gardner's Conceptual Framework of Doctoral Student Development outlines the progressive phases of identity development that doctoral students experience, highlighting key challenges, sources of support, and potential points of attrition at each state.} % \gdef\gardnerDesc{% This is a diagram of Gardner's Conceptual Framework of Doctoral Student Development. It includes challenges and supports at three different phases. It also shows that students may depart their program at any phase. There is indication of the overlapping nature of Phase 1 to Phase 2 and Phase 2 to Phase 3. \begin{itemize} \item Phase 1 Challenges include admission, coursework begins, learning balance, transition from undergraduate to graduate expectations. \item Phase 1 Supports include orientation and initial relationships formed with peers and faculty. \item Phase 2 Challenges include coursework, examinations, changing role. \item Phase 2 Supports include peer relationships and advisor relationships. \item Phase 3 Challenges include candidacy, dissertation work, job search, and transition to professional role. \item Phase 3 supports include writing groups, advisor, and mentors. \end{itemize}} % \includegraphics[alt={\gardnerAlt},width=.77\textwidth]{Gardner} % \caption{Gardner's Conceptual Framework of Doctoral Student Development}\label{fig:gardner} % \end{figure} Some text that comes after a float. \clearpage \appendix \section*{Alt texts and figure descriptions} \paragraph{Figure \ref{fig:duck}:} \duckAlt \paragraph{Figure \ref{fig:gardner}:} \gardnerAlt \gardnerDesc \end{document} But this seems a bit error prone. Would it be possible to automate this process so that alt= records everything and then another command prints them? And a custom longDesc environment attaches itself to that alt text as well? The Gardner figure:
- want certain phrases to appear differentlyby Rup_Cantor on November 2, 2026 at 12:55 pm
I am writing a report, where I need certain words and phrases to appear in different fonts or/and sizes to distinguish them from that of the other texts (and for some personal preferences too). How can I achieve this? Any help or suggestions would be appreciated. \documentclass[a4paper,12pt]{report} \usepackage{amsmath,amssymb,amsthm} \begin{document} As the rank of $L(G)$ is $n-k$ where $k=k(G)$ is the number of connected components in $G$, it is easy to see that the multiplicity of $0$ is $k(G)$ and hence, the second smallest eigenvalue of $L(G)$ is $0$ if and only if $G$ is disconnected. Thus the second smallest eigenvalue of $L(G)$ is popularly known as the \textbf{\textit{algebraic connectivity}} of $G$ and is denoted by $a(G)$. The eigenvectors corresponding to $a(G)$ are called\textbf{\textit{ Fiedler vectors}} of the graph $G$. \end{document} In particular, for the above, I want "algebraic connectivity" & "Fiedler vectors" appearing in the pdf to be in Times New Roman font with 14pt size.
- cmd=... have no effect on multiline cellby Stephen on November 2, 2026 at 11:22 am
In the following code I want the cells in the second and third column to appear from slide 2. But cmd=\onslide<2-> have no control over the multiline cell. How to fix? \documentclass{beamer} \usepackage{tabularray} \begin{document} \begin{frame} \begin{tblr}{hlines,vlines,cell{1}{2-3}={cmd=\onslide<2->}} one & two & {three\\four} \end{tblr} \end{frame} \end{document}
- How to dig holes on a three-dimensional curved surface using LuaDraw?by Explorer on November 1, 2026 at 4:23 pm
Here is the follow-up of my previous answer. Now, I want to focus on the holes on the surfaces. zoom in, we could see the details: \documentclass{standalone} \usepackage[3d]{luadraw} \usepackage[svgnames]{xcolor} \usepackage{fourier-otf} \begin{document} \begin{luadraw}{name=gaussian_surface} local ld = luadraw local pt3d, cpx = ld.pt3d, ld.cpx local M, Mc, Ms = pt3d.M, pt3d.Mc, pt3d.Ms local Origin, vecI, vecJ, vecK = pt3d.Origin, pt3d.vecI, pt3d.vecJ, pt3d.vecK local exp = math.exp local pi, cos, sin = math.pi, math.cos, math.sin local h = 0.025 -- half height of the border local g = ld.graph3d:new{ window3d = {-2,2,-2,2,-2.5,2.5,1,1,1.75},window = {-4,4,-4,4}, size = {12,12},viewdir = {-60,55} } local wI, wmax = 0.45, 1 local f = function(x,y) return -exp(-(x*x+y*y)/1.3) end local top = ld.cartesian3d(function(x,y) return h+wI*f(x,y) end,-2,2,-2,2,{50,50}) local bottom = ld.cartesian3d(function(x,y) return -h+wmax*f(x,y) end,-2,2,-2,2,{50,50}) --- begin local cx, cy = 0.5, 1 local a, b, n = 0.4, 0.25, 50 local base = {} for k = 0, n-1 do local t = 2*pi*k/n base[k+1] = M(cx+a*cos(t),cy+b*sin(t),-2) end local cutter = ld.prism(base,M(0,0,4)) top = ld.clip3d(top,cutter,true) bottom = ld.clip3d(bottom,cutter,true) --- end local front = ld.surface(function(s,t) return M(s,-2,(1-2*t)*h+(wI+t*(wmax-wI))*f(s,-2)) end,-2,2,0,1,{50,2}) local back = ld.surface(function(s,t) return M(s,2,(1-2*t)*h+(wI+t*(wmax-wI))*f(s,2)) end,-2,2,0,1,{50,2}) local left = ld.surface(function(s,t) return M(-2,s,(1-2*t)*h+(wI+t*(wmax-wI))*f(-2,s)) end,-2,2,0,1,{50,2}) local right = ld.surface(function(s,t) return M(2,s,(1-2*t)*h+(wI+t*(wmax-wI))*f(2,s)) end,-2,2,0,1,{50,2}) local limits = {-1.75*(h+wmax),0} g:Dmixfacet( top, { mode = ld.mFlat, edgecolor = "gray!25", edgewidth = 2, usepalette = {ld.palRainbow,"z",limits} }, bottom, {}, front, {}, back, {}, left, {}, right, {} ) g:Show() \end{luadraw} \end{document} The cuttter here was not what I want, it gives: What I would prefer is that the cut here should only remove the thick upper layer of the curved surface, rather than completely removing the entire upper and lower curved surfaces. And I have no idea on how to get the thickeness here similar to this hollowed-out sphere example.
- How to reduce the size of chapter names? [duplicate]by Rup_Cantor on November 1, 2026 at 4:01 pm
I am writing a project report in report environment. I would like to keep the title in LARGE style. Now when I give the chapter names using \chapter, the font size of the chapter names get bigger than that of the title of the report, which does not look good to me. So is there any way to reduce the size of the chapter names keeping the title and other font sizes intact ? \documentclass[a4paper,12pt]{report} \usepackage{amsmath,amssymb,amsthm} \begin{document} \thispagestyle{empty} \begin{center} \LARGE \textbf{A study on Algebraic Connectivity \\ and Spectral Integral Variation of Graphs} \end{center} \newpage \thispagestyle{empty} \tableofcontents \newpage \chapter{Introduction and Preliminaries} \section{Introduction} \subsection{Spectrum of a Graph} \begin{thebibliography}{33} \bibitem{Fan} Fan Y., On spectral integral variation of graphs. \end{thebibliography} \end{document} I would also like to reduce the sizes of "Contents" and "References" appearing in the document as same as that of Chapter names.