• Another compilation erroŕ
    by user1720967 on August 12, 2026 at 7:13 pm

    Command Line: bibtex.exe "lane2" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y This is BibTeX, Version 0.99d (MiKTeX 25.4) The top-level auxiliary file: lane2.aux I found no \citation commands---while reading file lane2.aux I found no \bibdata command---while reading file lane2.aux I found no \bibstyle command---while reading file lane2.aux (There were 3 error messages) Command Line: makeindex.exe "lane2.idx" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y This is makeindex, version 2.16 [MiKTeX 25.4]. Scanning input file lane2.idx...done (0 entries accepted, 0 rejected). Nothing written in lane2.ind. Transcript written in lane2.ilg. Command Line: makeindex.exe -s "lane2.ist" -t "lane2.glg" -o "lane2.gls" "lane2.glo" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y Index style file lane2.ist not found. Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...] Command Line: C:\Users\Hynek\AppData\Local\Programs\MiKTeX\miktex\bin\x64\xelatex.exe --interaction=errorstopmode --synctex=-1 "lane2.tex" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y This is XeTeX, Version 3.141592653-2.6-0.999997 (MiKTeX 25.4) (preloaded format=xelatex.fmt) restricted \write18 enabled. entering extended mode (lane2.tex LaTeX2e <2025-06-01> patch level 1 L3 programming layer <2025-10-09> (kaobook.cls Document Class: kaobook 2021/06/02 v0.9.7 kaobook (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrbook.cls Document Class: scrbook 2026/02/02 v3.49.2 KOMA-Script document class (book) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrkbase.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrbase.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrlfile.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrlfile-ho ok.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrlogo.sty ))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.sty ))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\tocbasic.st y) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrsize10pt .clo) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\typearea.st y)) (kao.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/etoolbox\etoolbox.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\calc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xcolor\xcolor.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\color.cfg) Package xcolor Warning: Package option `usenames' is obsolete and ignored on in put line 265. (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-def\xetex.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\mathcolor.ltx )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\dvipsnam.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/colortbl\colortbl.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\array.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/iftex\iftex.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xifthen\xifthen.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\ifthen.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/ifmtarg\ifmtarg.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/options\options.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3packages/xparse\xpars e.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3kernel\expl3.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3backend\l3backend-xet ex.def))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xpatch\xpatch.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xstring\xstring.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/xstring\xstring.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\afterpage.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/imakeidx\imakeidx.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xkeyval\xkeyval.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/xkeyval\xkeyval.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/xkeyval\xkvutils.tex) )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/iftex\ifxetex.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/iftex\ifluatex.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\multicol.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\varioref.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/geometry\geometry.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/iftex\ifvtex.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/geometry\geometry.cfg)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrlayer-sc rpage.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/koma-script\scrlayer.st y)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/ragged2e\ragged2e.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/setspace\setspace.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyphenat\hyphenat.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/microtype\microtype.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/microtype\microtype-xet ex.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/microtype\microtype.cfg )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/needspace\needspace.sty ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\xspace.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/placeins\placeins.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/marginnote\marginnote.s ty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/marginfix\marginfix.sty ) ==> First Aid for marginfix.sty applied! (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/sidenotes\sidenotes.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3packages/l3keys2e\l3k eys2e.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/caption\caption.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/caption\caption3.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/changepage\changepage.s ty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/chngcntr\chngcntr.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/footmisc\footmisc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/footnotebackref\footnot ebackref.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/letltxmacro\letltxmacro .sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\hyperref.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/kvsetkeys\kvsetkeys.sty ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/kvdefinekeys\kvdefine keys.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pdfescape\pdfescape.s ty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pdftexcmds\pdftexcmds .sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/infwarerr\infwarerr.s ty))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hycolor\hycolor.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\nameref.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/refcount\refcount.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/gettitlestring\gettit lestring.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/kvoptions\kvoptions.sty ))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/stringenc\stringenc.s ty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\pd1enc.def ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/intcalc\intcalc.sty ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\puenc.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/url\url.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/bitset\bitset.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/bigintcalc\bigintcalc .sty))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\hxetex.def (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/rerunfilecheck\rerunfil echeck.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/uniquecounter\uniquec ounter.sty)))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphicx.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphics.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\trig.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\graphics.c fg))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/frontendlayer\tikz. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/basiclayer\pgf.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgfrcs.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfutil -common.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfutil -latex.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfrcs. code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf\pgf.revision.tex) )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/basiclayer\pgfcore. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/systemlayer\pgfsys. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys .code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys libraryfiltered.code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgf.c fg) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-xetex.def (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-dvipdfmx.def (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-common-pdf.def)))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy ssoftpath.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy sprotocol.code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor e.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmath.code .tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathutil. code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathparse r.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.basic.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.trigonometric.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.random.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.comparison.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.base.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.round.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.misc.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.integerarithmetics.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathcalc. code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfloat .code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfint.code. tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epoints.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathconstruct.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathusage.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor escopes.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor egraphicstate.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor etransformations.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor equick.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eobjects.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathprocessing.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor earrows.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eshade.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eimage.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eexternal.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor elayers.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor etransparency.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epatterns.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor erdf.code.tex))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule shapes.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule plot.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/compatibility\pgfco mp-version-0-65.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/compatibility\pgfco mp-version-1-18.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgffor.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgfkeys.s ty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys .code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/math\pgfmath.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmath.code .tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgffor. code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z\tikz.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/libraries\pgflibr aryplothandlers.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule matrix.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z/libraries\tikzlibrarytopaths.code.tex))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tikzpagenodes\tikzpagen odes.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/ifoddpage\ifoddpage.sty )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/booktabs\booktabs.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/multirow\multirow.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\rotating.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/listings\listings.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/listings\lstpatch.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/listings\lstmisc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/listings\listings.cfg)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/floatrow\floatrow.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/etoc\etoc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amssymb.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amsfonts.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/filehook\filehook.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/filehook\filehook-2020. sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/unicode-math\unicode-ma th.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/unicode-math\unicode-ma th-xetex.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec-xetex .sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\fontenc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec.cfg)) ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\fix-cm.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\ts1enc.def)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsmath.sty For additional information on amsmath, use the `?' option. (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amstext.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsgen.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsbsy.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsopn.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/unicode-math\unicode-ma th-table.tex)))Running miktex-makemf.exe... Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\Hynek\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log Running miktex-hbf2gf.exe... Couldn't open `TeX Gyre Term.cfg' hbf2gf (CJK ver. 4.8.4) Sorry, but miktex-maketfm did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\Hynek\AppData\Local\MiKTeX\miktex\log\miktex-maketfm.log ! Package fontspec Error: (fontspec) The font "TeX Gyre Termes" cannot be found; this (fontspec) may be but usually is not a fontspec bug. Either (fontspec) there is a typo in the font name/file, the font is (fontspec) not installed (correctly), or there is a bug in (fontspec) the underlying font loading engine (fontspec) (XeTeX/luaotfload). For immediate help type H <return>. ... l.1022 ^^I\setsansfont [ ? ! Emergency stop. ... l.1022 ^^I\setsansfont [ No pages of output. _____________________________________________________________________ PDFTeXify Compilation Report (Pages: 0) Errors: 2 Warnings: 1 Bad Boxes: 0 ******************************************************************** \documentclass[ a4paper, % fontsize=10pt, % twoside=true, %%verbose,hypertexnames=false, parskip=off, % % % %% numbers=noenddot, % ]{kaobook} % --- oprava chybějícího fontu Libertinus --- % kaobook (přes kao.sty) si standardně nastavuje fonty rodiny Libertinus. % Pokud tyto fonty nejsou v systému nainstalované, fontspec selže % s "The font Libertinus Serif cannot be found". Následující tři řádky % fonty přenastaví na TeX Gyre, které jsou součástí běžné MiKTeX instalace. \makeatletter \AtBeginDocument{% \setmainfont{TeX Gyre Termes} \setsansfont{TeX Gyre Heros} \setmonofont{TeX Gyre Cursor} } \makeatother \let\providelength\relax \usepackage{dialogue} % Choose the language \ifxetexorluatex \let\providelength\relax \usepackage{polyglossia} \setmainlanguage{english} \else \let\providelength\relax \usepackage[english]{babel} % Load characters and hyphenation \fi \usepackage[english=british]{csquotes} % English quotes %\documentclass{book} \usepackage{amsmath,amssymb} \usepackage{mathrsfs} \usepackage{imakeidx} \usepackage{hyperref} \makeindex \usepackage{enumitem} \usepackage{etoolbox} %\usepackage{indentfirst} \begin{document} \medskip \section{Lane Hemaspaandra} dear hynek again, thanks, and warmest wishes to you. (I don't know if you already have a Ph.D., but if you don't and you are ever are looking to get one, please do consider University of Rochester, and if you do, please let me know so I can make sure the admissions committee doesn't fail to notice yours amidst the hundreds of applications. My most recent Ph.D. graduate, Piotr Faliszewski, who graduated 1.5 years ago and became an assistant professor in Krakow, Poland, came to UR because he send me some comments on The Complexity Companion, and from the correspondence that grew, he applied here, was accepted, did great research and a great Ph.D. thesis, and we now have a slew of joint papers, and a close ongoing research collaboration.) \medskip {\flushright lane} \medskip \section{A short story from the computational complexity exam} One day, at the exam from computational complexity, our teacher gave us a task and waited for our completing it. I returned to her an empty paper after about an hour of work. I claimed that for one of the questions the alleged proof I was supposed to carry out was not valid. After a while she spotted a gap in it: the negation of satisfiable formula may not be unsatisfiable and told me that I was right. But, she said, why did you started to solve the 6th out of 7 questions which was by chance incorrectly assigned ? I replied, there was something immediately strange in this assignment. \medskip \section{Dana Scott} In 2008 I have asked the following question to FOM forum: I have a question regarding Axiom of Choice. What is the strength of the following two theories \begin{enumerate} \item \label{eq:pyth1} $\textsf{ZF}+\{\text{on every filter, there is a selector}\}$ \item \label{eq:pyth2} $\textsf{ZF}+\{\text{on every ultrafilter, there is a selector}\}$ \end{enumerate} Professor Dana Scott comments on the question: \begin{dialogue} \speak{Dana Scott} How did the question come up? Why don't you sign your whole name on FOM, so people know who you are? \speak{Me} I'm interested in $\textsf{ZFC}$ (and other foundational issues), and from time to time have a question on the subject; but currently have no leadership... \speak{Dana Scott} Tarski would have liked this question. \end{dialogue} End of dialogue. \section{A few observations around the time of my graduation} My Master Thesis Advisor once asked me: \begin{dialogue} \speak{MTA} Tell me something about semigroups. \speak{I} If we have enough of them, then there will be a morphism between two of them \speak{MTA} That's trivial...no no, that's the Vop\v{e}nka's Principle! How much of them should they there be ? \speak{I} Inaccessible cardinal ? \speak{MTA} It's obvious, you must have read it somewhere. We need a proper class of them. \end{dialogue} End of dialogue. \medskip I'm not aware that I have read it anywhere. It just resonated in my mind, that the words Exist and Morphism abounded all the time, so I just let them be together. Some other dialogue with this assistant professor: \begin{dialogue} \speak{MTA} So you are interested in set theory? Tell us something about it. \speak{I} What is the largest cardinal compatible with $\textsf{V=L}$ ? \speak{Professor} There were some other people present and one of them paused to ponder and concluded: A good question. \end{dialogue} End of dialogue. \medskip Many years after, I've found a work by Jack Silver: A large cardinal in the constructible universe, answering this question. \medskip \section{Henk Barendregt book on lambda calculus} I didn't care to rewrite Henk's email in \LaTeX\ notation. Just his first paragraph matters for now. \begin{verbatim} Dear Hynek, You are right. So now you know (at least locally) my book better than me :). But you do not know yet how to use it. So let me help you. P^arrow (being, say, P1,P2 in SO means that both P1 in SO and P2 in SO. Then \x0.x0P1P2 in SO. So my example below should have been \x0x1.x0 I (x1 I I I) in SO. Best wishes, Henk \end{verbatim} \end{document}

  • A compilation Error
    by user1720967 on August 12, 2026 at 6:22 pm

    What is the problem with this document ? Command Line: bibtex.exe "ideje36" Startup Folder: E:\PLOCHA 3 last one\Desktop\TH0dipl This is BibTeX, Version 0.99d (MiKTeX 25.4) The top-level auxiliary file: ideje36.aux I found no \citation commands---while reading file ideje36.aux I found no \bibdata command---while reading file ideje36.aux I found no \bibstyle command---while reading file ideje36.aux (There were 3 error messages) Command Line: C:\Users\Hynek\AppData\Local\Programs\MiKTeX\miktex\bin\x64\xelatex.exe --interaction=errorstopmode --synctex=-1 "ideje36.tex" Startup Folder: E:\PLOCHA 3 last one\Desktop\TH0dipl This is XeTeX, Version 3.141592653-2.6-0.999997 (MiKTeX 25.4) (preloaded format=xelatex.fmt) restricted \write18 enabled. entering extended mode (ideje36.tex LaTeX2e <2025-06-01> patch level 1 L3 programming layer <2025-10-09> (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\article.cls Document Class: article 2025/01/22 v1.4n Standard LaTeX document class (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\size10.clo)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amssymb.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amsfonts.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsmath.sty For additional information on amsmath, use the `?' option. (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amstext.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsgen.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsbsy.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsopn.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/accents\accents.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tikz-cd\tikz-cd.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/frontendlayer\tikz. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/basiclayer\pgf.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgfrcs.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfutil -common.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfutil -latex.def) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfrcs. code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf\pgf.revision.tex) )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/basiclayer\pgfcore. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphicx.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphics.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\trig.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\graphics.c fg) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-def\xetex.def) )) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/systemlayer\pgfsys. sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys .code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys libraryfiltered.code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgf.c fg) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-xetex.def (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-dvipdfmx.def (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy s-common-pdf.def)))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy ssoftpath.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/systemlayer\pgfsy sprotocol.code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/xcolor\xcolor.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\color.cfg) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\mathcolor.ltx) ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor e.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmath.code .tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathutil. code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathparse r.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.basic.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.trigonometric.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.random.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.comparison.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.base.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.round.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.misc.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfunct ions.integerarithmetics.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathcalc. code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmathfloat .code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfint.code. tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epoints.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathconstruct.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathusage.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor escopes.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor egraphicstate.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor etransformations.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor equick.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eobjects.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epathprocessing.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor earrows.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eshade.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eimage.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor eexternal.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor elayers.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor etransparency.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor epatterns.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/basiclayer\pgfcor erdf.code.tex))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule shapes.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule plot.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/compatibility\pgfco mp-version-0-65.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/compatibility\pgfco mp-version-1-18.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgffor.st y (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/utilities\pgfkeys.s ty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgfkeys .code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/pgf/math\pgfmath.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/math\pgfmath.code .tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/utilities\pgffor. code.tex)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z\tikz.code.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/libraries\pgflibr aryplothandlers.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/modules\pgfmodule matrix.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z/libraries\tikzlibrarytopaths.code.tex))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tikz-cd\tikzlibrarycd.c ode.tex (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z/libraries\tikzlibrarymatrix.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/frontendlayer/tik z/libraries\tikzlibraryquotes.code.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/pgf/libraries\pgflibr aryarrows.meta.code.tex))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3packages/xparse\xpars e.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3kernel\expl3.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3backend\l3backend-xet ex.def))) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec-xetex .sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\fontenc.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/fontspec\fontspec.cfg)) ) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/babel\babel.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/babel\xebabel.def) Package babel Warning: Configuration files are deprecated, as (babel) they can break document portability. (babel) Reported on input line 4172. ************************************* * Local config file bblopts.cfg used * (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/arabi\bblopts.cfg) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/babel/locale/cs\babel -czech.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/babel-czech\czech.ldf)) (mypackage.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/xelatex/babyloniannum\babylon iannum.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/xelatex/xunicode\xunicode.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tipa\t3enc.def)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/numname\numname.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/enumitem\enumitem.sty) (ideje36.aux) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tipa\t3cmr.fd) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\umsa.fd) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\umsb.fd) [1 ! Undefined control sequence. <write> test \triplex test l.134 \end{document} ? ! Emergency stop. <write> test \triplex test l.134 \end{document} _____________________________________________________________________ PDFTeXify Compilation Report (Pages: 0) Errors: 2 Warnings: 1 Bad Boxes: 0 \documentclass{article} %\usepackage{mathabx} %\usepackage{unicode-math} \usepackage{amssymb,amsmath} \usepackage{accents} \usepackage{tikz-cd} %\usepackage{fontspec} \usepackage[no-math]{fontspec} %\usepackage{unicode-math} %%\let\circ\undefined %%\let\diamond\undefined %\let\bullet\undefined %%\let\ring\undefined %\let\emptyset\undefined %\let\owns\undefined %\usepackage{mathabx} %\usepackage{xypic} \usepackage[czech]{babel} \usepackage{mypackage} %\usepackage[utf8]{inputenc} \newcommand{\pullbackcorner}[1][dl]{\save*!/#1-1pc/#1:(1,-1)@^{|-}\restore} %\usepackage[all]{xy} %\newfontfamily\ngg{NewGardiner} % \usepackage{pgffor} \usepackage{babyloniannum} %\setfont{NewGardiner} \newfontfamily\ngg{Segoe UI Historic}[Ligatures=TeX] %\newfontfamily\nggg{Egyptian Hieroglyphs}[Ligatures=TeX] % Scale=MatchUppercase, % Script={Egyptian Hieroglyphs}] %UprightFeatures={Ligatures=Common}] %\renewcommand{\theenumi}{\roman{enumi}--\arabic{enumi}} %\newcommand{\stheenumm}{\babyloniannum{1}} %\newcommand{\theenumi}{\roman{enumi}--\arabic{enumi}--\babyloniannum{enumi}} \MakeRobust\babyloniannum \MakeRobust\hgnum \usepackage{enumitem} \ExplSyntaxOn\makeatletter \cs_new_protected:Npn \@moduloitem #1 { \ngg \char \int_eval:n { \int_mod:nn{\int_use:c{#1}}{\modulolength} + \exp_args:No\int_from_hex:n{\modulostart} } } \newcommand\moduloitem[1]{\@moduloitem{c@#1}} \newcommand\modulostart{13000} %adapt \newcommand\modulolength{1000} %adapt \AddEnumerateCounter{\moduloitem}{\@moduloitem}{AA} \ExplSyntaxOff %\renewcommand{\theenumi}{\roman{enumi}--\arabic{enumi}--\!\!\!\!\!\babyloniannum{\value{enumi}}\!\!\!--{\ngg\symbol{"\the\value{nw}}}} %\renewcommand{\theenumi}{\ngg\symbol{"\the\value{\stepcounter{nw}}}} %\usepackage{mathabx} %\RequirePackage{unicode-math} %\RequirePackage{unicode-math} \begin{document} $\ggg$ %\show\babyloniannum %\renewcommand{\theenumi}{\roman{enumi}--\arabic{enumi}--\babyloniannum{enumi}} % \xymatrix{A \ar[r] &B} % $$ % \xymatrix@=3pc{ % & & D \\ % B \ar[r]\ar@/^/[rru]^{h} & P \ar[ru] \pullbackcorner & \\ % A \ar [u]^f \ar[r]_g & C \ar[u]\ar@/_/[ruu]_{k} & % } % $$ \underline{motto:}{ každý den $\pm$ nový princip }\hfill{$\square$} \bigskip \bigskip % \begin{enumerate}[ label=\roman{enumi}--\arabic{enumi}--\!\!\!\!\!\babyloniannum{\value{enumi}}\!\!\!--\large\ngg\symbol{\numexpr "13000+\value{enumi}}--\hgnum{\theenumi}--\moduloitem{enumi}] \begin{enumerate}[ label=\roman{enumi}--\arabic{enumi}--\!\!\!\!\!\babyloniannum{\value{enumi}}\!\!\!--\hgnum{\theenumi}--\moduloitem{enumi}] \item rozhodovat se na hraně zajímavého \item *vždycky to tam máš (data v matematice) \item svoboda a volnost \def\tmp{j} \item \if \tmp j c\fi \vbox{\hbox{Two lines}\hbox{of type.}} \newwrite\jhfile \openout\jhfile=test.jh \newcommand{\triplex}{XXX} \write\jhfile{test \triplex test} \newcommand{\demoletter}[1]{{\setlength{\fboxsep}{-\fboxrule}\fbox{\phantom{#1}}}} %\demoletter{O}\demoletter{n}\demoletter{e} %\demoletter{l}\demoletter{i}\demoletter{n}\demoletter{e}\demoletter{.} \item teorie množin (a někdy i další) je manipulace s objekty "ode zdi ke zdi" a jejich sledování \item nějak to být musí \item všechno je skoro tak nejlepší a nejbohatší, jak to být může \item všechno lze rozvrstvit do podúrovní \item být ve středu vyprávění a ne \end{enumerate} \end{document}

  • How to get the \wedgeq symbol when using kpfonts-otf?
    by Jürgen on August 12, 2026 at 4:29 pm

    ChatGPT told me to use \Corresponds to get the "entspricht" symbol with kpfonts-otf, but what a surprise: It is not known to this font. What do I have to take for this symbol. \documentclass{scrartcl} \usepackage{unicode-math} \removenolimits{\int} \setsansfont{KpSans} \setmainfont{KpRoman} \setmathfont{KpMath-Regular} %\DeclareMathOperator{\entspricht}{\mathrel{\Corresponds}} \begin{document} %\begin{equation} %16 \entspricht 2^4 %\end{equation} \begin{equation} 16 \wedgeq 2^4 \end{equation} \begin{equation} 16 \Corresponds 2^4 \end{equation} \end{document} \endinput The last lines of the log file looks like this Missing character: There is no ≙ (U+2259) in font [KpMath-Regular.otf]:mode=ba se;script=math;language=dflt;mathfontdimen=xetex;! ! Undefined control sequence. l.19 16 \Corresponds 2^4 ? BTW: In former times (up to yesterday when I changed to lualatex) I used % \DeclareMathOperator{\entspricht}{\mathrel{\hat{=}}} with kpfonts and was quite happy with it. With kpfonts-otf the result is more than ugly:

  • Problem when defining a new operator for the l3fp module: \fp_tuple_item:nn
    by Jasper Habicht on August 12, 2026 at 3:09 pm

    Note that the aim of this is to add a new operator to the l3fp module of the LaTeX3 kernel and therefore internal functions and reserved prefixes are used throughout the code. Please use this code with the due caution. I try to add a function and operator to the l3fp module that extracts an item from a tuple. I started with defining a public function and underlying internal functions that leave the relevant item of a tuple in the internal fp representation in the input stream. Placed into \fp_eval:n, this results in the intended output (one could also imagine adding \fp_to_decimal:n to this, so it returns the relevant number directly): \documentclass{article} \begin{document} \ExplSyntaxOn \makeatletter % public function \cs_new:Npn \fp_tuple_item:nn #1#2 { \exp_args:Nee \__fp_tuple_item:nn { \__fp_parse:n {#2} } { \__fp_parse:n {#1} } } % internal functions \cs_new:Npn \__fp_tuple_item:nn #1#2 { \__fp_tuple_item_aux:ww #1#2 } \cs_new:Npn \__fp_tuple_item_aux:ww #1 \__fp_sep: { \__fp_tuple_item_select_aux:nw { \__fp_to_int:w #1 \__fp_sep: } } \cs_new:Npn \__fp_tuple_item_select_aux:nw #1 \s__fp_tuple \__fp_tuple_chk:w #2 \__fp_sep: { \int_compare:nNnTF {#1} < 0 { \__fp_tuple_item_select_aux:nw { \__fp_int_eval:w \__fp_array_count:n {#2} + 1 + #1 \__fp_int_eval_end: } \s__fp_tuple \__fp_tuple_chk:w {#2} \__fp_sep: } { \__fp_tuple_item_select_auxi:nw {#1} #2 \s__fp_stop } } \cs_new:Npn \__fp_tuple_item_select_auxi:nw #1 { \int_compare:nNnTF {#1} = 1 { \__fp_tuple_item_select_auxii:w } { \__fp_tuple_item_select_auxiii:nw {#1} } } \cs_new:Npn \__fp_tuple_item_select_auxii:w #1 \__fp_sep: #2 \s__fp_stop { #1 \__fp_sep: } \cs_new:Npn \__fp_tuple_item_select_auxiii:nw #1#2 \__fp_sep: { \__fp_tuple_item_select_auxi:nw { \__fp_int_eval:w #1 - 1 \__fp_int_eval_end: } } \makeatother \fp_eval:n { \fp_tuple_item:nn { ( 1 , 2 ) } { 1 } } % returns 1 \fp_eval:n { \fp_tuple_item:nn { 2 * ( 1 , 2 ) } { 2 } } % returns 4 \fp_eval:n { \fp_tuple_item:nn { ( 1 , 2 , 3 ) } { -1 } } % returns 3 \ExplSyntaxOff \end{document} So far, so good, but now I want to define a new function operator that can be used in an fp expression. The syntax should be item(n,t) where n is the index of the item and t is the tuple. I looked at the implementation of various other functions in the l3fp module such as round() or rand() and came up with the following relatively straight-forward defintion: \cs_new:Npn \__fp_parse_word_item:N { \__fp_parse_function:NNN \__fp_item_o:Nw ? } \cs_new:Npn \__fp_item_o:Nw ? #1 @ { \exp_after:wN \__fp_item_o:w #1 @ } \cs_new:Npn \__fp_item_o:w { \exp_after:wN \__fp_tuple_item_aux:ww } However, this results in an error as eventually \__fp_parse_after:ww does not see the expected tokens. I checked the expansion process up to this point using the unravel package and I can see that I get something along the following lines (<fp> being the relevant internal fp representation): \__fp_parse_after:ww \s__fp <fp> \__fp_sep: @ \exp:w \exp_end_continue_f:w \__fp_parse_infix_end:N \c__fp_prec_end_int \s__fp_expr_stop \exp_end: Other functions return something similar but without \c__fp_prec_end_int which is exactly what \fp__parse_after:ww wants whose argument defintion is #1 @ \__fp_parse_infix_end:N \s__fp_expr_stop #2. Now, I am lost at this point. I can see that my implementation yields the correct fp representation, but I am unable to find the reason why \c__fp_prec_end_int (along with \exp:w \exp_end_continue_f:w) is left in the stream and what I should do to remove this. Full MWE: \documentclass{article} \begin{document} \ExplSyntaxOn \makeatletter % public function \cs_new:Npn \fp_tuple_item:nn #1#2 { \exp_args:Nee \__fp_tuple_item:nn { \__fp_parse:n {#2} } { \__fp_parse:n {#1} } } % internal functions \cs_new:Npn \__fp_tuple_item:nn #1#2 { \__fp_tuple_item_aux:ww #1#2 } \cs_new:Npn \__fp_tuple_item_aux:ww #1 \__fp_sep: { \__fp_tuple_item_select_aux:nw { \__fp_to_int:w #1 \__fp_sep: } } \cs_new:Npn \__fp_tuple_item_select_aux:nw #1 \s__fp_tuple \__fp_tuple_chk:w #2 \__fp_sep: { \int_compare:nNnTF {#1} < 0 { \__fp_tuple_item_select_aux:nw { \__fp_int_eval:w \__fp_array_count:n {#2} + 1 + #1 \__fp_int_eval_end: } \s__fp_tuple \__fp_tuple_chk:w {#2} \__fp_sep: } { \__fp_tuple_item_select_auxi:nw {#1} #2 \s__fp_stop } } \cs_new:Npn \__fp_tuple_item_select_auxi:nw #1 { \int_compare:nNnTF {#1} = 1 { \__fp_tuple_item_select_auxii:w } { \__fp_tuple_item_select_auxiii:nw {#1} } } \cs_new:Npn \__fp_tuple_item_select_auxii:w #1 \__fp_sep: #2 \s__fp_stop { #1 \__fp_sep: } \cs_new:Npn \__fp_tuple_item_select_auxiii:nw #1#2 \__fp_sep: { \__fp_tuple_item_select_auxi:nw { \__fp_int_eval:w #1 - 1 \__fp_int_eval_end: } } % operator defintion \cs_new:Npn \__fp_parse_word_item:N { \__fp_parse_function:NNN \__fp_item_o:Nw ? } \cs_new:Npn \__fp_item_o:Nw ? #1 @ { \exp_after:wN \__fp_item_o:w #1 @ } \cs_new:Npn \__fp_item_o:w { \exp_after:wN \__fp_tuple_item_aux:ww } \makeatother \fp_eval:n { item ( 1 , ( 1 , 2 ) ) } \ExplSyntaxOff \end{document}

  • Where is download KAOBOOK class
    by 조문수 on August 12, 2026 at 12:14 pm

    After installing TexLive2026, whenever I compile Kaobook in TexStudio, I keep getting an error similar to the one in the attachment. I’m new to LaTeX. Where can I download the complete, modified Kaobook file? I’m trying to compile using xelatex with Korean text by using \usepackage{kotex}. How should I configure the settings or the cls file? Is there anyone who can help me?

  • Text disappears in tabularray with bg color (polyglossia)
    by user446526 on August 12, 2026 at 9:25 am

    I am typesetting an Arabic document using XeLaTeX and the polyglossia package. I am trying to build a table using the tabularray package. The Problem: Whenever I apply a background color to a specific row using the bg key (e.g., row{1} = {bg=blue!20}), the Arabic text inside that row completely disappears in the output PDF. The text in the other rows (which do not have a background color) renders perfectly fine. It seems like a layering or grouping issue where the bidi package (loaded by polyglossia) conflicts with tabularray's drawing engine, causing the colored box to either cover the text or push the RTL text out of bounds. I have already tried: Removing font=\bfseries from the row settings. Using manual \textbf{} inside the cells. Wrapping the text in \mbox{}. Using \SetCell{bg=blue!20} instead of row{1}. None of these solved the issue; as long as the background color is present, the text vanishes. Minimum Working Example (MWE): \documentclass{article} \usepackage{xcolor} \usepackage{tabularray} % RTL Setup \usepackage{polyglossia} \setmainlanguage{arabic} \setmainfont{Amiri} % Standard Arabic font for testing \begin{document} \begin{center} \begin{longtblr}{ colspec = {|X[c,m,1.6]|X[c,m,1.4]|X[c,m,1.4]|}, hlines, vlines, row{1} = {bg=blue!20, rowsep=5pt}, % The text in this row disappears rowsep=8pt } \textbf{النهاية} & \textbf{التفسير الهندسي} & \textbf{التمثيل البياني} \\ Text appears here & Text appears here & Text appears here \\ \end{longtblr} \end{center} \end{document}

  • How to get WebOMints GD to work in LuaLaTeX
    by Maronite Monks on August 11, 2026 at 8:42 pm

    I'm running an antique MacOS (mojave) with MacTeX 2022 installed. The MWE below compiles successfully with XeLaTeX, but with LuaLaTeX, I get the following message: kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 WebOMintsGD mktexpk: don't know how to create bitmap font for WebOMintsGD. mktexpk: perhaps WebOMintsGD is missing from the map file. kpathsea: Appending font creation commands to missfont.log. ! error: (file WebOMintsGD) (type 3): font WebOMintsGD at 600 not found ! ==> Fatal error occurred, no output PDF file produced! What does LuaLaTeX want me to do to make this work? %%%%%%%%%%%%%%%%%%%%%%%% \documentclass{memoir} \usepackage{fontspec} \newfontfamily\wb{WebOMints GD} \pagestyle{empty} \begin{document} \wb ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz \end{document}

  • Title ends with two periods using apacite
    by Mirlan on August 11, 2026 at 6:39 pm

    I'm citing a popular online dictionary: \documentclass{article} \usepackage[natbibapa]{apacite} \begin{filecontents}{\jobname.bib} @inbook {MWOganesson, author = {Merriam-Webster}, title = {Oganesson}, book = {Merriam-Webster.com dictionary}, url = {https://www.merriam-webster.com/dictionary/oganesson} } \end{filecontents} \begin{document} The word ``oganesson'' is stressed on the third syllable \citep{MWOganesson}. \bibliographystyle{apacite} \bibliography{\jobname} \end{document} In the output, the title is printed as "Oganesson.." with two periods. Is a workaround known?

  • Unwanted large vertical spaces with breakable tcolorbox inside multicols* (XeLaTeX + Polyglossia RTL)
    by Natsu on August 11, 2026 at 6:31 pm

    I am writing an Arabic document using XeLaTeX and the polyglossia package for RTL (Right-to-Left) typesetting. I have defined a custom tcolorbox environment for exercises, which uses the breakable library. I am placing these boxes inside a multicols*{2} environment. However, the output produces extremely large, unwanted vertical spaces between the boxes, and the boxes do not break properly across the columns as expected. Due to my workflow, I must use the XeLaTeX engine and cannot switch to LuaLaTeX or pdfLaTeX. Here is the code that reproduces the issue: \documentclass[10pt,a4paper]{report} \usepackage{amsfonts,amsmath,amssymb,amsthm,enumitem,fancybox,multicol,xcolor,multirow,rotating,float,graphicx,polynom,pifont,array} \usepackage[most]{tcolorbox} \usepackage{tikz,tkz-tab,pgfplots,tkz-euclide} \pgfplotsset{compat=1.11} \usetikzlibrary{shadows,shapes,calc} \usepackage[top=1.5cm, bottom=1.5cm, left=6mm, right=6mm]{geometry} \definecolor{caa}{cmyk}{.94,0.37,0,0.17} \definecolor{cab}{cmyk}{.07,0,0,0.49} \everymath{\displaystyle} \newtcolorbox[auto counter]{exo}{ enhanced jigsaw, breakable,blanker,coltitle=black,fonttitle=\bfseries\large, title={\shadowbox{{التمرين} {\thetcbcounter}}}} \setlength{\parindent}{0cm} \usepackage{polyglossia} % \setdefaultlanguage[calendar=gregorian,locale=algeria]{arabic} \setotherlanguage{french} \newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri} \pagestyle{empty} \setlist[enumerate,1] { itemsep=-00.2cm, rightmargin=0.7cm, label=\fcolorbox{white}{gray!5}{\textcolor{black}{\arabic*)}} } \setlist[enumerate,2] { itemsep=-00.2cm, %rightmargin=0.7cm, label=\fcolorbox{white}{gray!5}{\textcolor{black}{\Alph*)}} } \begin{document} \begin{multicols*}{2} \columnseprule=1pt \columnsep=2mm %%%%%%%%%%%%%%%%%%%%%%%%%% % EXO 1 %%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{exo}{} \begin{enumerate}[label=(\Roman*] \item نعتبر النقط $A(1;2)$،$B(3;3)$ و $C(1;-2)$ \begin{enumerate}[label=\arabic*)] \item أكتب المعادلة الديكارتية للدائرة $(D)$ التي مركزها $A$ ونصف قطرها $ 2 $ \item أكتب المعادلة الديكارتية للدائرة $(D')$ التي قطرها $\left[ BC \right]$ \item أكتب معادلة المستقيم $(\Delta )$ محور القطعة المستقيمة $\left[ AB \right]$ \end{enumerate} \item بين إن كانت المعادلات التالية هي معادلة لدائرة يطلب تعيين عناصرها المميزة: \begin{enumerate}[label=\arabic*)] \item ${{x}^{2}}+{{y}^{2}}+2x-6y+1=0$ \item ${{x}^{2}}+{{y}^{2}}+4x+2y+5=0$ \item ${{x}^{2}}+{{y}^{2}}-6x-4y+2=0$ \end{enumerate} \end{enumerate} \end{exo} %%%%%%%%%%%%%%%%%%%%%%%%%% % EXO 2 %%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{exo}{} \begin{enumerate}[label=(\Roman*] \item نعتبر النقط $A(1;2)$،$B(3;3)$ و $C(1;-2)$ \begin{enumerate}[label=\arabic*)] \item أكتب المعادلة الديكارتية للدائرة $(D)$ التي مركزها $A$ ونصف قطرها $ 2 $ \item أكتب المعادلة الديكارتية للدائرة $(D')$ التي قطرها $\left[ BC \right]$ \item أكتب معادلة المستقيم $(\Delta )$ محور القطعة المستقيمة $\left[ AB \right]$ \end{enumerate} \item بين إن كانت المعادلات التالية هي معادلة لدائرة يطلب تعيين عناصرها المميزة: \begin{enumerate}[label=\arabic*)] \item ${{x}^{2}}+{{y}^{2}}+2x-6y+1=0$ \item ${{x}^{2}}+{{y}^{2}}+4x+2y+5=0$ \item ${{x}^{2}}+{{y}^{2}}-6x-4y+2=0$ \end{enumerate} \end{enumerate} \end{exo} %%%%%%%%%%%%%%%%%%%%%%%%%% % EXO 3 %%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{exo}{} $ABC$ مثلث متقايس الأضلاع و النقطة $ {J} $ مرجح الجملة $\left\{ \left( B,4 \right),\left( c,-2 \right) \right\}$ معرفة بالعلاقة: $\overrightarrow{AI}=\frac{4}{3}\overrightarrow{AB}$ \begin{enumerate} \item أنقل الشكل كما هو ثم أنشىء النقطتين $ {I} $ و $ {J} $ \item أثبت أن النقطة $ {I} $ هي مرجح النقطتين $ {A} $ و $ {B} $ مرفقين بمعاملين يطلب تعيينهما \item لتكن $ {G} $ مرجح الجملة \[\left\{ \left( A,-1 \right),\left( B,4 \right),\left( C,-2 \right) \right\}\] \item بين أن المستقيمين $ \left({AJ}\right) $ و$ \left({IC}\right) $ متقاطعان في النقطة $ {G} $ \item عين وأنشىء مجموعة النقط $ {M} $ التي تحقق: \[\left\| -\overrightarrow{MA}+4\overrightarrow{MB}-2\overrightarrow{MC} \right\|=\left\| \overrightarrow{MA}-\overrightarrow{MB} \right\|\] \item المستوي منسوب إلى معلم $\left( o,\overrightarrow{i},\overrightarrow{j} \right)$ لنعتبر أن: $ {A}(-{1},{0}) $ ، ${B}({0};{2}) $ و $ {C}({1},-{1}) $ \begin{enumerate} \item عين إحداثيات النقطة $ {G} $ \item لتكن النقطة $ {H}({2},{6}) $ مرجح النقطتين $ {A} $ و $ {B} $ المرفقتين بالمعاملين $ {a} $ و $ {b} $ على الترتيب عين عددين $ {a} $ و $ {b} $ يحققان ذلك . \end{enumerate} \end{enumerate} \end{exo} %%%%%%%%%%%%%%%%%%%%%%%%%% % EXO 4 %%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{exo}{} حتوي كيس على ثلاث كرات خضراء وكرتين حمراوين وواحدة بيضاء، الكرات لا نميز بينهما عند اللمس، نسحب عشوائيا من الكيس كرتين على التوالي مع إرجاع الكرة المسحوبة إلى الكيس ثم في حالة السحب على التوالي دون ارجاع الكرة المسحوبة \medskip \begin{enumerate} \item شكل شجرة لهذه التجربة \item احسب احتمال الحصول على : \begin{enumerate} \item $ A $ " كرتين خضراوين " \item $ B $ " كرة بيضاء بالضبط فقط " \item $ C $ "كرة بيضاء على الأقل " \end{enumerate} \item ليكن $ {X} $ المتغير العشوائي الذي يرفق بكل سحب عدد الكرات الخضراء المتبقية في الكيس بعد السحب \begin{enumerate} \item حدد قيم المتغير العشوائي $ {X} $ \item احسب قانون احتمال المتغير العشوائي $ {X} $ \item احسب الأمل الرياضي \end{enumerate} \end{enumerate} \end{exo} %%%%%%%%%%%%%%%%%%%%%%%%%% % EXO 5 %%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{exo}{} \begin{enumerate} \item أحسب كلا من $ \dfrac{2013\pi}{4} $ و $ \dfrac{1434\pi}{4} $ \item أثبت أن من اجل كل $ x $ من $ \mathbb{R} $ حيث $ \cos x \neq 0 $ فإن $ 1 + \tan^2 x = \dfrac{1}{\cos^2 x} $ ( نذكر أن $ \tan x = \dfrac{\sin x}{\cos x} $) \item أحسب قيمة $ \cos x $ إذا علمت ان : $ 0<x<\dfrac{\pi}{2} $ و $ \tan x = \dfrac{4}{3} $ \item من أجل كل عدد حقيقي $ x $، نضع : \[ g(x) = \sin\left(\pi -x \right) +2\sin\left( \dfrac{\pi}{2} -x \right) + \sin(\pi + x) - \cos(-x) \] \begin{enumerate} \item اثبت ان $ g(x) = \cos(x) $ من اجل كل $ x $ من $ \mathbb{R} $ \item حل في المجال $ \left[ 0;\pi\right] $ المعادلتين $ g(x) = \dfrac{\sqrt{3}}{2}، g(x)=-\dfrac{1}{2} $ \item مثل الصورتين الحلين على الدائرة المثلثية \item ستنتج مجموعة حلول المتراجحة : $ -\dfrac{1}{2}\leq g(x) \leq \dfrac{\sqrt{3}}{2} $ في المجال $ \left[ 0;\pi\right] $ \end{enumerate} \end{enumerate} \end{exo} \begin{exo}{} $(I$ لتكن الدالة $f$ المعرفة على مجموعة $D$ من $\mathbb{R}$ بــ : $f(x)=\sqrt{\dfrac{x+3}{x+2}}$ \begin{enumerate} \item بين أن $D=]-\infty;-3]\cup ]-2;+\infty [$. \item بين أن $f=g\circ h$ حيث $g$ هي الدالة جذر تربيعي و $h$ دالة يطلب تعيينها ثم عين مجموعة تعريفها $D_h$. \item تحقق أنه من أجل كل عدد حقيقي $x$ من $D_h$ فإن $h(x)=1+\dfrac{1}{x+2}$. \item إشرح طريقة رسم المنحنى $(C_h)$ الممثل للدالة $h$ في معلم متعامد و متجانس $(O;\vec{i};\vec{j})$. \item بين أن النقطة $\Omega(-2;1)$ مركز تناظر المنحنى $(C_h)$. \item عين إتجاه تغير الدالة $f$ عل كل من المجالين $]-\infty;-3]$ و $]-2;+\infty [$ \end{enumerate} $(II$ نعتبر الدالتين $h_1$ و $h_2$ حيث $h_1=|h(x)|$ و $h_2(x)=h(-|x|)$. \begin{enumerate} \item إشرح طريقة رسم $(C_{h_{1}})$ ثم ارسمه في نفس المعلم السابق. \item عين $D_{h_{2}}$ \item اثبت أن الدالة $h_2$ دالة زوجية. \item أكتب $h_2(x)$ بدون رمز القيمة المطلقة. \item إشرح طريقة رسم $(C_{h_{2}})$ منحنى الدالة $h_2$ إتطلاقا من $(C_h)$. \end{enumerate} \end{exo} % \begin{exo}{} في المستوي المنسوب إلى معلم متعامد و متجانس $(O;\vec{i};\vec{j})$ ليكن $(C_f)$ و $(C_g)$ التمثيلان البيانيان للدالتين $f$ و $g$ كما هو موضح في البيان المقابل. \begin{enumerate} \item عين $D_{g\circ f}$. \item عين كل من $(g\circ f)(-1)$، $(f\circ g)(0)$ و $(g\circ f \circ g)(-1)$. \item حل بيانيا المعادلتين : $(g\circ f)(x)=-1$ و $(f\circ g)(x)=-1$. \item حل بيانيا المتراجحتين : $(g\circ f)(x)>- 1$ و $(f\circ g)(x)<-1$. \end{enumerate} \begin{center} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \begin{tikzpicture}[>=stealth] \begin{axis}[width=10cm,axis equal image, axis lines=middle, xmin=-4,xmax=4, ymin=-4,ymax=4, grid=major, major grid style={thick,black!30}, tick style={thick}, axis line style={thick}, xlabel style={below=1mm}, ylabel style={left}, xlabel={$x$}, ylabel={$y$}, ytick={-4,...,4}, xtick={-4,...,4}, ticklabel style={font=\tiny}, enlargelimits={abs=5mm} ] \draw (-3,0) .. controls (-2.2362976110374655,0.022349953705373557 ) and (-1.7871145139449278,-2.003752526797132 ) .. (-1,-2) .. controls (-0.21288548605507218,-1.9962474732028679 ) and (0.7263994123388461,0.710460230102451 ) .. (1,1) .. controls (1.273600587661154,1.289539769897549 ) and (2.5,2.5 ) .. (3,3); \node[pin={-100:$\color{blue}{(\mathcal{C}_{f})}$}] at (axis cs:{-3.0, -2.0}) {}; \draw[blue] (-3,-2) .. controls (-2.5,-2 ) and (-2.217183436693102,-1.1722859428173302 ) .. (-2,-1) .. controls (-1.782816563306898,-0.8277140571826698 ) and (-1.0607758888591223,-0.41727605621498143 ) .. (-1,0) .. controls (-0.9392241111408777,0.41727605621498143 ) and (-0.2962089150845904,3.0137182385982237 ) .. (0,3) .. controls (0.2962089150845904,2.9862817614017763 ) and (0.6977281508223012,1.2169858502280775 ) .. (1,1) .. controls (1.3022718491776988,0.7830141497719225 ) and (1.653436868040466,0.347290917559549 ) .. (2,0) .. controls (2.3465631319595337,-0.347290917559549 ) and (2.723830631324811,-0.9715871122015161 ) .. (3,-1); \node[pin={100:${(\mathcal{C}_{g})}$}] at (axis cs:{3.0, 3.0}) {}; \end{axis} \begin{pgfonlayer}{background} \draw[drop shadow,draw,fill=white] ([yshift=2pt,xshift=-8pt]current bounding box.north west) rectangle ([xshift=2pt,yshift=-8pt]current bounding box.south east); \end{pgfonlayer} \end{tikzpicture} \end{center} \end{exo} \begin{exo}{} $f$ دالة معرفة على و $\mathbb{R}-\{4\}$ بــ : $f(x)=a+\dfrac{b}{x-4}$ حيث $a$ و $b$ عددان حقيقيان $(C_f)$ نمثيليها البياني في المستوي المنسوب إلى معلم متعامد و متجانس $(O, \overrightarrow{i}; \overrightarrow{j})$، كما هو موضح في البيان أسفله . \begin{enumerate} \item عين شعاع الإنسحاب الذي يسمح بالإنتقال من منحنى الدالة مقلوب إلى المنحنى $(C_f)$. \item استنتج عبارة الدالة $f$. \item شكل جدول تغيرات الدالة $f$. \item خمن بيانيا إحداثيتي مركز تناظر المنحنى $(C_f)$ ثم تأكد جبريا. \item حل بيانيا المتراجحة $f(x)\geq 0$. \item لتكن الدالة $g$ المعرفة على $\mathbb{R}-\{4\}$ بــ : $g(x)=\left| \dfrac{x-3}{x-4}\right| $ \end{enumerate} \begin{enumerate} \item أكتب $g(x)$ بدون رمز القيمة المطلقة. \item إشرح كيفية إنشاء $(C_g)$ إنطلاقا من $(C_f)$ ثم أنشئه. \item باستعمال إتجاه تغير مركب دالتين، أدرس إتجاه تغير الدالة $h$ المعرفة على $\mathbb{R}-\{4\}$ بــ : $h(x)=[f(x)]^{2}$ \end{enumerate} \begin{center} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \begin{tikzpicture}[>=stealth] \begin{axis}[width=9cm,axis equal image, axis lines=middle, xmin=-1,xmax=6, ymin=-3,ymax=4, grid=major, major grid style={thick,black!30}, tick style={thick}, axis line style={thick}, xlabel style={below=1mm}, ylabel style={left}, xlabel={$x$}, ylabel={$y$}, ytick={-3,...,4}, xtick={-1,...,6}, ticklabel style={font=\tiny}, enlargelimits={abs=5mm} ] \addplot[very thick,,smooth,red,domain=4.1:6.5]{((x-3)/(x-4))}; \addplot[very thick,,smooth,red,domain=-1.0:3.9]{((x-3)/(x-4))}; \node[pin={100:$\color{red}{(\mathcal{C}_{f})}$}] at (axis cs:{2.0, 0.5}) {}; \end{axis} \begin{pgfonlayer}{background} \draw[drop shadow,draw,fill=white] ([yshift=2pt,xshift=-8pt]current bounding box.north west) rectangle ([xshift=2pt,yshift=-8pt]current bounding box.south east); \end{pgfonlayer} \end{tikzpicture} \end{center} \end{exo} \end{multicols*} \end{document} Note: I would like to point out that this is not an isolated incident; this issue occurs consistently across all my documents whenever I use this specific combination. Questions: Is there a known conflict between tcolorbox (breakable), multicol, and polyglossia (RTL) under XeLaTeX? How can I force the vertical spacing to be completely normal without these large gaps? Any assistance or workarounds would be deeply appreciated!

  • How to left shift an epigraph?
    by Frode Alfson Bjørdal on August 11, 2026 at 2:42 pm

    I have \usepackage{epigraph} in the preamble and write: \documentclass{article} \usepackage{geometry} \usepackage{epigraph} \begin{document} \epigraph{ Visibility and identity are fundamental.\\ Step-identicality makes propositions from antepositions,\\ truth from visibility,\\ and sets from visions. }{} \end{document} But this produces: but I notice that it produces an epigraph under TexStudio which is different from the one I quoted above --- which was produced under OverLeaf. Nevertheless, in both cases there were line breaks which call for a shift of the epigraph to the left. How may I shift the epigraph to the left by the length of "antepositions" so that the epigraph produces the four lines correctly---without affecting the other epigraphs in the document?

  • lualatex: integral limits above and below the integral sign wanted (instead of right) [duplicate]
    by Jürgen on August 11, 2026 at 11:17 am

    [continuation of this closed question from today] I would like to have the limits above and below the integral, not on the right side. Using pdflatex I realized this with the shown options for amsmath. What do I have to do when using lualatex? \documentclass{scrartcl} %\usepackage[intlimits,sumlimits]{amsmath} % used w/ pdflatex \usepackage{unicode-math} %\setsansfont{KpSans} %\setmainfont{KpRoman} %\setmathfont{KpMath-Regular} \begin{document} \begin{equation} E = \int_0^x m d c \end{equation} \end{document} With the \removenolimits macro the limits are on the right place (for me on displayed equations). When I compare the results with pdflatex & kpfonts with lualatex & kpfonts-otf I notice two points: (1) The slanted integral sign looks better (for me). But this is surely the decision of the designer. That's ok for me. (2) The distance between the integral sign and the integrand is far too long. Of course I can modify the \int macro, but maybe there is a better way?!

  • Adjust vertical space after last item of a list
    by Sunris8 on August 11, 2026 at 8:23 am

    I'm using setlength\itemsep{..} to change the space between subitems of a customized list. The problem is that the last "subitem" is too close to the second "main item" (see picture). This is quite ugly and unbalanced. Is there a way to automatically increase the spacing (other than setlength\itemsep{..} or \vspace) that would fit in this case? \documentclass{article} \usepackage{enumitem} \newlist{questions}{enumerate}{3} \setlist[questions,1]{font=\bfseries, label = Exercise~\arabic*~:, ref = \arabic*, align = left, wide=0cm} \setlist[questions,2]{label=\bfseries \arabic*),align = right, leftmargin=1.2cm} \begin{document} \begin{questions} \item Question? \begin{questions} \item Subquestion 1 \item Subquestion2: nice spacing \end{questions} \item More Questions? \begin{questions} \item Subquestion 1 \item Subquestion2 \end{questions} \end{questions} \vspace{2cm} \begin{questions} \item Question? \begin{questions}\setlength\itemsep{3em} \item Subquestion 1 \item Subquestion2 : bad spacing \end{questions} \item More Questions? \begin{questions} \item Subquestion 1 \item Subquestion2 \end{questions} \end{questions} \end{document}

  • lualatex: integral limits above and below the integral sign wanted [closed]
    by Jürgen on August 11, 2026 at 8:01 am

    I would like to have the limits above and below the integral, not on the right side. Using pdflatex I realized this with the shown options for amsmath. What do I have to do when using lualatex? \documentclass{scrartcl} \usepackage{fontspec} %\usepackage[intlimits,sumlimits]{amsmath} \usepackage{unicode-math} %\setsansfont{KpSans} %\setmainfont{KpRoman} %\setmathfont{KpMath-Regular} \begin{document} \begin{equation} E = \int_0^x m d c \end{equation} \end{document}

  • Unknown Template Keys in \EditInstance
    by CarneSeca on August 10, 2026 at 5:17 pm

    I'm trying to write a set of course notes with LaTeX's accessibility tagging on, but I want to change up the chapter and sections headings. The titlesec package is incompatible, so I'm using the \EditInstance command, based on the answers to this previously asked question: Space between top of text area and chapter heading using \EditInstance formating (ruled headformat) I copy-pasted MWE#2 from that answer into my LaTeX editor, re-copied below for completeness. I'm compiling with TexLive 2026's version of lua-latex, which reports itself as ' LuaHBTeX, Version 1.24.0 (TeX Live 2026) ', all packages are up-to-date in tlmgr. The issue is that I get several errors of the form "LaTeX template: Unknown template key 'after-sep'." (I also get the same error for before-sep and decls, as well as "LaTeX template: The instance 'hang' of type 'headformat' is unknown.") I'd like to make this MWE work on my system (so I can modify it to my needs), but I can't for the life of me figure out what is going on. I haven't been able to find any good documentation online about the \EditInstance command, I'm basically just going off of what I can learn from Stack Exchange questions. Any help is appreciated! % Source - https://tex.stackexchange.com/q/760989 % Posted by polaren % Retrieved 2026-08-10, License - CC BY-SA 4.0 \DocumentMetadata{ lang = sv, pdfversion = 2.0, pdfstandard = ua-2, tagging = on, } \documentclass[11pt,a4paper,twoside,final]{report} \usepackage[margin=25mm,top=24mm,bottom=24mm,nomarginpar,nohead,footskip=11mm]{geometry} \usepackage{showframe}\renewcommand\ShowFrameLinethickness{0.05mm} \usepackage[document]{ragged2e} % Needed for compilation. \usepackage{hyperref} % Needed to pass VeraPDF. \hypersetup{ pdftitle={MWE}, pdfauthor={polaren}, pdfsubject={First question to LaTeX Stack Exchange.}, } \EditInstance{heading}{chapter}{ number-format=\makebox[12mm][l]{\theheading.}, number-decls=\sffamily\fontsize{14pt}{16pt}\selectfont, title-decls=\sffamily\fontsize{14pt}{16pt}\selectfont, after-sep=0mm, before-sep=0mm, start-code=\clearpage\vspace*{-10.75mm}\rule{\textwidth}{0.1mm}\newline\vspace*{-18mm}, final-code=\vspace*{-5mm}\rule{\textwidth}{0.1mm}\newline\vspace*{0mm}, headformat-instance=hang, decls=\raggedright\parindent 0pt\rmfamily } \setlength{\parskip}{6pt plus 1pt minus 1pt} %\setlength{\parskip}{0pt} \usepackage{kantlipsum} \begin{document} \chapter*{Unnumbered Chapter} Test. \chapter{Title of Chapter} \kant[1] \end{document}

  • Is There a Simpler Way to Use Lettrines in a Verse Environment without Invoking a Subroutine
    by Yves on August 10, 2026 at 2:10 pm

    This is a follow-up question, based on the solutions found in Is There a Simpler Way to Use Lettrines in a Verse Environment without Invoking a Subroutine? In an attempt to help a friend compose a book of her poems, I have tried to take advantage of the lessons above, in particular the last one using the lettrine method. However when I change the poem (seemingly without any other change), I get the two first lines severely indented and the output is not visually satisfactory. I could not explain the reason for this and even less find a correction. \documentclass[a4paper,10pt]{article} \usepackage{lettrine} \usepackage{verse} \begin{document} \poemtitle{Complete solution via {\em lettrine} methods} \begin{verse}[8cm] \lettrine[lhang=1.5,nindent=0em]{M}{aking} a famine where abundance lies,\\> Thy self thy foe, to thy sweet self too cruel.\\ Thou that art now the world's fresh ornament, \\ And only herald to the gaudy spring, \\ Within thine own bud buriest thy content, \end{verse} \bigskip \poemtitle {The Sea Bell} \begin{verse}[8cm] \lettrine[lhang=1.5,nindent=0em]{I}{walked} by the sea,\\> and there came to me,\\ as a star-beam on the wet sand,\\ a white shell like a sea-bell;\\ trembling it lay\\ in my wet hand.\\ In my fingers shaken I heard waken\\ a ding within, by a harbour bar\\ a buoy swinging, a call ringing\\ over endless seas,\\ faint now and far\ldots \end{verse} \end{document

  • adjust spacing between toc sections with multicolumn
    by Matteo on August 10, 2026 at 11:27 am

    I have a situation where for a couple of sections I do have subsections in the toc but for the remaining two I don't. Below, an example of how the Outline looks like: Now, as you can see, section 1 and 3 align, whereas 2 and 4 does not. Would there be a way to horizontally align section 4 to section 2 in the toc? MWE \documentclass{beamer} \usetheme{Boadilla} \usepackage{calc} \useoutertheme[width=0pt,height=.5in]{sidebar} \newlength\MyColSep \setlength\MyColSep{.1in} \newlength\MyColWd \setlength\MyColWd{0.5\textwidth-\MyColSep} \AtBeginSection[]{ \begin{frame}{Outline} \begin{columns}[T] \begin{column}{.5\textwidth} \setlength{\parskip}{2ex} \tableofcontents[sections={1-2},currentsection,sectionstyle=show/shaded,subsectionstyle=show/shaded] \end{column} \begin{column}{.5\textwidth} \setlength{\parskip}{2ex} \tableofcontents[sections={3-4},currentsection,sectionstyle=show/shaded,subsectionstyle=show/shaded] \end{column} \end{columns} \end{frame} } \AtBeginSubsection[] { \begin{frame} \frametitle{Outline} \begin{columns}[T] \begin{column}{\MyColWd} \setlength{\parskip}{2ex} \tableofcontents[sections={1-2},currentsection,currentsubsection,subsectionstyle=show/shaded] \end{column} \begin{column}{\MyColWd} \setlength{\parskip}{2ex} \tableofcontents[sections={3-4},currentsection,currentsubsection,subsectionstyle=show/shaded] \end{column} \end{columns} \end{frame} } \begin{document} \section{SECTION 1} \subsection{a subsection 1} \subsection{a subsection 2} \subsection{a subsection 3} \section{SECTION 2} \subsection{a subsection 1} \subsection{a subsection 2} \subsection{a subsection 3} \section{SECTION 3} \section{SECTION 4} \end{document}

  • How to reproduce the correct intersection curve of two 3D surfaces using PGFPlots?
    by Samia Rani on August 10, 2026 at 10:50 am

    I am trying to reproduce a 3D figure from a mathematics book in LaTeX using TikZ/PGFPlots. The figure shows two surfaces and their intersection. The two surfaces are given by x^2 + xy - y - 3z = 0 and 2x^2 + 3xy - 2y - 3z = 0. I plotted both surfaces directly from their equations and also added their intersection curve. However, the shape and especially the intersection curve in my output look quite different from the figure in the book, even though I am using the same equations. I am not sure whether the difference is caused by the viewing angle, the plotting ranges, the parametrization of the intersection curve, or something else. Here is my current code: \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \usepackage{tikz} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture} \begin{axis}[ view={120}{25}, axis lines=none, xmin=-2.5, xmax=2.5, ymin=-2.5, ymax=2.5, zmin=-5, zmax=5, width=11cm, height=8cm, ticks=none, ] %================================================ % GREEN SURFACE % 2x^2 + 3xy - 2y - 3z = 0 %================================================ \addplot3[ surf, shader=interp, colormap={greenmap}{ color(0cm)=(green!15); color(1cm)=(green!35) }, colormap name=greenmap, domain=-2:2, y domain=-2:2, samples=35, samples y=35, opacity=0.65, ] { (2*x^2 + 3*x*y - 2*y)/3 }; %================================================ % BLUE SURFACE % x^2 + xy - y - 3z = 0 %================================================ \addplot3[ surf, shader=interp, colormap={bluemap}{ color(0cm)=(blue!15); color(1cm)=(blue!35) }, colormap name=bluemap, domain=-2.2:2.2, y domain=-2.2:2.2, samples=30, samples y=30, opacity=0.55, ] { (x^2 + x*y - y)/3 }; %================================================ % INTERSECTION CURVE % gamma(t) = % ( t, -t^2/(2t-1), t^3/(3(2t-1)) ) %================================================ \addplot3[ very thick, red, samples=100, domain=-2.2:0.35, variable=\t, ] ( {\t}, {-\t^2/(2*\t-1)}, {\t^3/(3*(2*\t-1))} ); \addplot3[ very thick, red, samples=50, domain=0.65:2.2, variable=\t, ] ( {\t}, {-\t^2/(2*\t-1)}, {\t^3/(3*(2*\t-1))} ); \end{axis} \end{tikzpicture} \end{document} The book's figure has a noticeably different orientation and shape for the two surfaces and their intersection. The book's figure looks like this: My current output looks like this: Could someone please explain what is causing this difference and how I can modify my PGFPlots code to obtain a figure that looks like the one in the book? In particular, I would like to know whether I should change the view angles, the plotting domains, or the parametrization of the intersection curve.

  • Punctuation in system of equations
    by Sunris8 on August 10, 2026 at 9:55 am

    I would like to know if there is both a correct and "nice" way to use punctuation in systems of equations. I have tried \documentclass{article} \usepackage{amsmath,array} \usepackage{systeme} \begin{document} This looks correct but ugly $$ \systeme{x+y=7, x-y = 3}\,. $$ What about $$ \systeme{5x+2y=7\, , 5x-2y= 3\,. } $$ \end{document} The first solution is what I would expect to be correct but it's quite ugly. The second solution does not display the comma after the first equation. Is there a rule for punctuation after a system? If yes, how to do it with this command?

  • Asymptote: function which accepts a triple-function and a real t-value, and provides the approximated Frenet basis of that function at that t-value
    by Jasper on August 10, 2026 at 9:24 am

    I have an arbitrary function which outputs a 1D parametric triple in Asymptote. I want to find the Frenet basis of it at a point without resorting to coding derivatives for every individual function. My goal is to have a function which gives me the approximated Frenet basis of any triple-producing 1D function at a specific input. import three; import graph3; unitsize(3cm); triple curve(real t) { real t1 = 3.14 * t; return ( cos(t), sin(t), t ); } path3 f = graph(curve, 0, 2*pi, n=20); draw(f); /* I am attempting to make a function which accepts an arbitrary triple function, and an arbitrary parameter value. It's goal is to produce the matrix containing the position vector, the tangent vector, the normal vector, and the binormal vector - the so called Frenet basis. How can I do this for an arbitrary function. My goal is to not have to write individual matrix functions for every parametric curve. I'd much rather just input the curve's function and a parameter-value and be given the orthonormalized Frenet basis. */ real[][] T(triple function, real param) { triple df(real t) { return (1/0.04)*(function(t+0.02)-function(t-0.02)) } return {{df(param)},{},{},{}} }; I was able to achieve it in Lua, since my software enables verbose input. \documentclass[tikz, border=1cm]{standalone} \usepackage{lua-tikz3dtools} \begin{document} \begin{tikzpicture} \useasboundingbox[scale=0.5] (-5,-5) rectangle (5,5); \ltdtsetobject[ name=objs, object={ return { view = Matrix.zyzrotation(Vector:new{7*pi/6,pi/6,pi/2}), alpha = function(t) return Vector:new{sin(t)+2*sin(2*t),cos(t)-2*cos(2*t),-sin(3*t),1} end, frenet = function(surf, param) local tangent = function(s, p) return s(p + 0.02):hsub(s(p - 0.02)):hscale(1 / 0.04):hnormalize() end local normal = function(s, p) local tang = function(t) return tangent(s, t):hnormalize() end return tangent(tang, p) end local T = tangent(surf, param):hnormalize() local N = normal(surf, param):hnormalize() local B = T:hcross(N):hnormalize() local P = surf(param) local RE = Matrix:new{T, N, B, P} % currently projective, needs to be affine (at this time, at leat) RE[1][4] = 0 RE[2][4] = 0 RE[3][4] = 0 return RE end } } ] \ltdtappendlight[v={return Vector:new{1,1,1,1}}] \iffalse \ltdtappendcurve[ uparams={return Vector:new{0,tau,100}}, v={ return objs.alpha(u) :multiply(objs.view) }, draw options={return "draw, line cap=round"} ] \fi \ltdtappendsurface[ uparams={return Vector:new{0,tau,200}}, vparams={return Vector:new{0,tau,10}}, v={ return Vector:new{0, cos(v)/5, sin(v)/5, 1} :multiply(objs.frenet(objs.alpha, u)) :multiply(objs.view) }, fill options={return "fill=ltdtbrightness"} ] \ltdtdisplaysimplices \end{tikzpicture} \end{document} I also did it ad-hocly in tikz... https://chat.stackexchange.com/transcript/message/69138959#69138959

  • Hi everybody!... I have a problem with the headings of my file
    by Insp Agouni Imad on August 9, 2026 at 8:23 pm

    I have a problem with the headings of my arabic (right to left) file... "In the following file header code, the logic should work like this: Sections: Sections appearing on the same page should be printed on the left side of the header inside brackets [], separated by commas (,). Any unfinished section continuing onto the current page must also be included with the current page's sections in the header, preserving their order. Subsections: The same principle applies to subsections, which are also placed on the left side of the header." % ========================================================= % 12. الرأسية والتذييل ودعم النجمة (*) للعناوين أوتوماتيكياً % ========================================================= \usepackage{fancyhdr} \usepackage{extramarks} \usepackage{expl3} \patchcmd{\chapter}{\thispagestyle{plain}}{\thispagestyle{empty}}{}{} \patchcmd{\part}{\thispagestyle{plain}}{\thispagestyle{empty}}{}{} % --------------------------------------------------------- % المحرك الذكي المطور (التمييز التلقائي بين أعلى ومطب الصفحة) % --------------------------------------------------------- \ExplSyntaxOn \seq_new:N \g_my_sec_seq \seq_new:N \g_my_subsec_seq \seq_new:N \l_my_top_seq \seq_new:N \l_my_last_seq \seq_new:N \l_my_res_seq \seq_new:N \l_my_split_seq \int_new:N \l_my_top_len_int \int_new:N \l_my_last_len_int \int_new:N \l_my_start_idx_int \dim_new:N \g_my_pbefore_dim \dim_new:N \g_my_pafter_dim \tl_new:N \l_my_tmp_item_tl \tl_new:N \l_my_clean_title_tl \tl_new:N \l_my_tag_tl \tl_new:N \l_my_first_new_tl \tl_new:N \l_my_tmp_sec_tl \tl_new:N \l_my_tmp_sub_tl \cs_generate_variant:Nn \my_process_marks:nn { VV } % دالة استخراج العنوان بدون الرمز \cs_new_protected:Npn \my_get_title:nN #1#2 { \seq_set_split:Nnn \l_my_split_seq { ::: } {#1} \tl_set:Nx #2 { \seq_item:Nn \l_my_split_seq { 1 } } } \cs_generate_variant:Nn \my_get_title:nN { VN } % دالة استخراج رمز الموضع (T لأعلى الصفحة، M لمنتصف الصفحة) \cs_new_protected:Npn \my_get_tag:nN #1#2 { \seq_set_split:Nnn \l_my_split_seq { ::: } {#1} \tl_set:Nx #2 { \seq_item:Nn \l_my_split_seq { 2 } } } \cs_generate_variant:Nn \my_get_tag:nN { VN } % تسجيل ارتفاع الصفحة قبل إضافة العنوان \cs_new_protected:Npn \my_mark_before: { \dim_gset:Nn \g_my_pbefore_dim { \pagetotal } } % معالجة موضع الـ Section بعد إضافته (بدون أي تعديل إطلاقاً) \cs_new_protected:Npn \my_add_section_after:n #1 { \dim_gset:Nn \g_my_pafter_dim { \pagetotal } \tl_clear:N \l_my_tag_tl \dim_compare:nTF { \g_my_pbefore_dim > \topskip + 5pt } { \dim_compare:nTF { \g_my_pafter_dim >= \g_my_pbefore_dim } { \tl_set:Nn \l_my_tag_tl { M } } { \tl_set:Nn \l_my_tag_tl { T } } } { \tl_set:Nn \l_my_tag_tl { T } } \seq_gput_right:Nx \g_my_sec_seq { #1:::\l_my_tag_tl } \my_update_marks: } % معالجة موضع الـ Subsection بعد إضافته \cs_new_protected:Npn \my_add_subsection_after:n #1 { \dim_gset:Nn \g_my_pafter_dim { \pagetotal } \tl_clear:N \l_my_tag_tl \dim_compare:nTF { \g_my_pbefore_dim > \topskip + 5pt } { \dim_compare:nTF { \g_my_pafter_dim >= \g_my_pbefore_dim } { \tl_set:Nn \l_my_tag_tl { M } } { \tl_set:Nn \l_my_tag_tl { T } } } { \tl_set:Nn \l_my_tag_tl { T } } \seq_gput_right:Nx \g_my_subsec_seq { #1:::\l_my_tag_tl } \my_update_marks: } % تحديث علامات extramarks \cs_new_protected:Npn \my_update_marks: { \tl_set:Nx \l_my_tmp_sec_tl { \seq_use:Nn \g_my_sec_seq { @@@ } } \tl_set:Nx \l_my_tmp_sub_tl { \seq_use:Nn \g_my_subsec_seq { @@@ } } \extramarks{\l_my_tmp_sec_tl}{\l_my_tmp_sub_tl} } % تصفير ذاكرة الفصل \cs_new_protected:Npn \my_reset_chapter: { \seq_gclear:N \g_my_sec_seq \seq_gclear:N \g_my_subsec_seq \extramarks{}{} } % الخوارزمية الخاصة بـ Sections (بدون أي تعديل) \cs_new_protected:Npn \my_process_marks:nn #1#2 { \seq_clear:N \l_my_top_seq \seq_clear:N \l_my_last_seq \seq_clear:N \l_my_res_seq \tl_if_empty:nF {#1} { \seq_set_split:Nnn \l_my_top_seq { @@@ } {#1} } \tl_if_empty:nF {#2} { \seq_set_split:Nnn \l_my_last_seq { @@@ } {#2} } \int_set:Nn \l_my_top_len_int { \seq_count:N \l_my_top_seq } \int_set:Nn \l_my_last_len_int { \seq_count:N \l_my_last_seq } \int_compare:nF { \l_my_last_len_int = 0 } { \int_compare:nTF { \l_my_last_len_int = \l_my_top_len_int } { \tl_set:Nx \l_my_tmp_item_tl { \seq_item:Nn \l_my_last_seq { \l_my_last_len_int } } \my_get_title:VN \l_my_tmp_item_tl \l_my_clean_title_tl \seq_put_right:NV \l_my_res_seq \l_my_clean_title_tl } { \tl_set:Nx \l_my_first_new_tl { \seq_item:Nn \l_my_last_seq { \l_my_top_len_int + 1 } } \my_get_tag:VN \l_my_first_new_tl \l_my_tag_tl \str_if_eq:nnTF { \l_my_tag_tl } { M } { \int_compare:nTF { \l_my_top_len_int > 0 } { \int_set:Nn \l_my_start_idx_int { \l_my_top_len_int } } { \int_set:Nn \l_my_start_idx_int { 1 } } } { \int_set:Nn \l_my_start_idx_int { \l_my_top_len_int + 1 } } \int_step_inline:nnn { \l_my_start_idx_int } { \l_my_last_len_int } { \tl_set:Nx \l_my_tmp_item_tl { \seq_item:Nn \l_my_last_seq { ##1 } } \my_get_title:VN \l_my_tmp_item_tl \l_my_clean_title_tl \seq_put_right:NV \l_my_res_seq \l_my_clean_title_tl } } } \seq_if_empty:NF \l_my_res_seq { [~\seq_use:Nn \l_my_res_seq { ~،~ }~] } } % --------------------------------------------------------- % الخوارزمية الخاصة والمضمونة لـ Subsections % --------------------------------------------------------- \cs_new_protected:Npn \my_process_subsections_marks:nn #1#2 { \seq_clear:N \l_my_top_seq \seq_clear:N \l_my_last_seq \seq_clear:N \l_my_res_seq \tl_if_empty:nF {#1} { \seq_set_split:Nnn \l_my_top_seq { @@@ } {#1} } \tl_if_empty:nF {#2} { \seq_set_split:Nnn \l_my_last_seq { @@@ } {#2} } \int_set:Nn \l_my_top_len_int { \seq_count:N \l_my_top_seq } \int_set:Nn \l_my_last_len_int { \seq_count:N \l_my_last_seq } \int_compare:nF { \l_my_last_len_int = 0 } { % 1. في حالة عدم وجود أي subsection جديد في الصفحة الحالية \int_compare:nTF { \l_my_last_len_int = \l_my_top_len_int } { % عرض الـ subsection الممتد الأخير من الصفحات السابقة \tl_set:Nx \l_my_tmp_item_tl { \seq_item:Nn \l_my_last_seq { \l_my_last_len_int } } \my_get_title:VN \l_my_tmp_item_tl \l_my_clean_title_tl \seq_put_right:NV \l_my_res_seq \l_my_clean_title_tl } { % 2. وجود subsections جديدة في الصفحة الحالية % إذا كان هناك subsection سابق ممتد من الصفحة السابقة، نبدأ منه دائماً \int_compare:nTF { \l_my_top_len_int > 0 } { \int_set:Nn \l_my_start_idx_int { \l_my_top_len_int } } { \int_set:Nn \l_my_start_idx_int { 1 } } % تجميع العنوان الممتد + العناوين الجديدة الظاهرة في الصفحة \int_step_inline:nnn { \l_my_start_idx_int } { \l_my_last_len_int } { \tl_set:Nx \l_my_tmp_item_tl { \seq_item:Nn \l_my_last_seq { ##1 } } \my_get_title:VN \l_my_tmp_item_tl \l_my_clean_title_tl \seq_put_right:NV \l_my_res_seq \l_my_clean_title_tl } } } \seq_if_empty:NF \l_my_res_seq { [~\seq_use:Nn \l_my_res_seq { ~،~ }~] } } \cs_generate_variant:Nn \my_process_subsections_marks:nn { VV } % ربط دوال العرض \cs_new_protected:Npn \my_render_sections: { \tl_set:Nx \l_my_tmp_sec_tl { \topleftxmark } \tl_set:Nx \l_my_tmp_sub_tl { \lastleftxmark } \my_process_marks:VV \l_my_tmp_sec_tl \l_my_tmp_sub_tl } \cs_new_protected:Npn \my_render_subsections: { \tl_set:Nx \l_my_tmp_sec_tl { \toprightxmark } \tl_set:Nx \l_my_tmp_sub_tl { \lastrightxmark } \my_process_subsections_marks:VV \l_my_tmp_sec_tl \l_my_tmp_sub_tl } % تصدير الدوال \cs_gset_eq:NN \renderSections \my_render_sections: \cs_gset_eq:NN \renderSubSections \my_render_subsections: \cs_gset_eq:NN \myMarkBefore \my_mark_before: \cs_gset_eq:NN \addSectionAfter \my_add_section_after:n \cs_gset_eq:NN \addSubsectionAfter \my_add_subsection_after:n \cs_gset_eq:NN \resetHeaderChapter \my_reset_chapter: \ExplSyntaxOff \makeatletter % إعادة تعريف \section و \section* (بدون أي تعديل) \let\oldsection\section \RenewDocumentCommand{\section}{s o m}{% \myMarkBefore \IfBooleanTF{#1} {% عند استخدام \section* \oldsection*{#3}% \addcontentsline{toc}{section}{#3}% } {% حالة \section المرقم \IfValueTF{#2} {\oldsection[#2]{#3}} {\oldsection{#3}}% }% \addSectionAfter{#3}% } % إعادة تعريف \subsection و \subsection* \let\oldsubsection\subsection \RenewDocumentCommand{\subsection}{s o m}{% \myMarkBefore \IfBooleanTF{#1} {% عند استخدام \subsection* \oldsubsection*{#3}% \addcontentsline{toc}{subsection}{#3}% } {% حالة \subsection المرقم \IfValueTF{#2} {\oldsubsection[#2]{#3}} {\oldsubsection{#3}}% }% \addSubsectionAfter{#3}% } % تصفير الذاكرة عند بداية كل فصل جديد (\chapter) \AddToHook{cmd/chapter/before}{% \clearpage \resetHeaderChapter } \makeatother \pagestyle{fancy} \fancyhf{} % اليسار للـ Section واليمين للـ Subsection \fancyhead[L]{\small\bfseries\renderSections} \fancyhead[R]{\small\renderSubSections} \fancyfoot[C]{الأستاذ: عماد عقوني} \fancyfoot[LE,RO]{\thepage} \renewcommand{\headrulewidth}{1pt} \renewcommand{\footrulewidth}{1pt} \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[C]{الأستاذ: عماد عقوني} \fancyfoot[LE,RO]{\thepage} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{1pt} } \fancypagestyle{tocstyle}{% \fancyhf{} \fancyfoot[C]{(\abjad{page})} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} }

  • How can I draw the plane and intersection curve on a one-sheet hyperboloid in TikZ?
    by Samia Rani on August 9, 2026 at 5:23 pm

    I am trying to recreate the following mathematical figure in LaTeX/TikZ. The figure shows the one-sheet hyperboloid x^2 + y^2 - z^2 = 1 together with the plane 2x + z = 1. Their intersection is the red curve shown on the hyperboloid. After quite a lot of effort, I have managed to draw the one-sheet hyperboloid reasonably well in TikZ. However, I am having difficulty with the two remaining parts: How can I draw the transparent red plane 2x + z = 1 behind/in front of the hyperboloid, as shown in the reference image? How can I draw the red intersection curve between the plane and the hyperboloid so that it lies correctly on the surface? I would like the final figure to look as close as possible to the reference image, including the perspective, transparency of the plane, and the red intersection curve. Here is the code I currently have for the hyperboloid: \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \usepackage{tikz} \pgfplotsset{compat=1.18} \begin{document} \begin{tikzpicture}[>=stealth] \begin{axis}[ view={120}{22}, axis lines=none, xmin=-3.3, xmax=3.3, ymin=-3.3, ymax=3.3, zmin=-2.0, zmax=2.0, xtick=\empty, ytick=\empty, ztick=\empty, clip=false, ] %------------------------------------------------ % Red point at the origin %------------------------------------------------ \addplot3[ only marks, mark=*, mark size=2.5pt, draw=red, fill=red, ] coordinates {(0,0,0)}; %------------------------------------------------ % Smooth one-sheet hyperboloid %------------------------------------------------ \addplot3[ surf, shader=interp, draw=blue!55!black, opacity=0.65, samples=45, samples y=80, domain=-2.2:2.2, y domain=0:360, z buffer=sort, ] ( {sqrt(1+x^2)*cos(y)}, {sqrt(1+x^2)*sin(y)}, {x} ); %------------------------------------------------ % POSITIVE x-axis %------------------------------------------------ \draw[ ->, black, thick ] (axis cs:0,0,0) -- (axis cs:5.0,0,0) node[right] {$x$}; %------------------------------------------------ % NEGATIVE x-axis -- dashed %------------------------------------------------ \draw[ dashed, black, thick ] (axis cs:0,0,0) -- (axis cs:-2.0,0,0); %------------------------------------------------ % POSITIVE y-axis %------------------------------------------------ \draw[ ->, black, thick ] (axis cs:0,0,0) -- (axis cs:0,4.0,0) node[above left] {$y$}; %------------------------------------------------ % NEGATIVE y-axis -- dashed %------------------------------------------------ \draw[ dashed, black, thick ] (axis cs:0,0,0) -- (axis cs:0,-1.0,0); %------------------------------------------------ % POSITIVE z-axis %------------------------------------------------ \draw[ ->, black, thick ] (axis cs:0,0,0) -- (axis cs:0,0,3.0) node[above] {$z$}; %------------------------------------------------ % NEGATIVE z-axis -- dashed %------------------------------------------------ \draw[ dashed, black, thick ] (axis cs:0,0,0) -- (axis cs:0,0,-2.0); %------------------------------------------------ % Origin %------------------------------------------------ \node[ below right, inner sep=1pt ] at (axis cs:0,0,0) {$0$}; %------------------------------------------------ % Equation %------------------------------------------------ \node[ blue!75!black, font=\large ] at (axis cs:2.0,-0.5,1.1) {$x^2+y^2-z^2=1$}; \end{axis} \end{tikzpicture} \end{document} I would be very grateful for any suggestions on how to add the plane and, especially, the intersection curve correctly. Thank you!

  • Changing the font of algorithm name in algorithm2e
    by user631620 on August 9, 2026 at 1:38 pm

    I'm trying to format an algorithm using algorithm2e and hyperref. I would like to achieve that the algorithm's name is printed in sans-serif font (in the algorithm caption and whenever it is referenced via \ref). Minimal (non) working example: \documentclass{article} \usepackage[algoruled]{algorithm2e} \usepackage{hyperref} \begin{document} Below, we present Algorithm~\ref{alg:myalg}. \begin{algorithm} \SetAlgoLined \SetAlgoRefName{MyAlg} \If{$x >0$}{ \KwRet{$x$}} \caption{A test algorithm} \label{alg:myalg} \end{algorithm} \end{document} What I have tried: If I use something like \SetAlgoRefName{\sffamily MyAlg} and add \SetAlCapFnt{\normalfont} in the example above, the document will compile with multiple errors, but the result looks correct: Using algorithm2e commands like \SetAlCapFnt or \SetAlCapNameSty also did not work for me, as they seem to set the font not just for the name of the algorithm, but for larger parts of the title. Redefining one of the internal commands of algorithm2e (see below), I managed to get the caption correct, but this does not work for the links created via \ref. \renewcommand{\algocf@captionref}{% \renewcommand{\fnum@algocf}[1]{\AlCapSty{\AlCapFnt\algorithmcfname\nobreakspace\sffamily\algocf@algocfref}}% \addtocounter{algocf}{-1}% \caption do a refstepcounter, so we restore the precedent value \let\old@thealgocf=\thealgocf\renewcommand{\thealgocf}{{\relsize{\algocf@refrelsize}\algocf@algocfref}}% \gdef\@currentlabel{\sffamily\algocf@algocfref}% let the label use the new ref }%

  • rectangle behind first two letters of chapter title
    by G. Bay on August 9, 2026 at 11:28 am

    What I need to achieve is: A rectangle behind the first two letters of the chapter title, spanning up to the paper border (full bleeding over the margin) Change color of the first two letters of the chapter title. I have managed to do this with this specific chapter, but when I repeat the code with different words it gets all bugged, because my method is fine tuned to this word only. I used tikz for no special reason, maybe tcolorbox would be easier. How do I make it so it will work for every chapter without needing to readjust each time? \documentclass{memoir} \usepackage[% left=1.5in, right=1in, top=23.245mm, bottom=3cm ]{geometry} \usepackage{fontspec} \usepackage{moresize} % Configure Raleway: Map \textbf to the 'ExtraBold' font file \setmainfont{Raleway}[ UprightFont = *-Regular, ItalicFont = *-RegularItalic, BoldFont = *-ExtraBold, % \textbf uses Extra-Bold BoldItalicFont = *-ExtraBoldItalic % \textbf{\textit{...}} uses Extra-Bold Italic ] \usepackage{calc} \usepackage{tikz} \usetikzlibrary{positioning,calc} \usetikzlibrary{tikzmark, backgrounds} \usepackage{xcolor} \usepackage[explicit]{titlesec} \usepackage{xstring} \definecolor{cinza}{HTML}{918f90} \titlespacing*{\chapter}{0pt}{-70.5pt}{20pt} % Syntax: \titleformat{cmd}[shape]{format}{label}{sep}{before} \titleformat{\chapter}[display]% {\fontsize{42.5}{48}\selectfont\bfseries} % Format: 40pt, negrito {} % LABEL: Removes "Chapter 1" {0pt} % Separation: 0pt since no label {% \StrLeft{#1}{1}[\first]% Extract first letter \StrLeft{#1}{2}[\firsttwo]% Extract first two letters % % Print the first two letters (White) {\color{white}\MakeUppercase{\first}\StrGobbleLeft{\firsttwo}{1}}% % % CRITICAL FIX: Save the rest into \rest, then print \rest in cinza \StrGobbleLeft{#1}{2}[\rest]% {\color{cinza}\rest}% } \begin{document} \tikzmark{A}\tikzmark{B}\chapter{Apresentação} \AddToHookNext{shipout/background}{% \begin{tikzpicture}[remember picture,overlay] \begin{scope}[on background layer] % Define coordinates \coordinate (nA) at ([xshift=4.1em, yshift=-1.63cm]pic cs:A) ; \coordinate (sB) at ([xshift=9.1em]{pic cs:B} |- {current page.north}); % Draw the rectangle (it will now be behind text) \draw[fill=cinza, draw=none] (nA) rectangle (sB); \end{scope} \end{tikzpicture} } \end{document}

  • align hitbox of rotated reference cited in TikZ image
    by ali bab613 on August 8, 2026 at 2:52 pm

    I have a document which calls a .tex file that contains a standalone TikZ image. Within that image, I cite several references in a rotated node. I have the MWE here: main.tex: \documentclass{article} \usepackage{tikz} \usepackage{standalone} \usepackage{hyperref} \begin{document} \input{Chapter1} \bibliographystyle{IEEEtran} \bibliography{references} \end{document} and Chapter 1.tex: \documentclass{standalone} \usepackage{hyperref} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[color=black,rotate=17] at (3.25,-2.35) {\tiny\cite{Test1,Test2,Test3,Test4,Test5}}; \end{tikzpicture} \end{document} Most answers online deal with hyperref to an image that's entirely rotated, in my case this is one node amongst many, and the picture is not rotated. I did not suppress the hitboxes in hyperref (by using \usepackage[breaklinks]{hyperref}) for demonstration purposes, but the problem (obviously) persists for both cases. Here's a screenshot of the resulting image, and its hitboxes: The issue is not only that the box does not rotate (which isn't a massive problem), it's more that it does not align vertically, especially the further along the node you go. Changing the citation to {\tiny\cite{Test1,Test2,Test3,Test4}\cite{Test5}} also does not adjust the box vertically: This may be a long shot, but is there a way to better align the hitbox with the node?

  • TikZ to draw an arrow along the side of a table
    by Maronite Monks on August 7, 2026 at 2:06 pm

    I have a table to which I'd like to add a curved arrow (with an arrowhead at one end) running outside the table. The line will originate at the upper left portion of a table and end with the arrow pointing at the lower left portion. Another similar arrow will be outside the lower right side of the table and end pointing at the upper right side. I'd like some text to follow the curve of the arrows on each side of the table. The text for the left arrow will say: "Gives rise to the irascible". The text on the right will say: "Resolves in the concupiscible". Here's a MWE I've compiled with LuaLaTeX. \documentclass[12pt]{memoir} \addtolength\tabcolsep{.5in} \renewcommand\arraystretch{1.5} \begin{document} \begin{center} \begin{tabular}{c|c} \hline\hline {\scshape Good}& {\scshape Evil}\\\hline\hline\\[-9pt] love & hate \\\hline desire & avoid \\\hline joy & sad \\\hline\hline\\[-9pt] hope & bold \\\hline despair & fear \\\hline\hline\\[-9pt] & anger \end{tabular} \end{center} \end{document}

  • Robust way to write equation solving
    by Sunris8 on August 7, 2026 at 1:29 pm

    I want to write a robust code to write equations solving with vertical bar. I started with the last answer of this. My MWE is copied below. The problem is that the code is not robust (see picture: e.g. the length of the bar is fixed if you add more lines, but maybe some other issues that I have not spotted yet). At best, I would like a command \resolutionstep{...}{...} which would reproduce the picture adapting automatically the line of the equation, so something like: \begin{equation/array} \resolutionstep{3x+2{1}{-2} \resolutionstep{3x}{-1}{\div 3} \resolutionstep{x}{-\frac 13}{} \end{equation/array} Does any one know a good package/code to improve this? Thanks! \documentclass{article} \usepackage{showframe} \renewcommand{\ShowFrameLinethickness}{0.3pt} \usepackage{eqparbox} \usepackage{amsmath,array} \begin{document} blablabla \begin{alignat}{2} \qquad2x+2 &= 7x+3 &\hspace{6em}\smash{\rule[-5\baselineskip]{0.5pt}{6\baselineskip}} \qquad-2 & \\ 2x &= 7x+1 & -7 x & \\ -5x &= 1 &\div(-5) & \\ -5x &= 1 &\div(-5) & \\ -5x &= 1 &\div(-5) & \\ -5x &= 1 &\div(-5) & \\ x &= \boxed{-\frac{1}{5}} & & \end{alignat} \end{document}

  • CMUTypewriter symbols baseline inconsistency?
    by Explorer on August 7, 2026 at 4:46 am

    I have the following code: \documentclass{article} \usepackage{fontspec} \setmonofont{cmun}[ Extension = .otf, UprightFont = *btl, BoldFont = *tb, ItalicFont = *bto, BoldItalicFont = *tx, HyphenChar = None] \begin{document} Hello \texttt{+} world \texttt{-} and everyone! Hello \texttt{\char92 CJKsout+} world \texttt{\char92 CJKsout-} and everyone! \end{document} It gives the unexpected baseline of + and -... Any suggestions? Edited The original case was I want to illustrate two commands: \CJKsout+ \CJKsout- both in xeCJKfntef package. If they are put together, that was in bad looking, if you don't mind to read Chinese, you could see here.

  • Cookbook layouting with minipage?
    by Mr. Undercover on August 6, 2026 at 10:21 pm

    I am trying to create a latex layout for a cookbox, that I want to make. I have trouble however, trying to create 2 textboxes right next to each other as you can see. In my layout I create 2 minipages next to each other and the headlines of them look fine, however the text does not quite match what I want. First of all: the lines of the left box do not break, they break when the text reaches the very end of the page. Secondly, the text of the left box starts way below the title, right under the list of the right box? And thirdly, I defined "Zubereitung" which means preparation as #8 and "Zuaten" (ingredients) as #9, in my file for the recipe I put the instructions in #8 just like in the layout but it appears under the wrong one? I could just change the headlines, however I try to understand why that happens. Please help, it is driving me crazy, thanks!! I thought about trying parbox instead of minipage but I have also read, that you can not use enumerate in parbox? How can I make the 2 boxes "Zubereitung" (preparation) and Zutaten "ingredients" look clean next to each other?? \usepackage[a4paper,margin=2.2cm]{geometry} \usepackage{graphicx} \usepackage{xcolor} \usepackage{fontawesome5} \usepackage{parskip} \usepackage{tcolorbox} \usepackage{titlesec} % Keine Kapitelnummern \titleformat{\chapter}[display] {\Huge\bfseries} {} {0pt} {\Huge} % Kopf- und Fußzeilen ausschalten \pagestyle{plain} \definecolor{recipegreen}{RGB}{39,90,48} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\recipe}[9]{% \typeout{TEST TEST TEST} \clearpage \thispagestyle{empty} %========================================================== % Oberer Teil %========================================================== \noindent \begin{minipage}[t]{0.58\textwidth} \vspace{0pt} \includegraphics[ width=\linewidth, height=0.50\textheight, keepaspectratio ]{#2} \end{minipage} \hfill \begin{minipage}[t]{0.37\textwidth} \vspace{0pt} {\Huge\bfseries\color{recipegreen} #1} \vspace{1cm} {\large\faClock\quad #3} \vspace{0.4cm} {\large\faFire\quad #4} \vspace{0.4cm} {\large\faUserFriends\quad #5} \vspace{0.4cm} {\large\faGlobe\quad #6} \vspace{1cm} \begin{tcolorbox}[ colback=gray!8, colframe=gray!20, boxrule=0.3pt, arc=2mm] #7 \end{tcolorbox} \end{minipage} \vspace{1cm} %========================================================== % Unterer Teil %========================================================== \noindent \begin{minipage}[t]{0.58\textwidth} {\Large\bfseries Zubereitung} \vspace{0.5cm} #8 \end{minipage}\hfill \begin{minipage}[t]{0.37\textwidth} {\Large\bfseries Zutaten} \vspace{0.5cm} #9 \end{minipage} } \recipe {Shakshuka} {rezepte/shakshuka.jpg} {10 Minuten} {20 Minuten} {2 Personen} {Naher Osten} {Ein Frühstück das aus den mittleren Osten stammt. Es basiert auf einer gewürzten Tomaten-Paprika Basis mit gekochten Eiern.} { \begin{enumerate} \item schneiden daus idasdasdadas das das das ads das dassad \item kochen \item essen \end{enumerate} } { \begin{itemize} \item 1 Paprika das adsad s das das das das das das das ads sda das das dasd asd as da dsa dasd das das das dasd asd as dasd \item 3 Tomaten \item 5 Eier \end{itemize} }

  • How to easily draw and parameterize various pH titration curves (including diprotic/dibasic) for a beginner?
    by user446526 on August 6, 2026 at 8:23 am

    I am a complete beginner when it comes to drawing complex functional plots in LaTeX. I am trying to create several types of pH titration curves for a document, but I am struggling to write the code from scratch. I found a very helpful French website that seems to have the exact mathematical logic and LaTeX code for what I need: https://www.astrolabe-science.fr/courbes-titrages-acido-basiques-latex/ However, as a beginner, I find it quite difficult to extract just the essential parts to create a simple, easily editable template. I need to recreate the following types of curves (I have attached images of what I am aiming for): The 4 basic monoprotic titrations: Strong Acid, Strong Base, Weak Acid, and Weak Base. Diprotic acid titration: A curve with two equivalence points (increasing pH). Dibase titration: A curve with two equivalence points (decreasing pH). My request: Could someone help provide a simplified, beginner-friendly pgfplots (or TikZ) template based on the math from that website? Ideally, I am looking for a code structure where the main parameters (like initial concentrations, volumes, and pK_a values) are defined at the top so I can easily change them. It would be incredibly helpful if you could include brief comments/instructions inside the code explaining how to switch between the different types of curves (e.g., "change this sign for a base", "uncomment this for a diprotic acid"). Thank you so much for your time and help! I have attached images of what I am aiming for.

  • How to position some text independent of document flow?
    by lindes on August 5, 2026 at 4:41 am

    I'm relatively new to LaTeX, but... I very much suspect it's a decent tool for what I'm trying to do, but I'm having trouble quite getting the behavior I want. My goal is to create a cover, on a5 paper (ultimately, I'll print 2 on a single sheet of A4 paper), to wrap around an a6-sized booklet (the contents of which I've already created, using just pandoc, and thus LaTeX only implicitly). I've found ways to get two-column text that gets me the basics of things (and also a background image, not shown here), but I'd like to also put some text along what amounts to the spine of the booklet, but I'm having troubles getting the positioning of that correct. Here's what I've got so far (including adding showframe just for debugging purposes): \documentclass[a5paper,landscape]{article} \usepackage{rotating} % sideways, turn \usepackage{multicol} % columns \setlength{\columnsep}{1cm} \usepackage[left=0.5cm,right=0.5cm,top=2cm,bottom=2cm,showframe]{geometry} \pagenumbering{gobble} \begin{document} \begin{multicols}{2} \begin{center} Text here for the back cover... \end{center} \columnbreak \begin{center} {\huge A title here} \vspace{2cm} {\large And a subtitle} \end{center} \end{multicols} \makebox[\textwidth][c]{ \begin{turn}{270} Spine text ends up after subtitle... \end{turn} } \end{document} Which generates this: My hope was that the "S" of the "Spine text..." part would start at the same line as the top of the "A" in "A title here", but instead it seems to come at the roughly the same vertical position (acually a little lower, even) on the page as I'd get if I added another line of text... and if I indeed do that, it goes even lower. So, clearly its getting its positioning information from the other stuff on the page. I presume this is because it's in "Paragraph mode". Because I'm still new to LaTeX, though, I'm not sure what I would need to do to get this either into a different mode, or reset the positioning, or treat this as a third (middle) column, of a much narrower width, or... something I haven't even thought of, yet, perhaps. Any solutions (perhaps a different \documentclass, or adding some other packages, or what have you) would be appreciated. (Especially if they can also get me a simpler page layout -- without the space for headings and such that I see thanks to showframe.) Perhaps something to create a minipage with absolute positioning on the page? Or to just position that one line of text? Anyway, something to a least treat the spine text as somehow separate, positioning-wise, from the rest. I've dug around on this site and various others, and tried a few things, but not yet found something that I've been able to figure out how to apply to the challenge at hand. Hopefully that can soon change. 🙂 Thanks!