Hot
- Using lettrine equivalent inside Verse or Poem environmentby Yves on August 16, 2026 at 1:39 pm
This is a follow-up question of https://tex.stackexchange.com/a/163355. After numerous experiments with the lettrine package in the task of preparing a collection of poems for a friend who is unfamiliar with LaTeX, I have found the superb piece of code from Steven B. Segletes, and was delighted primarily because only the \startverse command does the job. However when long verses exceed the settings as in the example below, there is a space created between the lines 2 and 3 of the poem. I have been able to eliminate the problem by removing the "verse" package from the preamble, and also to some extent by changing the length of the minipage, in the code \begin{minipage}{4in}. But I wish to better understand the role of the {4in} minipage lenghth. (I wonder if a size depending on the textwidth would be more adequate and why the verse package affects the results. \documentclass[12pt, a5paper,draft]{book} \usepackage{scalerel} \usepackage[english]{babel} \usepackage[numberpoems, clearpageafterpoem]{poetrytex} \usepackage{showframe} \usepackage{stackengine} \usepackage{verse} %Following code borrowed from Steven B. Segletes %https://tex.stackexchange.com/a/163355 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\startverse#1\\#2\\{% \begin{minipage}{4in}% \firstline#1\relax% \def\verselineB{#2}% \if Q\versalletter\def\descstrut{\strut}\else\def\descstrut{}\fi% \def\Versal{\scalerel*{$\fontsize{28}{30}\selectfont\versalletter$}% {\def\stacktype{L}\stackon{T\descstrut}{T}}}% \setbox0=\hbox{\Versal\,}% \noindent\hspace*{\wd0}\verselineA\\% \smash{\Versal\,}\verselineB\strut% \end{minipage}\\% } \def\firstline#1#2\relax{\def\versalletter{#1}\def\verselineA{#2}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} Note: The witdh of the text is {\the\textwidth} \begin{poem}{A Limerick}{} \startverse There was an old party of Lyme\\ Who married three wives at one time. \\ When asked: ‘Why the third?’ \\ He replied: ‘One’s absurd, \\ And bigamy, sir, is a crime.’ \\ \end{poem} \end{document}
- Crafting tcolorbox theorem environments with ams-like syntax and working \label and \refby GeometriaDifferenziale on August 16, 2026 at 8:08 am
I'm trying to define some custom theorem environments with tcolorbox, while keeping the usual amsth syntax \begin{my_env}[My Optional Title] \label{my_optional_label} stuff \end{my_env} instead of tcolorboxs \begin{my_tcb_env}{My Optional Title}{my_optional_label} stuff \end{my_tcb_env} one. This way, if I decide to get rid of tcolorbox, I can do that without much hassle. I achieved a good-looking result with the following definitions: \definecolor{definitioncolor}{HTML}{0072B2} % Blue \definecolor{theoremcolor}{HTML}{D55E00} % Vermillion \definecolor{examplecolor}{HTML}{F0E442} % Yellow \definecolor{propositioncolor}{HTML}{D55E00} % Vermillion \definecolor{corollarycolor}{HTML}{D55E00} % Vermillion \definecolor{lemmacolor}{HTML}{D55E00} % Vermillion \definecolor{constructioncolor}{HTML}{CC79A7} % Reddish Purple \tcbset{ breakable, commonbox/.style={ boxrule=0.3pt, left=10pt, right=10pt, top=8pt, bottom=8pt, arc=3pt, outer arc=3pt, %colback=white, colbacktitle=white, coltitle=black, colframe=black!12, % Very subtle border enhanced, }, } % Theorem \NewTColorBox[auto counter, number within=section]{thm}{+O{}}{% commonbox, title={\textbf{Theorem} \thetcbcounter\IfBlankTF{#1}{}{ --- #1}}, colframe=theoremcolor, colback=theoremcolor!10, } % Definition \NewTColorBox[use counter from=thm]{dfn}{+O{}}{% commonbox, title={\textbf{Definition} \thetcbcounter\IfBlankTF{#1}{}{ --- #1}}, colframe=definitioncolor, colback=definitioncolor!10, } % Definition \NewTColorBox[use counter from=thm]{construction}{+O{}}{% commonbox, title={\textbf{Construction} \thetcbcounter\IfBlankTF{#1}{}{ --- #1}}, colframe=constructioncolor, colback=constructioncolor!10, } and so on. The problem now is that whenever I \begin{dfn}[My definition] \label{my_definition} stuff \end{dfn} and then try to \ref{my_definition}, I end up with the section number, not the definition number. The same goes for the other environments. This is in some sense expected, but I don't know how to change my code to make it work properly.
- Create a Complete Taiwanese Chinese Newspaper Template [closed]by mathrm alpha on August 16, 2026 at 4:37 am
Although I created a basic template for a Taiwanese chinese newspaper, some of the CJK text columns are misaligned, and the design isn't quite right—some of the white text inside the blue boxes doesn't fit properly. For example: and part page 2, \documentclass{article} \usepackage{xcolor,datetime2,xeCJK} \usepackage[paperwidth=37.5cm, paperheight=60cm, margin=2cm]{geometry} \usepackage{anyfontsize} \usepackage[demo]{graphicx} \renewcommand{\familydefault}{\sfdefault} \setCJKmainfont{Noto Sans CJK TC} \newcommand{\twtime}{\the\year 年\the\month 月\the\day 日} \begin{document} \fontsize{30pt}{30pt}\selectfont \textbf{\textit{A1}} \twtime \vspace{0.5em} \noindent\rule{\textwidth}{3pt} \vspace{2cm} \noindent \begin{minipage}[c][6cm][c]{33cm} \centering \includegraphics[width=33cm, height=6cm, keepaspectratio=false]{} \end{minipage} \vspace{1cm} \noindent \fcolorbox{blue}{blue}{% \begin{minipage}[c][0.75cm][c]{33cm} \color{white}% \fontsize{12pt}{12pt}\selectfont \makebox[8.25cm][c]{偉博多媒互動 出版}% \makebox[8.25cm][c]{第 10495 期}% \makebox[8.25cm][c]{洛杉磯中文日報}% \makebox[8.25cm][c]{洛杉磯地址:9645 Telstar Ave., EL Monte, CA 91731 Tel:626-453-8800}% \end{minipage}% } \vspace{1.5cm} \noindent % 第一欄新聞 \begin{minipage}[t]{10em} \fontsize{15pt}{15pt}\selectfont \raggedright (台北二十五日電)決戰北台灣,雙北桃竹大沸騰!九合一地方選舉明日投票,朝野政黨今晚皆動員舉辦選前之夜固票、催票、營造勝選氣勢,台北市長國民黨候選人蔣萬安陣營打造號稱「史上最大舞台」,邀選民凝聚集中選票的團結氣氛,無黨籍候選人黃珊珊選在市府前廣場,高喊「入主市府」。新北市藍綠場地僅隔 300 公尺,與新北歡樂耶誕城連成人潮,警方已規畫警力到場維安與疏導,雙北今晚熱鬧滾滾,估計有近 20 萬人參與選前盛會。朝野政黨今日進行最後衝刺,皆以北台灣為重點,蔡英文總統與副總統賴清德分進合擊,國民黨亦力拚「北北基桃」連線全上。蔣萬安今晚在北市基隆路、市民大道交叉口台泥停車場舉辦造勢晚會,搭建長度達 18.9 公尺大型造勢舞台。蔣競辦副發言人田方倫表示,今天將動員超過 44 個後援會,預計湧入逾 3 萬名支持者。台灣時報黃珊珊團隊發言人李昀臻說,黃珊珊在市府前廣場辦選前之夜,象徵進軍市府,人數上看逾 5 萬,除台北市長柯文哲到場站台,還有市場自治會長及防疫旅館商家代表。民進黨陳時中則在競選總部前北平東路舉行選前之夜,蔡英文總統將出席,至於目標人數,競總總幹事吳思瑤說,「絕對是 N 萬人!拭目以待」。國民黨新北市長侯友宜與民進黨新北市長候選人林佳龍,分別選在相距僅 300 公尺的板橋第一運動場前廣場,以及板橋區運路、新府路口舉辦選前之夜。侯陣營評估將湧入逾 5 萬名支持者,林陣營不願預估。新北市交通局預估新板地區將湧入逾 8 萬人,市府將啟動交通戰情室監控車流,新北市警局如臨大敵,啟動「祥和平安專案」,並動員 800 名警力維安及交通疏導。桃園市長選前之夜均由黨主席親自領軍,國民黨候選人張善政選在桃園陽明運動公園,由朱立倫率隊,議長邱奕勝、4 名黨籍立委等全到場力挺,盼催出北桃園潛在選票。民進黨候選人鄭運鵬挾行政資源,南北同時舉辦晚會,尤其北區春日路競選總部大咖雲集,包含蔡英文、蘇揆都出席,展現民進黨對桃園選情的重視與交棒決心。新竹市長三腳督選情激烈,藍綠白規畫以遊行、晚會拚場。國民黨新竹市長候選人林耕仁舉辦「為新竹而走大遊行」。民進黨候選人沈慧虹則在晚上 6 時,邀市民穿上光榮黃衣服、帽子或口罩等配件,從演藝路競總出發,途經北大路、北門街等路段後轉進東門圓環,再從中正路回到演藝路。民眾黨候選人高虹安則舉辦「新竹找安、選前之夜」晚會,柯文哲也將返鄉站台,邀請市民至孔廟廣場,站出來力挺高虹安。 \end{minipage}% \hspace{1cm}% \begin{minipage}[t]{10em} \centering \includegraphics[width=10em, height=20cm, keepaspectratio=false]{} \end{minipage}% \hspace{1cm}% \begin{minipage}[t]{10em} \fontsize{15pt}{15pt}\selectfont \raggedright (華盛頓二十四日電)過去 2 週,全美發生多起重大槍擊案,總統拜登今天誓言會致力推動槍枝管制。不過由於共和黨取得聯邦眾院多數黨席次,拜登政府想推動槍枝管制政策將十分不易。過去 2 週,全美發生多起重大槍擊,包括 15 日的維吉尼亞大學槍擊案,造成 3 名現役美式足球校隊隊員遇害、2 名學生受傷。科羅拉多州科羅拉多泉市同志夜店 Club Q 於 19 日深夜發生槍擊案,5 人喪生,25 人受傷;維吉尼亞州切薩皮克市沃爾瑪(Walmart)賣場 22 日深夜賣場員工開槍濫射,6 人遇害,6 人受傷。連續多起重大槍擊案讓槍枝管制議題再次浮上檯面。拜登 24 日發表感恩節談話,痛批銷售半自動武器是「病態」,他誓言將持續推動立法,另有所作為禁止攻擊性武器。拜登今天被媒體問到最新發生在沃爾瑪的槍擊案時表示,對這些槍擊案件感到厭倦,應當有更嚴格的槍枝管制法。拜登當天也攜帶南瓜派到麻州消防隊,慰問一線救急人員。拜登表示,「紅旗法」(Red Flag Laws)未能在全國範圍內執行十分荒謬。「紅旗法」允許執法人員得以沒收認為對自己或他人構成威脅的個人所持有的槍枝。責難紅旗法的人說,法律在找碴,剝奪人們的槍枝,而沒有取走真正危險之徒的武器,拜登稱這種觀念荒謬極了。他也指出,仍允許購買半自動武器是不對的,這沒有社會救贖價值,「零,沒有。除了槍枝製造商的利潤外,沒有任何一個、單獨的理由」。僅管共和黨重掌眾院,拜登仍表示會嘗試,「試圖擺脫攻擊性武器」。白宮 24 日表示,總統及第一夫人致電科羅拉多州也發生仇恨式槍擊案的 Club Q 夜店老闆弔唁,重申支持該社區,致力於反擊仇恨及槍枝暴力。美國在 8 日舉行期中選舉,共和黨拿下眾院 220 席的過半數席次,成為眾院多數黨。參院則仍由拜登所屬的民主黨主導。共和黨人多數反對嚴苛的槍枝管制法案,這意味明年 1 月初新國會開議後,拜登政府若想推動槍枝管制法案,將面臨來自反對黨的重大阻擾。 \end{minipage} \end{document} A better-looking version looks like this: https://epaper.chinesedaily.com/mobilethumbnailer.asp?p=0&d=112522&l=1#gallery-1 However, code that only includes these basic newspaper elements should not extend beyond one page. It doesn't have to be a complete image, but it should at least have some basic formatting elements for layout.
- arydshln dashed lines regression since TL2024?by Explorer on August 16, 2026 at 3:55 am
See the following code: \documentclass{article} \usepackage{array} \usepackage{arydshln} \begin{document} $\left( \begin{array}{ccc:c} 1 & 3 & 1 & 0 \\ 0 & -7 & 0 & -1 \\ 0 & 0 & m+1 & k-1 \end{array} \right)$ \end{document} With TL2023, it gives the expected result: However, if I switched to Tl24, things changed: When I compiled with my latest TL26 on my PC, it also gives the warning msg of ==> First Aid for arydshln.sty applied!: This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./mwe.tex LaTeX2e <2026-06-01> L3 programming layer <2026-07-20> (c:/texlive/2026/texmf-dist/tex/latex/base/article.cls Document Class: article 2025/01/22 v1.4n Standard LaTeX document class (c:/texlive/2026/texmf-dist/tex/latex/base/size10.clo)) (c:/texlive/2026/texmf-dist/tex/latex/tools/array.sty) (c:/texlive/2026/texmf-dist/tex/latex/extarrows/extarrows.sty (c:/texlive/2026/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (c:/texlive/2026/texmf-dist/tex/latex/amsmath/amstext.sty (c:/texlive/2026/texmf-dist/tex/latex/amsmath/amsgen.sty)) (c:/texlive/2026/texmf-dist/tex/latex/amsmath/amsbsy.sty) (c:/texlive/2026/texmf-dist/tex/latex/amsmath/amsopn.sty))) (c:/texlive/2026/texmf-dist/tex/latex/arydshln/arydshln.sty) ==> First Aid for arydshln.sty applied! (c:/texlive/2026/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./mwe.aux) [1{c:/texlive/2026/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./mwe.aux) )<c:/texlive/2026/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10. pfb><c:/texlive/2026/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb><c:/t exlive/2026/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><c:/texlive/202 6/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb> Output written on mwe.pdf (1 page, 35671 bytes). Transcript written on mwe.log. Anyone could kindly tell mme the reason and solution? BTW, I know that nicematrix could handle this easily, but this post is more like a bug report for backward compatibility.
- Is there a simple way to compile a LaTeX document that contains knitr chunks without compiling the knitrx chunks?by joshisanonymous on August 15, 2026 at 10:07 pm
I have a rather long LaTeX document. I compile it with XeLaTeX. It additionally contains knitr chunks. Some of the R code that is executed during this process takes a very long time to run because it's doing things like fitting a bunch of multinomial models and making API calls to Open Street Maps and the General Social Survey. Sometimes, I just want to compile the pure LaTeX portions of the document to make sure I didn't format something wrong or just to be able to read a paragraph that I just edited in PDF format instead of in plain text. In other words, I don't want to wait for the knitr chunks to run just to see how a modified table looks or to read a few paragraphs. The only way I know of to do this is to comment out every knitr chunk in the document. I can easily comment out just the very first chunk that runs my R scripts in the first place, but then the document breaks and can't be compiled due to all the knitr chunks and in-line knitr stuff. Alternatively, I could comment out all these later portions of code, too, but this is a book-length document, so that would be exceedingly tedious, more tedious than just waiting for the R scripts to all run. Is there an option or something built into the knitr package that would allow me to compile the LaTeX document but skip literally every knitr portion of the document? For example, say I have the following very small document: \documentclass{article} \title{Some title} \author{Some person} \date{Some date} \begin{document} <<run_script>>= source("stats_stuff.R") @ Here is some text. This number, \Sexpr{calculated_num}, comes from an object generated by my R script. <<plot>>= plot_from_R @ Now I am done with this document. \end{document} And say I have this in stats_stuff.R: calculated_num <- 5 + 7 plot_from_R <- boxplot(sample(1:20, 5)) My goal is to be able to do something simple like add an argument to run_script so bypass the knitr stuff in the document. Is that possible?
- How to stretch these double-angle delimiters appropriately?by Frode Alfson Bjørdal on August 15, 2026 at 9:30 pm
I have this MWE: \documentclass{article} \usepackage{amsmath} \newcommand{\AnschauungMultiline}[2]{% \left\langle\hspace{-1.8mm}\left\langle \vphantom{\begin{matrix} A \\ A \end{matrix}} #1 \mathrel{:} #2 \right\rangle\hspace{-1.8mm}\right\rangle } \begin{document} \[ \AnschauungMultiline{x}{ \begin{aligned} \forall y\biggl( g(&0)\in y \wedge H(0)\in y \wedge \forall n \Bigl((g(n)\in y\to g(n+1)\in y)~\\[-1mm] &\wedge (H(n)\in y\to H(n+1)\in y)\Bigr) \to x\in y\biggr) \end{aligned}} \] \end{document} How may I obtain outer double angle delimiters whose tops align with the top of the upper written line $g(0)\in y\wedge H(0)\in y \ldots$, and whose bottoms align with the bottom of the lower written line $\wedge (H(n)\in y\to H\ldots$? It would be very useful if the solution allows regulation for fine adjustment.
- Triangle Nesting ( Similar to Sierpinski Triangles )by Discrete on August 15, 2026 at 7:09 pm
Im curious to know if there is a more efficient way to have triangles repeat themselves in one another without needing to run the \draw command for each line of the triangle; similar to Sierpinski's triangles is essentially what it is but in a different way for nesting. So far i've been doing the \draw command as such \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} [scale = 3] \draw[thick] (0,0) -- (2,0) -- (1,1.73205) -- cycle; \draw[thick] (0,0) -- (1,0.8) (2,0) -- (1,0.8) -- (1,1.73205) -- (1,0.8); \draw[thick] (1,0.8) -- (1.566667,0.769); \end{tikzpicture} \end{document} if you do put this into overleaf or some other LaTeX code editor you'll see roughly what i'm trying to achieve. If there isn't a more efficient way to do it without \draw over and over for each line then I'll just need to have patience to do \draw for each line (as well if my current code isnt enough to show what im trying to achieve then i can provide a more detailed example and unfortunately i have not been able to find any images that show what im trying to get seeing as this is a rather new discovery i have found as far as i know).
- standalone class gives PDF warningby karlh on August 15, 2026 at 6:13 pm
If I create a minimal drawing using the standalone class, I get a warning: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw circle (1); \end{tikzpicture} \end{document} $ pdflatex [filename] [blah blah] [1 Non-PDF special ignored! <special> papersize=57.30548pt,57.30548pt A similar warning is emitted when using LuaTeX instead of PDFTeX. This message can safely be ignored, of course, but if I recall correctly, it was not there in past versions, and I thought I'd ask if someone knows why it occurs and whether it should occur. I don't know when this started happening, but I also do not remember it happening prior to a particular TeXLIVE upgrade (which would have been from TeXLIVE 2022 -> 2025, iirc, which Fedora was waiting on for quite a while so they could reorganize the packages).
- How to draw highly accurate, continuous pH titration curves with the tangent method in TikZ/pgfplots?by Natsu on August 15, 2026 at 5:28 pm
When attempting to plot pH-metric titration curves for weak/polyprotic acids and bases using piecewise Henderson-Hasselbalch approximations, sharp breaks and discontinuous artifacts often appear near equivalence points. Is there a robust, automated way in TikZ and pgfplots to plot continuous curves using exact charge and mass balance equations, while also supporting geometric constructions such as the tangent method (méthode des tangentes)?
- Making long texts shorter for \sectiontitle and \chaptertitle in the header with package titlepsby MS-SPO on August 15, 2026 at 11:38 am
Background: I transfer a document to LaTeX using class book. Its content doesn't change, so pages are "fixed", besides variations in vertical space I might introduce by accident using packages titleps and titlesec. Observations: Now the document has a handful of very long titles in \chapter{} and \section{}. Though this spoils the TOC after typesetting, that's not an issue here. My issue is: on some pages the text in the headers will be tooo long. However, I don't want to make them shorter manually, also to preserve the original way of expressing things from the author. Idea: Have long titles for \chapter{} and \section{} in body text AND have them truncated when typeset in the header. So if this is a long title working fine enough inside the document: \section{A very complex thing discussed for various aspects, like this one and that one} The header then should read, where appropriate A very complex thing disussed fo... (strict truncation) or A very complex thing disussed ... (more thoughtful truncation). So all I need to do is to pick the title (i.e. its token list or string) select a shorter range display said result best probably done via expl3 My problem It looks like there is an obstacle from package titleps itself. I can retrieve the whole text, but can't select a range from it. This might be an expansion-related problem, which I have not enough experience with. If I see it correctly, terms like \chaptertitle, \sectiontitle are automatically defined via the \csname approach: $ texdef -t latex -s -p titleps sectiontitle % titleps.sty, line 140: \let\sectiontitle\@empty % latex.ltx, line 158: \def\@empty{} From titleps.sty \let\parttitle\@empty \let\chaptertitle\@empty \let\sectiontitle\@empty \let\subsectiontitle\@empty \let\subsubsectiontitle\@empty \let\paragraphtitle\@empty \let\subparagraphtitle\@empty \newcommand\iftitle[1]{% \expandafter\ifx\csname #1title\endcsname\@empty \expandafter\@secondoftwo \else \expandafter\@firstoftwo \fi} MWE The idea is to delegate the truncation process to macro \shrt, which will later turn into a more useful truncation functionality, with proper case decisions. But for now it should just make text shorter, when asked to do so in \sectionhead. If there's a better approach, please let me know. \documentclass[10pt]{book} \usepackage[pagestyles,explicit]{titlesec} \usepackage[ % allowing a more concise screenshot later paperheight=12cm, paperwidth=16cm, left=25mm, right=20mm, top=15mm, headheight=10mm]{geometry} \usepackage{parskip} %\newcommand\shrt[1]{#1} % kind of quick default; comment out % THIS kind of works for body text, but not for \sectiontitle \ExplSyntaxOn % \tl_new:N \txt \newcommand\shrt[1]{% % mixed remains from several runs % \tl_set:Nn \txt #1% % assign #1 first? % \txt% %>\tl_range:nnn {\tl_use:N \txt}{1}{6}<} >\tl_range:nnn {#1}{1}{6}<% > < are just left/right indicators } \ExplSyntaxOff % ~~~ Just to get used to this package again ~~~~~~~~~ %\titleformat{\chapter}[display] %{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter} % Chapter 1 usw. %{20pt}{\Huge#1} %\titleformat % {\chapter} % cmd % [hang] % shape % {\bfseries\Large} % format % {\thechapter.} % label % {1em} % sep % {\shrt{#1}} % before code // chapter-title % []% after code \titleformat {\section} % cmd [hang] % shape {\bfseries} % format {\thesection.} % label {1em} % sep {#1} % before code // section-title [] % after code \newpagestyle{main}{ \sethead[\thepage][\chaptertitle][(\thesection] % even {\thesection)}{ \shrt{\sectiontitle% <<< idea: make it shorter, when too long }}{\thepage}} % odd \pagestyle{main} % ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \begin{document} \chapter{Test for the chaptertitle} \section{What's up?} 1234567890 \shrt{1234567890} \newpage \section{What's up now? Did anything change?} 1234567890 \shrt{1234567890} \newpage And now something total \dots \end{document}
- How can I customize an create new the unicode-math package's \symxx command and toggle between letter glyphs? [closed]by mathrm alpha on August 15, 2026 at 8:08 am
While LaTeX has a similar mechanism for inputting single characters, it doesn't mention something like \symttit{ABC€} where you only need to switch ABC in \symttit, meaning you don't need to switch € in \symttit in Monospace Italic style. Replacing characters in the argument - even within other commands unicode-math font character new mapping in \symsf I also used the above reference programs to switch font characters in a similar way: \documentclass{article} \usepackage{unicode-math} \ExplSyntaxOn \NewDocumentCommand{\symttit}{m} { \group_begin: \cs_set:Npn A { \texttt{\textit{A}} } \cs_set:Npn B { \texttt{\textit{B}} } \cs_set:Npn C { \texttt{\textit{C}} } \symit{#1}% Make a unavailable \symttit glyphs in fallback fonts \group_end: } \ExplSyntaxOff \begin{document} \texttt{\textit{ABC}} vs $\symttit{ABC}$ \end{document} However, it does not support switching between Monospace Italic style by inputting a single character within \symttit. The full name of the LaTeX command is required to switch to other character types (like the previous mechanism of converting \symsf{\alpha} to Greek letters).
- BibLatex not working on Mac TeXShop [duplicate]by Kevin on August 15, 2026 at 7:45 am
I'm using Mac TeXShop Version 5.57, on Mac OS Sequoia 15.7.4. I had been using BibTeX before with no problem but I've heard about BibLaTeX and figured I should get with the times and start using it (I also hope to do more complicated things like having several Bibliographies in the same document and such). \documentclass{amsbook} \include{header} % things I define in all my stuff here \usepackage{biblatex} \addbibresource{refs.bib} % my BibTeX file \begin{document} My document, blah blah, \cite{firstcitation}. \printbibliography \end{document} In TeXShop, I go to the "Typeset" Menu > LaTeX Then "Typeset" Menu > BibTeX Then "Typeset" Menu > LaTeX Then "Typeset" Menu > LaTeX like I always did with BibTeX. When it runs BibTeX, I get the following: This is BibTeX, Version 0.99d (TeX Live 2025) The top-level auxiliary file: app-history.aux I found no \citation commands---while reading file myfile.aux I found no \bibdata command---while reading file myfile.aux I found no \bibstyle command---while reading file myfile.aux (There were 3 error messages) and it doesn't generate anything in the .bbl file. In the end, I LaTeX it twice and no bibliography appears but instead I get the error: Package biblatex Warning: Please (re)run Biber on the file: (biblatex) app-history (biblatex) and rerun LaTeX afterwards. I am able to use BibTeX fine: \documentclass{amsbook} \include{header} % things I define in all my stuff here \begin{document} My document, blah blah, \cite{firstcitation}. \bibliographystyle{plain} % We choose the "plain" reference style \bibliography{refs} \end{document} works just fine.
- "Red. by", series editor in bibliographyby Mirco Nonchef on August 15, 2026 at 7:03 am
I'm using Latex with Zotero. I want to cite a book from a book series. The book has an author and an editor, and the book series has a separate title (the Dover Thrift Editions) and its own editor. When I add an Editor and a Series Editor role as in the MWEB below, I get the following in the bibliography: "Ed. by Janet B. Kopito, Red. by Susan L. Rattiner". The Red. (redacted) does not reflect the role of the series editor properly. Also, the name of the series is currently not part of the entry in the .bib file. How can I add the information for this publication such that it is displayed completely and accurately? MWEB: \begin{filecontents*}{\jobname.bib} @book{frost2019, title = {New {H}ampshire}, author = {Frost, Robert}, editor = {Kopito, Janet B.}, editora = {Rattiner, Susan L.}, editoratype = {redactor}, } \end{filecontents*} \documentclass{article} \usepackage[% autolang=other, backend=biber, style=numeric, defernumbers=true, autocite=superscript, giveninits=false, uniquename=false, language=english ]{biblatex} \addbibresource{\jobname.bib} \begin{document} \cite{frost2019} \printbibliography \end{document}
- How to make Verbatim environment that matches my current one based on tcolorboxby Nasser on August 15, 2026 at 12:01 am
Currently I use this to make verbatim display with rounded frame and yellow background, which works well, but I have to use \begin{tcolorbox}[myBox] \begin{verbatim} ..... \end{verbatim} \end{tcolorbox} But I'd like to be shorten this and be able to just write \begin{myVerbatim} ..... \end{myVerbatim} I can't make normal latex environment using \newenvironment{myVerbatim}[1]{% \begin{tcolorbox}[myBox] \begin{verbatim} }{% \end{verbatim} \end{tcolorbox} } Because what I am passing is verbatim. So I tried to use fancyvrb and its \DefineVerbatimEnvironment{myVerbatim}{Verbatim}{ but I am not able to get the exact look I currently have using tcolorbox and verbatim. From what I found it seems fancyvrb does not support rounded corners for frame and also does not support background color. fillcolor is not same. I do not want to use listings package in any way in all of this. (causes issue with tex4ht) Below I show my current tcolorbox implementation and my fancyvrb one. The question is: Is it possible to obtain the same look but using \DefineVerbatimEnvironment ? \documentclass[12pt]{article} \usepackage{tcolorbox} \usepackage{xcolor} \usepackage{verbatim} \tcbuselibrary{breakable} \definecolor{bg}{RGB}{255,255,226} \tcbset{ myBox/.style={ colframe=gray, colback=bg, boxrule=0.5pt, boxsep=4pt, arc=4pt, left=0pt, right=0pt, top=0pt, bottom=0pt } } \begin{document} \begin{tcolorbox}[myBox] \begin{verbatim} some 3^2 verbatim % text \sin x def hello_world_and_my_var(): print("Underscores work fine inside standard verbatim!") return True \end{verbatim} \end{tcolorbox} %I'd like to just do the following instead %\begin{myVeratim} % ................ %\end{myVerbatim} \end{document} Compiled using lualatex Here is the best I can do using fancyvrb \documentclass[12pt]{article} \usepackage{fancyvrb} \usepackage{xcolor} \definecolor{bg}{RGB}{255,255,226} % Define the custom verbatim environment \DefineVerbatimEnvironment{myVerbatim}{Verbatim}{ frame=single, % Adds the outer border framerule=0.5pt, % Sets border thickness rulecolor=\color{gray}, % Sets border color fillcolor=\color{yellow}, % Sets the yellow background color framesep=4pt, % Adjusts internal padding (matches boxsep) } \begin{document} \begin{myVerbatim} some 3^2 verbatim % text \sin x def hello_world_and_my_var(): print("Underscores work fine inside standard verbatim!") return True \end{myVerbatim} \end{document} Gives Which is not exactly the same. The solution I am looking for is to generate similar output as the first one above, but using \begin{myVerbatim}....\end{myVerbatim} to reduce typing. But with restrictions no use or loading listing package no use of external temporary files Any solution that does this will be great. It does not have to use fancyvrb either For an example, solution such as \newtcblisting{myVerbatim}{ colback=yellow!20, % background color colframe=gray, % border color boxrule=0.5pt, % border thickness arc=4pt, % rounded-corner radius boxsep=4pt, % padding left=4pt, right=4pt, top=4pt, bottom=4pt, listing only } Will not work, as this causes listing package to be loaded. TL 2026
- fill a longtblr table 2 columns with text in verse shapeby user1850133 on August 14, 2026 at 11:51 am
I have some poems or song lyrics like in the following piece: >>The poem Earum occaecati ut est aliquam quia. Et sunt voluptatem laborum hic omnis. Impedit ut velit exercitationem aut consequuntur >Ut dolorem iusto nam. Est error numquam consequatur qui accusamus. Odio illo sed numquam cumque iusto eum. Voluptatem ea cum et Every line marked with >> should be in Large font size with adequate below space and should go in the left column. The following, (verse or text preceded with >) should go just below. If > preceded text and a verse follow, the three (i.e. >> preceded text, > preceded text, and a verse) if possible should go in the same cell. If there is at least one more following verse it should go in the right column, same row. The vertical alignment should be set to bottom. If there are more verses they should alternatively fill the left column and right with one empty row for separation. Lines starting with > should be put in bold and go in the left column, and the following verse should go below. NB: Those who'd like to help, do it only if you're ready to make clear about your solution as much as the user (me) needs. Remember that we're not all full-time programmers. My main activity is something else. Here's is how it should look like. The Document was produced using LibreOffice. here's my try... \documentclass[a4paper]{article} \usepackage{tabularray,fancyhdr,verbatimbox} \UseTblrLibrary{booktabs} \setlength{\parindent}{0pt} \ExplSyntaxOn \NewDocumentEnvironment{myenv}{c} { \begin{longtblr}{colspec={Q[1,wd=.5\linewidth,h]Q[1,wd=.5\linewidth,h]}} \fill_tblr:n {#1} }{ \end{longtblr} } \bool_new:N \l__leftcol_bool \bool_set_true:N \l__leftcol_bool \seq_new:N \l__verse_stanzas_seq \seq_new:N \l__verse_lines_seq \NewDocumentCommand{\togglebool}{ }{ \bool_set_inverse:N \l__leftcol_bool } \cs_new_protected:Nn \fill_tblr:n { \seq_set_split:Nnn \l__verse_stanzas_seq { \obeyedline\obeyedline } {#1} \seq_map_function:NN \l__verse_stanzas_seq \__verse_stanza:n } \cs_new_protected:Nn \__verse_stanza:n { \seq_set_split:Nnn \l__verse_lines_seq { \obeyedline } {#1} \seq_map_function:NN \l__verse_lines_seq \__verse_line:n } \cs_new_protected:Nn \__verse_line:n { % check if the line starts with >> \str_if_eq:eeTF { \str_head:n {#1} } { >> } {% it does: move left and use bold face on what remains after > \hspace*{-\vleftskip} \textbf{ \exp_args:Nne \tl_rescan:nn {} { \tl_tail:n {#1}} } & \\ \bool_set_true:N \l__leftcol_bool } {% it doesn't: %check \l__leftcol_bool too \bool_if:nTF \l__leftcol_bool { % text must go in left column \str_if_eq:eeTF { \str_head:n {#1} } { > } {% it does: use bold face \textbf{ \exp_args:Nne \tl_rescan:nn {} { \tl_tail:n {#1}} } & \\ } { % it does not #1 & \togglebool } } { % text must go in right column \str_if_eq:eeTF { \str_head:n {#1} } { > } {% it does: use bold face & \textbf{ \exp_args:Nne \tl_rescan:nn {} { \tl_tail:n {#1}} } \\ } { % it does not & #1 \\ \togglebool } } } } \ExplSyntaxOff \pagestyle{fancy} \renewcommand{\headrulewidth}{.3pt} \begin{document} \begin{myenv} >>The poem Earum occaecati ut est aliquam quia. Et sunt voluptatem laborum hic omnis. Impedit ut velit exercitationem aut consequuntur >Ut dolorem iusto nam. Est error numquam consequatur qui accusamus. Odio illo sed numquam cumque iusto eum. Voluptatem ea cum et \end{myenv} \end{document}
- How to embed a qr code in a tcolorbox?by modallyFragile on August 14, 2026 at 10:58 am
I want to make an environment which takes two mandatory arguments, a title and a url, and prints a box, with the title at the top, a QR code of the url on the left, and the url itself at the bottom. The contents of the environment should be printed in the right of the box, wrapping under the qr code if long enough. I've got close. The MWE below creates a command which does this. But: It's not an environment. The tcolorbox tools available make it harder to create an environment with preset content. The qr code is printed, but leaves a thick margin at the top, between the QR code and the box. If the text is short, the QR code doesn't 'push' the bottom of the box down to accommodate it. (all demonstrated by the MWE below). The main issue seems to be floating (or otherwise managing) the QR code inside the box. I'm not sure how to approach this; below I used wrapfig2 because another question I found had success it. It compiles, but it doesn't quite work. How can I achieve what I want? \documentclass{article} \usepackage[skins]{tcolorbox} \usepackage{qrcode} \usepackage{wrapfig2} \usepackage{lipsum} % <title> <link> <description> \NewTotalTColorBox{\mweqrbox}{ m m m }{ enhanced,colback = white,colframe=black,coltitle=black, sharp corners,boxrule = 0.4pt, fonttitle = \itshape, attach boxed title to top text left = { yshift = -0.5\baselineskip-0.5pt, yshifttext = -0.25\baselineskip }, boxed title style={ tile, size = minimal, left = 0.5mm, right = 0.5mm, colback = white, before upper = \strut }, title={#1}, subtitle style = { fontupper = \scriptsize\ttfamily, colback = white, colframe = white, top=0pt, nobeforeafter }, lower separated=false }{% \begin{wrapfigure}{l} \qrcode{#2} \end{wrapfigure} #3 % Description % this is useful because otherwise, with a short description, the % subtitle cuts through the middle of the QR code. \tcblower \tcbsubtitle{#2} } \begin{document} \mweqrbox{Foo}{https://example.com/some/long/path#fragment}% { Some text here. Some text here. Some text here. Some text here. Some text here. Some text here. Some text here. Some text here. Some text here. Some text here. Some text here.} \end{document}
- Text in multicolumn cells does not center in tabularxby Alexander Z. on August 14, 2026 at 10:23 am
I am trying to create a tabularx table with centered content. Everything works as long as each cell is one column wide. But as long as I add multicolumn cells, the centering is skewed. How do I make the content centered properly? MWE: \documentclass[12pt,a4paper]{book} \usepackage{graphicx} % Required for inserting images \usepackage{float} \usepackage{tabularx} \usepackage[a4paper,hmargin=1.0cm,vmargin=1.5cm]{geometry} \newcolumntype{R}{>{\centering\arraybackslash}X} \renewcommand\tabularxcolumn[1]{m{#1}} \usepackage{multicol} \setlength{\columnsep}{1.0pc} \usepackage{multirow} \begin{document} \begin{figure}[H] \centering \begin{minipage}{1.0\textwidth} \Large \centering \begin{tabularx}{\textwidth}{|R|R|R|R|R|R|R|R|R|R|} \hline 30 & 31 & 32 & 33 & 34 & 35 & 36 & 37 & 38 & 39 \\ \hline 40 & 41 & 42 & 43 & 44 & 45 & 46 & 47 & 48 & 49 \\ \hline 50 & 51 & 52 & 53 & 54 & 55 & 56 & 57 & 58 & 59 \\ \hline 60 & (61) & (64) & (85) & (94) & (140) & (162) & \multicolumn{3}{>{\hsize=3\hsize\linewidth=\hsize}R|}{(\emph{on the right:} 163)} \\ \hline \multicolumn{6}{|>{\hsize=6\hsize\linewidth=\hsize}R|}{(\emph{on the left:} 170)} & & & & \\ \hline \end{tabularx} \end{minipage} \end{figure} \end{document} Result:
- Combining "manyfoot" with "endnotes" package to store two different sets of endnotesby BarbarianLunatic on August 14, 2026 at 9:56 am
I am currently working on a new book and would like to store two different sets of endnotes at the end of the document. One Should go under the Title "Botanical Relevance" and one "Noteworthy Mentions". I have managed at least to set the titles, but I cannot wrap my mind around the formatting. The idea is to predefine two sets of endnotes (one \alph and one \ arabic) with manyfoot and store them in two separate endnote libraries at the end of the document. The endnote libraries should preferably be called with a command like "\theendnotesB" and "\theendnotesN". I tried using "\let\footnoteB=\endnote" and changing it to "\let\footnoteN=\endnote" after having called the first endnote library, but the attempt failed. Any help appreciated. This is the MWE: \documentclass[12pt,draft]{book} \usepackage[ paperwidth=148mm,%242mm, paperheight=210mm, top=17mm, bottom=10mm, inner=15mm, outer=13mm, ]{geometry} \usepackage{nopageno} \usepackage[T1]{fontenc} \usepackage{manyfoot} \usepackage{endnotes} % multifoot Declaration \DeclareNewFootnote{B}[alph] % B = Botanical Relevance \DeclareNewFootnote{N}[arabic] % N = Noteworthy Mentions % How to Create a custom command to store all “B” Notes in one Endnote Library and all “N” Notes in another. \newcommand{\theendnotesB}{ } % not sure how to do this \newcommand{\theendnotesN}{ } % not sure how to do this % Sending "B" footnotes to endnotes library \let\footnoteB=\endnote % this command stores the “B” notes in Endnotes, but also changes them to arabic numbering \begin{document} ...and the Mage picked a white multifaceted flower and said ''Kham\footnoteB{This flower is equivalent to Yarrow (Achillea millefolium) and has the same properties}'' to the stranger, who understood nothing for the moment, but promised to himself quietly that he would learn everything he could from this man, who seemed so strange and yet so resourceful...for he knew that his people were in need of this knowledge\footnoteN{Here it must be mentioned that any man, who strives to become truly wise in the properties of healing plants, is an asset to his people.}.\\ The Moment passed and turned to dust, as everything will do at last, but worry not for life moves on and shows the seeking heart what's strong. %Endnotes Title B \renewcommand{\notesname}{\hphantom{cccccc}Botanical Relevance} %Endnotes B \newpage \begingroup \parindent 0pt \parskip 2ex \def\enotesize{\normalsize} \theendnotes %should probably be a new command → \theendnotesB \endgroup %Endnotes Title N \renewcommand{\notesname}{\hphantom{cccccc}Noteworthy Mentions} \let\footnoteN=\endnote % it was an attempt, but it failed %Endnotes N \newpage \begingroup \parindent 0pt \parskip 2ex \def\enotesize{\normalsize} \theendnotes %should probably be a new command → \theendnotesN \endgroup \end{document} These are the Pages with comments:
- kpfonts-otf: too much whitespace between integral sign and integrand?by Jürgen on August 13, 2026 at 4:16 pm
Maybe it is a matter of taste, but I think the space between integral sign and integrand is way too large when the kpfonts-otf package is in use: \documentclass{scrartcl} \usepackage{kpfonts-otf} %\usepackage{unicode-math} % loaded automatically by kpfonts-otf \removenolimits{\int} \removenolimits{\oint} \begin{document} \begin{equation} I = \int_0^x S ds \end{equation} \begin{equation} I = \oint_0^x S ds \end{equation} \end{document} This has already been discussed in this question, but I still think the space is not correct. [I am not sure, whether the tags are ok. Pls modify them if necessary.]
- is texstudio.org shutdown? I can't load it [closed]by V Hoi Anh Khoa 91 on August 13, 2026 at 2:45 pm
I try to download but I can't load into texstudio.org. Is there any alternative way to download it? I'm using a macbook
- A Package fontspec Error: [duplicate]by user2925716 on August 13, 2026 at 10:24 am
I'm looking for a correct,XeTeX compilable file: \def\extrasenglish{} % for varioref bug https://github.com/latex3/latex2e/issues/2112 \documentclass[ a4paper, % fontsize=10pt, % twoside=true, ]{kaobook} \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 \usepackage{amsmath,amssymb} \usepackage{mathrsfs} \usepackage{imakeidx} \usepackage{hyperref} \makeindex \usepackage{enumitem} \usepackage{etoolbox} \begin{document} \medskip \section{Lane Hemaspaandr]oing research collaboration.] kip {\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 \end{document} Command Line: bibtex.exe "lane3" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y This is BibTeX, Version 0.99d (MiKTeX 25.4) The top-level auxiliary file: lane3.aux I found no \citation commands---while reading file lane3.aux I found no \bibdata command---while reading file lane3.aux I found no \bibstyle command---while reading file lane3.aux (There were 3 error messages) Command Line: makeindex.exe "lane3.idx" Startup Folder: C:\Users\Hynek\Desktop\hynek0\Desktop\TH0dipl\Y This is makeindex, version 2.16 [MiKTeX 25.4]. Scanning input file lane3.idx...done (0 entries accepted, 0 rejected). Nothing written in lane3.ind. Transcript written in lane3.ilg. Command Line: C:\Users\Hynek\AppData\Local\Programs\MiKTeX\miktex\bin\x64\xelatex.exe --interaction=errorstopmode --synctex=-1 "lane3.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 (lane3.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 `Libertinus Ser.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 "Libertinus Serif" 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 [ ? X No pages of output. Transcript written on lane3.log. _____________________________________________________________________ PDFTeXify Compilation Report (Pages: 0) Errors: 1 Warnings: 1 Bad Boxes: 0
- How can I transfer my paper Google docs to LaTeX while also keeping my citations linked? [closed]by Arjita Mital on August 13, 2026 at 10:18 am
I am using Google Docs to write my paper since it is easier for my co-author. How do I transfer my paper to LaTeX once I finish? I have also linked my Zotero library to Google Docs, so I want to make sure my citations also get transferred to Zotero.
- How to realize a parenthesis with polyglossia?by Jürgen on August 13, 2026 at 9:32 am
I used to glue the dashes to the parenthesis like shown below with pdflatex. \documentclass{scrartcl} \usepackage{kpfonts-otf} \usepackage[babelshorthands=true]{polyglossia} \setdefaultlanguage{german} \begin{document} This is a "~- not necessarily smart~-- text. \end{document} Running with lualatex yields this result (edited): I cannot find a solution in the fine polyglossia manual. How to do it correctly? Edit: The result should like this: with the important aspect, that both dashes are glued to the parenthesis when it comes to a line break.
- A `\par` error: how can I FIX IT? [closed]by user2925716 on August 13, 2026 at 9:08 am
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> Runaway argument? ! Paragraph ended before \@fileswith@ptions was complete. <to be read again> \par l.6 ? ! Emergency stop. <to be read again> \par l.6 No pages of output. _____________________________________________________________________ PDFTeXify Compilation Report (Pages: 0) Errors: 2 Warnings: 0 Bad Boxes: 0 \documentclass[ a4paper, fontsize=10pt, twoside=true, ]%{kaobook} \usepackage{iftex} % kvůli \ifxetexorluatex % --- 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í řádky % přenastaví fonty na TeX Gyre, které jsou součástí běžné TeX Live/MiKTeX instalace. \makeatletter \AtBeginDocument{% \setmainfont{TeX Gyre Termes} \setsansfont{TeX Gyre Heros} \setmonofont{TeX Gyre Cursor} } \makeatother \usepackage{dialogue} % Choose the language \ifxetexorluatex \usepackage{polyglossia} \setmainlanguage{english} \else \usepackage[english]{babel} \fi \usepackage[english=british]{csquotes} % English quotes \usepackage{amsmath,amssymb} \usepackage{mathrsfs} \usepackage{imakeidx} \usepackage{hyperref} \makeindex \usepackage{enumitem} \usepackage{etoolbox} \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}
- Font compilation error with kaobookby user1720967 on August 12, 2026 at 7:13 pm
The following code with kaobook gives the errors: \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} Part of the log was listed below: 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 ********************************************************************
- Why commands inside `enumerate` environment with `\write` was not recognized?by user1720967 on August 12, 2026 at 6:22 pm
What is the problem with this document ? \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} Command Line Message as below: --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 *****************************************************************************
- 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:nnby 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}
- Title ends with two periods using apaciteby 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?
- Is There a Simpler Way to Use Lettrines in a Verse Environment without Invoking a Subroutineby 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