Hot
- How to make emojis transparently available LaTeX?by H-J Salchow on August 20, 2026 at 8:46 am
I like to use emojis transparently in my source. In other words, I like to type something like Hallo 🌍 directly in my LaTeX file and, after compilation, see the same emoji in the resulting PDF. My current solution uses LuaLaTeX together with the '''emotion''' package. The problem is, that every new emoji requires adding two lines to the preamble: an \emotiondef definition, and a corresponding buffer:gsub(...) replacement in a Lua callback. As the number of emojis grows, the preamble becomes longer and longer, which feels rather inelegant. Is there a more elegant way to achieve this? Here is a mwe: \documentclass{article} \usepackage{emotion} \emotiondef{world}{🌍} \directlua{ luatexbase.add_to_callback( "process_input_buffer", function(buffer) buffer = buffer:gsub("🌍", "\\emotion{world}") return buffer end, "apple_emojis" ) } \begin{document} Hello 🌍 \end{document}
- adjmulticol in one column bidi RTLby الطريق طالب العلم on August 20, 2026 at 8:16 am
I have a problem with the adjmulticol package; when the text is within two columns, \begin{adjmulticols}{2}{-.5cm}{-5.5cm} displays correctly, but when it's within a single column,\begin{adjmulticols}{1}{-.5cm}{-5.5cm} the text doesn't display correctly. This code \documentclass[twoside]{article} \usepackage{geometry} \geometry{ paperwidth=8.49in, paperheight=297mm, % right=.8in, inner=7.5cm,outer=2.5cm, top=72pt, headsep=16pt, textwidth=320pt, marginparsep=20pt, marginparwidth=180pt, textheight=680pt, reversemarginpar } \usepackage{fontspec} \usepackage{polyglossia} % Or the standard 'bidi' package \usepackage{adjmulticol} \usepackage{lipsum} % Set up your primary RTL language (e.g., Arabic, Persian, Hebrew) \setmainlanguage{arabic} \newfontfamily\arabicfont[Script=Arabic]{Amiri} % Replace with your preferred font \begin{document} % Standard text layout here... % 1-Column Layout with adjusted left (inner) and right (outer) margins % Syntax: \begin{adjmulticols}{Number of Columns}{Left Margin Change}{Right Margin Change} \begin{adjmulticols}{2}{-.5cm}{-5.5cm} \section{Two-Column} \textbf{Now I want to use the outer margin because I need width.} \lipsum[1-10] \end{adjmulticols} %----Problem One-Column {1} \begin{adjmulticols}{1}{-.5cm}{-5.5cm} \section{One-Column} \textbf{Now I want to use the outer margin because I need width.} \lipsum[1-10] \end{adjmulticols} \end{document}
- Multiple old documents get reloaded when launching SumatraPDF as an external viewer from TeXStudioby einpoklum on August 20, 2026 at 8:10 am
I'm using TeXStudio 4.9.6 with SumatraPDF 3.6.1 - a match not made in heaven apparently - on Windows 11 25H2. Whenever I launch Sumatra as an external viewer for some PDF I'm working on - many windows get opened, trying to load other LaTeX documents' output I had previously opened with it. I edited the Sumatra settings file, and set RestoreSession = false but the behavior persists. However - if I just launch Sumatra from the start menu (with or without a document to load) - this doesn't happen. I am guessing TeXStudio is the culprit, somehow deciding it needs to tell Sumatra to load many documents. How can I get it to stop doing that?
- Why doesn't longtable like \pagebreak in \NewDocumentCommand?by Psychonaut on August 20, 2026 at 12:16 am
I need to conditionally insert page breaks in a manuscript; sometimes these breaks must occur within a longtable environment. It seems that longtable is fine with this if the command containing the \pagebreak was defined with \newcommand, but not with \NewDocumentCommand: \documentclass{article} \usepackage{longtable} \newcommand{\myPageBreakA}{\pagebreak} \NewDocumentCommand{\myPageBreakB}{}{\pagebreak} \begin{document} \begin{longtable}{l} foo \\ \pagebreak % this works bar \\ \myPageBreakA % this works too baz \\ \myPageBreakB % this doesn't work quux \\ \end{longtable} \end{document} Running the above example produces the following error: ! Misplaced \noalign. \pagebreak ->\noalign {\ifnum `}=0\fi \@testopt {\LT@no@pgbk -}4 l.14 \myPageBreakB % this doesn't work Why does this problem occur, and is there some easy way of working around it? Unlike this minimal example, my actual \myPageBreakB command uses some fairly complex argument processing logic, so I would prefer to define it with \NewDocumentCommand instead of \newcommand.
- mémoire.tex: erreur: 294: Undefined control sequence. ^^I\begin{tabular}, please helpby خالد بن حورية on August 19, 2026 at 5:59 pm
\documentclass[12pt,a4paper]{article} % ===== 1. الحزم الأساسية للغة والخطوط ===== \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{arabic} \setotherlanguage{french} \newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri} \newfontfamily\titlefont[Script=Arabic,Scale=1.5]{Amiri} \newfontfamily\frenchfont{Times New Roman} % ===== 2. تخطيط الصفحة ===== \usepackage{geometry} \geometry{margin=1cm} % ===== 3. الحزم الرسومية والزخارف ===== \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{positioning,shadows.blur,decorations.pathmorphing,shapes.geometric,calc,shapes.multipart} \usepackage{pifont} \usepackage{fontawesome5} % ===== 4. حزم الجداول ===== \usepackage{array} \usepackage{multirow} \usepackage{booktabs} \usepackage{longtable} \usepackage{tabularx} \usepackage{tabularray} % <<<< الحزمة السحرية % ===== 5. الألوان ===== \usepackage[table]{xcolor} % ===== 6. الصناديق المزخرفة ===== \usepackage[most]{tcolorbox} \tcbuselibrary{skins} \usepackage[tikz]{bclogo} % ===== 7. الرؤوس والتذييلات ===== \usepackage{fancyhdr} \usepackage{lastpage} % ===== 8. حزم إضافية ===== \usepackage{amsfonts} \usepackage{titlesec} \usepackage[normalem]{ulem} % ===== 9. أوامر مخصصة ===== \makeatletter \providecommand{\beginR}{\beginL} \providecommand{\endR}{\endL} \makeatother \pagestyle{empty} \definecolor{gold}{RGB}{212,175,55} \definecolor{navy}{RGB}{10,30,80} % كحلي أنيق % تعريف بيئة للتعريف \newtcolorbox{ddef}{ enhanced, colback=blue!5, colframe=blue!70!black, fonttitle=\bfseries\large, coltitle=white, title=\faLightbulb \hspace{2pt} تعريف, boxrule=0pt, sharp corners, borderline={1pt}{0pt}{gold}, % خط ذهبي يزين المربع attach boxed title to top right={yshift=-2mm,xshift=-2mm}, boxed title style={colback=blue!70!black, colframe=gold} % شريط علوي أزرق مع إطار ذهبي } % تعريف بيئة للنشاط \newtcolorbox{aact}{ enhanced, colback=red!5, colframe=red!70!black, fonttitle=\bfseries\large, coltitle=white, title=\faTasks \hspace{2pt} نشاط, boxrule=0pt, sharp corners, borderline={1pt}{0pt}{gold}, attach boxed title to top right={yshift=-2mm,xshift=-2mm}, boxed title style={colback=red!70!black, colframe=gold} } % تعريف بيئة للمثال \newtcolorbox{eex}{ enhanced, colback=green!5, colframe=green!60!black, fonttitle=\bfseries\large, coltitle=white, title=\faPen \hspace{2pt} مثال, boxrule=0pt, sharp corners, borderline={1pt}{0pt}{gold}, attach boxed title to top right={yshift=-2mm,xshift=-2mm}, boxed title style={colback=green!60!black, colframe=gold} } % تعريف بيئة للتطبيق \newtcolorbox{aapp}{ enhanced, colback=orange!5, colframe=orange!80!black, fonttitle=\bfseries\large, coltitle=white, title=\faCheck \hspace{2pt} تطبيق, boxrule=0pt, sharp corners, borderline={1pt}{0pt}{gold}, attach boxed title to top right={yshift=-2mm,xshift=-2mm}, boxed title style={colback=orange!80!black, colframe=gold} } % تعريف بيئة للعمل المنزلي \newtcolorbox{hhw}{ enhanced, colback=navy!5, % خلفية كحلي فاتح colframe=navy, % إطار كحلي غامق fonttitle=\bfseries\large, coltitle=gold, % العنوان بالذهبي title=\faHome \hspace{2pt} عمل منزلي, boxrule=0pt, sharp corners, borderline={1pt}{0pt}{gold}, % خط ذهبي يزين المربع attach boxed title to top right={yshift=-2mm,xshift=-2mm}, boxed title style={colback=navy, colframe=gold, coltext=gold} } % تحسين التباعد \setlength{\parindent}{0pt} \setlength{\parskip}{0.1cm} % ===== تصميم مدمج لرأس المذكرة ===== \newtcolorbox{memohead}{ enhanced, colback=white!95!gray, % خلفية متدرجة فاتحة colframe=blue!70!black, % إطار داخلي أزرق غامق boxrule=1.5pt, sharp corners=all, rounded corners=all, width=\textwidth, before=\vspace{0.2cm}, after=\vspace{0.2cm}, drop shadow=black!30, halign=center, overlay={ % خط علوي متدرج أخضر \draw[left color=green!60!black,right color=green!20!white, line width=2.5pt] (frame.north west)--(frame.north east); % خط سفلي متدرج أحمر \draw[left color=red!60!black,right color=red!20!white, line width=2.5pt] (frame.south west)--(frame.south east); % إطار خارجي ذهبي رفيع \draw[gold, line width=1pt, rounded corners=3pt] (frame.north west)--(frame.south west)--(frame.south east)--(frame.north east)--cycle; } } % ===== تصميم العنوان الرئيسي ===== \titleformat{\section} {\normalfont\Large\bfseries\color{red}} % حجم متوسط + أحمر {}{0pt}{} % بدون ترقيم \titlespacing*{\section}{0pt}{2ex plus 1ex}{1ex} % ===== تصميم العنوان الثانوي ===== \titleformat{\subsection} {\normalfont\large\bfseries\color{blue}} % حجم متوسط + أزرق {}{0pt}{} % بدون ترقيم \titlespacing*{\subsection}{0pt}{1.5ex plus 1ex}{1ex} \begin{document} \AddToHook{shipout/background}{% \begin{tikzpicture}[remember picture,overlay] % إطار أزرق حول الصفحة \draw [blue,line width=2mm] (current page.south west) rectangle (current page.north east); % كتابة رقم الصفحة في الأسفل \node[above right=1cm and 1cm,font=\bfseries] at (current page.south west) {\textarabic{صفحة \thepage\ من \pageref{LastPage}}}; \end{tikzpicture} } % ===== عنوان رئيسي مدمج ===== \begin{center} {\titlefont \fontsize{20}{22}\selectfont \textbf{\textcolor{blue!70!black}{مذكرة رقم: 03}}} \vspace{0.05cm} % زخرفة بسيطة \begin{tikzpicture} \draw[blue!50!black, thick] (0,0) -- (5,0); \draw[green!60!black, thick] (0,0) .. controls (0.2,0.2) and (0.4,0) .. (0.6,0); \draw[green!60!black, thick] (5,0) .. controls (4.8,0.2) and (4.6,0) .. (4.4,0); \end{tikzpicture} \end{center} \vspace{0.05cm} % ===== رأس المذكرة المبسط ===== \begin{memohead} % الصف الأول: ثانوية + السنة في سطر واحد \noindent \begin{minipage}{0.48\textwidth} {\textcolor{blue!70!black}{\textbf{ثانوية:}} حميدي عيسى – أولاد دراج} \end{minipage} \hfill \begin{minipage}{0.48\textwidth} {\textcolor{blue!70!black}{\textbf{السنة الدراسية:}} 2026--2027} \end{minipage} \vspace*{0.1cm} % الصف الثاني: اليوم + المستوى \noindent \begin{minipage}{0.48\textwidth} {\textcolor{green!70!black}{\textbf{اليوم:}} .......... \quad \textcolor{green!70!black}{\textbf{المدة:}} ساعة} \end{minipage} \hfill \begin{minipage}{0.48\textwidth} {\textcolor{green!70!black}{\textbf{المستوى:}} السنة الثانية علوم تجريبية} \end{minipage} \vspace*{0.1cm} % الصف الثالث: الميدان + المحور \noindent \begin{minipage}{0.48\textwidth} {\textcolor{orange!80!black}{\textbf{الميدان:}} التحليل} \end{minipage} \hfill \begin{minipage}{0.48\textwidth} {\textcolor{orange!80!black}{\textbf{المحور:}} الدوال العددية} \end{minipage} \vspace*{0.15cm} % الموضوع - حجم وسط \begin{center} {\textcolor{red!70!black}{\textbf{الموضوع:}} العمليات على دوال عددية} \end{center} \end{memohead} \vspace{0.1cm} % ===== المكتسبات القبلية ===== % ===== القسم ===== \begin{center} \begin{itemize} \item[{\textcolor{green!70!black}{\textbf{\ding{72}}}}] \textcolor{green!70!black}{\textbf{المكتسبات القبلية:}} مفاهيم أولية حول الدوال العددية. \item[{\textcolor{red!70!black}{\textbf{\ding{72}}}}] \textcolor{red!70!black}{\textbf{الكفاءات المستهدفة:}} مراجعة وتذكير بالمفاهيم العامة للدوال العددية. \item[{\textcolor{blue!70!black}{\textbf{\ding{72}}}}] \textcolor{blue!70!black}{\textbf{الأدوات المستعملة:}} المنهاج، الكتاب المدرسي، مراجع، الأنترنت. \end{itemize} \end{center} \begin{center} \begin{tabular}{|c|c|c|} \hline \rowcolor{gold!40} \textbf{المرحلة} & \textbf{عناصر الدرس} & \textbf{المدة} \\ \hline مرحلة الانطلاق & مراجعة المكتسبات القبلية وربطها بالدرس الجديد & 10 دقائق \\ مرحلة الاكتشاف & تقديم التعريفات الأساسية مع أمثلة توضيحية & 20 دقيقة \\ مرحلة بناء التعلمات & نشاط حول العمليات على الدوال + شرح الحل & 25 دقيقة \\ مرحلة التطبيق & تمرين فردي أو جماعي مع مناقشة النتائج & 15 دقيقة \\ مرحلة التقويم & تمرين ختامي أو أسئلة قصيرة للتأكد من الفهم & 10 دقائق \\ \end{tabular} \end{center} \end{document}
- Overlay/Stamp a multipage PDF with a stamp defined as a single page PDF [duplicate]by mf67 on August 19, 2026 at 4:45 pm
I have a multi-page PDF file (let's call it doc.pdf) a single-page PDF file (let's call it stamp.pdf) Both have the same format. I want to apply the contents of stamp.pdf as a stamp (on top/overlay) to each page of doc.pdf, starting from page 4 onward. Is there a package that supports this? Edit: Please see https://www.trumph.se/pdffiles/EditionSamples/T-002001.pdf. The "base document" is stamped starting on page 4 with another PDF containing the stamp. This stamping is generated with an external program, but I would like to do it in LaTeX. The base document is made using LaTeX (the music is mounted using pdfpages), so a possible solution could also be to use a "\stamp" command in that file, instead of mounting two pdf files in layers. But the latter alternative is also an interesting option, where the base document is not a native LaXTeX document, but any PDF.
- Accessible PDFs while altering \maketitle, \section, etcby James on August 19, 2026 at 2:28 pm
I'm trying to make the handouts I make for my classes (more) accessible using the instructions outlined by overleaf. In particular, I'm trying to make the pdf readable by a screen reader. I don't like how much space the article class leaves around the title and sectioning commands, so I've previously redefined those commands to fit my aesthetic preferences. For instance (borrowed from Roger Cortesi's Handout package) I've used the following macro to redefine \section \renewcommand\section{\@startsection {section}{2}{0mm}{0.1\baselineskip}{0.1\baselineskip}{\normalfont\large\textbf}} I'm hoping that the use of \@startsection will mean that the section headings get tagged properly, but I am not sure. Can anyone confirm? I've also redefined \maketitle, but it's much more naive and doesn't use \@maketitle, which I assume is necessary so that the title things get properly tagged? Finally, I like to have headers and footers that contain useful information (handout title, course title, course code etc). Can anyone explain, or point me at a resource, as to how screen readers will interact with headers and footers?
- Superposition (overlay) of the color in the line 2 of the table [duplicate]by Fábio Gregório on August 19, 2026 at 1:23 pm
How can I solve this issue? Thank you! \documentclass[border=15pt, varwidth]{standalone} \usepackage{pgfplots} \usepackage{tikz} \usepackage{multirow} \usepackage{siunitx} \usepackage{booktabs} \usepackage[table]{xcolor} \begin{document} \begin{table} \centering \caption{Main properties of most known HTS compounds.} \label{tab:sc_comp_coolants} \begin{tabular}{lllll} \toprule \textbf{Family} & \textbf{Superconductor} & $T_c$ [\unit{\kelvin}] & \textbf{Op. Temp.} [\unit{\kelvin}] & \textbf{Possible Coolants} \\ \midrule \rowcolor[gray]{.9} \multirow{2}{*}{REBCO} & \multirow{2}{*}{YBCO/GdBCO} & \multirow{2}{*}{90--95} & 65--77 & LN\textsubscript{2} \\ \rowcolor[gray]{.9} & & & 20--30 & LH\textsubscript{2}, LNe, LHe \\ \multirow{2}{*}{BSCCO} & \multirow{2}{*}{Bi-2223} & \multirow{2}{*}{110} & 65--77 & LN\textsubscript{2} \\ & & & 20--35 & LH\textsubscript{2}, LNe, LHe \\ \rowcolor[gray]{.9} n.a. & MgB\textsubscript{2} & 39 & 18--22 & LH\textsubscript{2}, LNe, GHe \\ \bottomrule \end{tabular} \end{table} \end{document}
- Rotate a wide table without rotating the page using Latex [closed]by Ines on August 19, 2026 at 9:02 am
I am struggling to fit a large table into a portrait-oriented page in my thesis. What I would like to achieve is: The page itself should remain portrait-oriented. Only the table should be rotated/landscape-oriented, so that I can use the full width of the page for a wide table. The surrounding text and subsequent pages should remain in the normal portrait orientation. I am using Overleaf and currently trying to achieve this with the lscape package. However, with lscape, the entire page is rotated, including the page itself, rather than just the table. In other words, I get a landscape page containing a landscape table, whereas I want a portrait page containing a landscape table. It may be relevant but I am using the MIT thesis template [1]. Here is a simplified example using synthetic data: \documentclass[twoside]{report} \usepackage[a4paper]{geometry} \usepackage{array} % for p{} columns \usepackage{longtable} % multi-page tables \usepackage{colortbl} % \rowcolor \usepackage{xcolor} % HTML colors \usepackage{lscape} % landscape environment \usepackage{graphicx} % \rotatebox, used by \mcrot below \usepackage{pdfpages} \newcommand{\mcrot}[4]{\multicolumn{#1}{#2}{\rotatebox{#3}{#4}}} \begin{document} \noindent \clearpage \begin{landscape} \tiny \begin{longtable}{p{2cm}p{0.9cm}p{0.9cm}p{0.9cm}|p{0.9cm}p{0.9cm}p{1cm}p{1.3cm}p{0.9cm}|p{1.3cm}p{1cm}p{1cm}p{0.9cm}p{0.9cm}} \caption{Minimal example table} \label{tab:mre}\\ \hline \rowcolor[HTML]{C0C0C0} & \multicolumn{3}{c|}{\textbf{Group A}} & \multicolumn{5}{c|}{\textbf{Group B}} & \multicolumn{5}{c}{\textbf{Group C}} \\ \rowcolor[HTML]{C0C0C0} \textbf{Item} & \mcrot{1}{l}{75}{Column 1} & \mcrot{1}{l}{75}{Column 2} & \mcrot{1}{l}{75}{Column 3} & \mcrot{1}{|l}{75}{Column 4} & \mcrot{1}{l}{75}{Column 5} & \mcrot{1}{l}{75}{Column 6} & \mcrot{1}{l}{75}{Column 7} & \mcrot{1}{l}{75}{Column 8} & \mcrot{1}{|l}{75}{Column 9} & \mcrot{1}{l}{75}{Column 10} & \mcrot{1}{l}{75}{Column 11} & \mcrot{1}{l}{75}{Column 12} & \mcrot{1}{l}{75}{Column 13} \\ \hline \endfirsthead \caption[]{\textit{(continued)}} \\ \hline \rowcolor[HTML]{C0C0C0} & \multicolumn{3}{c|}{\textbf{Group A}} & \multicolumn{5}{c|}{\textbf{Group B}} & \multicolumn{5}{c}{\textbf{Group C}} \\ \rowcolor[HTML]{C0C0C0} \textbf{Item} & \mcrot{1}{l}{75}{Column 1} & \mcrot{1}{l}{75}{Column 2} & \mcrot{1}{l}{75}{Column 3} & \mcrot{1}{|l}{75}{Column 4} & \mcrot{1}{l}{75}{Column 5} & \mcrot{1}{l}{75}{Column 6} & \mcrot{1}{l}{75}{Column 7} & \mcrot{1}{l}{75}{Column 8} & \mcrot{1}{|l}{75}{Column 9} & \mcrot{1}{l}{75}{Column 10} & \mcrot{1}{l}{75}{Column 11} & \mcrot{1}{l}{75}{Column 12} & \mcrot{1}{l}{75}{Column 13} \\ \hline \endhead \hline \multicolumn{14}{r}{\textit{Continued on next page}} \\ \endfoot \hline \endlastfoot Item A & X & & & & & & & & & & & & \\ \rowcolor[HTML]{EFEFEF} Item B & X & & & & & & & & & & & X & \\ Item C & X & & & & & & & & & & & X & X \\ \rowcolor[HTML]{EFEFEF} Item D & X & & & X & & & & & X & & & & X \\ Item E & X & & & & X & X & & & & & & & X \\ \rowcolor[HTML]{EFEFEF} Item F & & & X & & & & & & X & X & X & & X \\ Item G & & & X & & & & X & & X & X & X & & \\ \end{longtable} \end{landscape} \clearpage \noindent \end{document} Is there a way in LaTeX to rotate only the table by 90 degrees while keeping the physical page in portrait orientation? EDIT: I figured that issue was that I used the package pdfpages, which kept me from getting the behavior I wanted. Specially with the MITthesis template, removing the pdfpages, gave me the lscape package behaviour.
- Including image omits page styleby smthint on August 19, 2026 at 4:28 am
I want to include image on my chapter title page but don't want the page number to appear there. This is my code: \documentclass[12pt]{book} \usepackage{parskip} \usepackage{microtype} \usepackage{geometry} \usepackage{graphicx} \usepackage{hyperref} \usepackage{fancyhdr} \usepackage{etoolbox} \usepackage{titlesec} \usepackage{lipsum} \geometry{ paperwidth=6in, paperheight=9in, margin=0.75in } \fancyhead[L,C,R]{} \renewcommand{\headrulewidth}{0pt} \cfoot{} \fancyfoot[LE, RO]{\thepage} \begin{document} \pagestyle{fancy} \chapter{my chapter} \thispagestyle{empty} \includegraphics[width=\textwidth]{./image.png} \lipsum[1-10] \end{document} But when image is included, the page number is still appearing. When the image is not included, the code works as intented: the page number is not showing on the chapter title page and starts to appear on the next pages. \begin{document} \pagestyle{fancy} \chapter{my chapter} \thispagestyle{empty} \lipsum[1-10] \end{document} How to stop page number appearing on the chapter title page when image is included?
- Biber error message after updating to 2.22 [closed]by Michael L. on August 18, 2026 at 10:06 pm
I have been working with a file in Biblatex-chicago 2.3b and Biber 2.21 with no issues. Today, I installed Biber 2.22 and got the following: Can't load '/var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T/par-6d69636861656c6c6963696e616a722e /cacheef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle' for module Unicode::LineBreak: dlopen(/var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T /par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto /Unicode/LineBreak/LineBreak.bundle, 0x0001): Library not loaded: /opt/homebrew/opt/libthai/lib /libthai.0.dylib Referenced from: <3012B9CE-F560-3F5A-B30D-2A829472CEEC> /private/var/folders /qm/hm1shncx4yj1gl2px27x0qs40000gn/T/par-6d69636861656c6c6963696e616a722e/cache- ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle Reason: tried: '/var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T//par-6d69636861656c6c6963696e616a722e/cache- ef3dd1ed22f781987901e25bacfd01179fba172f/libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libthai/lib /libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file) at /loader/HASH(0x888cfd678)/DynaLoader.pm line 210. at /loader/HASH(0x888e915b8)/PAR/Heavy.pm line 104. Compilation failed in require at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T/par- 6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode /GCString.pm line 24. BEGIN failed--compilation aborted at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn /T/par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode /GCString.pm line 24. Compilation failed in require at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T /par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber /Utils.pm line 32. BEGIN failed--compilation aborted at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T /par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber /Utils.pm line 32. Compilation failed in require at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T /par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber /Internals.pm line 8. BEGIN failed--compilation aborted at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn /T/par-6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber /Internals.pm line 8. Compilation failed in require at /loader/HASH(0x888cff300)/parent.pm line 17. BEGIN failed--compilation aborted at /var/folders/qm/hm1shncx4yj1gl2px27x0qs40000gn/T/par- 6d69636861656c6c6963696e616a722e/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber.pm line 5. Compilation failed in require at script/biber-darwin line 21. BEGIN failed--compilation aborted at script /biber-darwin line 21. Process exited with error(s) I tried reinstalling Biber and Biblatex-chicago (both from Tex Live) with no success. What do I need to do?
- How to use visualcounter with r2l text?by Aviroum on August 18, 2026 at 6:27 pm
How can I use visualcounter with r2l text to reverse predefined counters direction? \mainlanguage[ar] \setuppapersize[A6] \setupdirections[bidi=global,method=one] \setupalign[r2l] \setupbodyfont[amiri,17.3pt] \usemodule[visualcounter] \definevisualcounter [visualpage] [markers]%[mayanumbers][progressbar]% [width=.7EmWidth, height=0.3ExHeight,distance=width/12, counter=userpage, maxwidth=\textwidth, ] \setupfootertexts[\usevisualcounter{visualpage}] \setuppagenumbering[location=] \setupvisualcounter[markers][mpsetups=visualcounter::markers:square] \setuphead[chapter][numbercolor=orange, numberstyle={\switchtobodyfont[ss,25pt]\bf},alternative=normal,after={\blank[20pt]},distance=2em] \setupinteractionscreen[option=max] \starttext \chapter{هذا فصل} و هذا نص قصير \chapter{هذا فصل} و هذا نص قصير \chapter{هذا فصل} و هذا نص قصير \stoptext
- How to turn off default indentation in the memoir class while still allowing me to use `\indent` [closed]by Sageof6Paths on August 18, 2026 at 5:55 pm
I'm using the memoir class on LuaLaTeX and I want to turn off default indentation while still allowing me to use \indent. I prefer not to redefine any commands like \indent, but if I have to, have its new behavior be completely identical to the original definition. \documentclass[oneside]{memoir} \begin{document} But the subject to be treated in what follows is not quite properly described as the theory of propositions. It is in fact the theory of how one proposition can be inferred from another. Now in order that one proposition may be inferred from another, it is necessary that the two should have that relation which makes the one a consequence of the other. \indent But the subject to be treated in what follows is not quite properly described as the theory of propositions. It is in fact the theory of how one proposition can be inferred from another. Now in order that one proposition may be inferred from another, it is necessary that the two should have that relation which makes the one a consequence of the other. \noindent But the subject to be treated in what follows is not quite properly described as the theory of propositions. It is in fact the theory of how one proposition can be inferred from another. Now in order that one proposition may be inferred from another, it is necessary that the two should have that relation which makes the one a consequence of the other. \end{document} Edit: Removed temp fix that didn't work. Edit: Whether or not the reader can tell whether or not 3rd paragraph is its own paragraph is not relevant for now.
- LaTeX in VS Studio not giving real error codeby unvarnished on August 18, 2026 at 5:08 pm
I'm trying to get LaTeX-Workshop running on VS Studio 2026/Ubuntu 20.04. Install went fine, but when I go to compile an example project, I get the following non-error error in VS Studio's Output tab: Rc files read (in order): NONE Latexmk: This is Latexmk, John Collins, 9 March 2026. Version 4.88. Latexmk: Nothing to do for '/home/unvarnished/Desktop/thesis-template/thesis-template-main/main.tex'. Latexmk: All targets (main.pdf) are up-to-date Collected error summary (may duplicate other messages): pdflatex: gave an error in previous invocation of latexmk. Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. It does not generate a PDF, and there's no previously generated PDF. I cannot for the life of me figure out what the actual alleged pdflatex error is or where it is logged. No other error messages are given. The VS Studio Problems tab says No problems. I have tried googling the message, but couldn't find any posts detailing this specific type of issue. Has anyone ever seen this type of weird error obfuscation? How can I find the actual pdflatex error so that I can troubleshoot for real?
- babel package breaks the cleveref package : Missing \endscname inserted [duplicate]by Drazer on August 18, 2026 at 4:25 pm
Recently, I was editing a file that used by default english. I wanted to change the default language to french using \usepackage[french]{babel}. Since then, I reduced to a (almost) MWE showing that whenever I cross ref a theoremenv, it breaks. Note that a simple \ref works. It works if I compiled with lualatex, but with pdflatex, it complained that: ! Missing \endcsname inserted. <to be read again> \penalty l.22 \cref{thm:test} ? Here is the code : \documentclass[11pt]{scrbook} \usepackage[T1]{fontenc} \usepackage[french]{babel} %when this is put in comments, cref works fine \usepackage{amsmath} \usepackage{hyperref} \usepackage[nameinlink]{cleveref} \usepackage{tikz} \usepackage[most]{tcolorbox} \newtheorem{theoremenv}{Theorem} \begin{document} This is a test \begin{theoremenv}{} \label{thm:test} This is a theorem. \end{theoremenv} \cref{thm:test} % \ref{thm:test} %This seems to work fine using babel \end{document}
- Using package poetry, no list of poems createdby Yves on August 18, 2026 at 2:59 pm
I a continuing my efforts of creating a book for a friend who wishes to compile her poems. I had initially selected the poetrytex package for its reasonable capabilities combined with a reasonable simplicity, and in particular the convenience of creating a list of poems. Out of curiosity, I am now experimenting with the poetry package, that seems to offer additional convenience in locating the poems on the page. However, to my surprise, the \listofpoems command produces nothing. I have been wondering about a conflict with other packages, but after removing almost all packages, as in the MWE, no change. There is some kind of warning in the poetry manual, stating that the command leaves the details up to the user... Any help appreciated. \documentclass[12pt]{book} \usepackage{poetry} \poemlinenumsfalse \title{Test of Poetry package} \author{Someone} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \maketitle \listofpoems %produces nothing \poemgroup \poemgroupheading {Miscellaneous poets} {} \titlepoem {Crossing the Bar}{Alfred, Lord Tennyson (1809\textendash 1892)} \begin{poem} Sunset and evening star, \\ And one clear call for me! \\ And may there be no moaning of the bar, \\ When I put out to sea, \\- \end{poem} \titlepoem{Untitled}{Anonymous} \begin{poem} O captain! my captain! The fearful trip is done; \\ The ship has weather'd every rack, the prize we sought is won;\\- \end{poem} \titlepoem{Untitled}{Anonymous} \begin{poem} Let me not to the marriage of true minds \\ \hin Admit impediments. Love is not love \\ Which alters when it alteration finds, \\ \hin Or bends with the remover to remove: \\! O, no! it is an ever-fixed mark, \\ \hin That looks on tempests and is never shaken; \\ It is the star to every wandering bark, \\ \hin Whose worth's unknown, although his height be taken. \\- \end{poem} \titlepoem{Untitled}{Anonymous} \begin{poem} O captain! my captain! The fearful trip is done; \\ The ship has weather'd every rack, the prize we sought is won;\\- \end{poem} \endpoemgroup \end{document}
- How update selected packages in TeX Live Utility?by murray on August 18, 2026 at 2:09 pm
I the macOS TeX Live Utility, I want to update all packages except biber and biblatex. So I click on all those others, highlighting them in the main Updates tab of the utility. But in the TLU menu, the item Update Selected Packages is greyed out.
- How to type non free icons of Fontawesome?, after buying pro editionby Mika Ike on August 18, 2026 at 1:39 pm
Using Fontawesome7 package you can type icons, for example house-chimney, with short command like \faHouseChimney Other choice is \faIcon{HouseChimney} You can use all the free icons, but... Do you know how to type non free icons, after buying/download FontAwesome PRO ?, for example what command do you should type for obtaining a thought-bubble ? \documentclass{article} \usepackage{fontawesome7} \begin{document} HouseChimney and Chalkboard are icons of fontawesome7. \begin{itemize} \item With short command (\verb"\fa..."): This is a house \verb"\faHouseChimney" \faHouseChimney and the this a board \faChalkboard \item With \verb"\faIcon{...}": This is a house \verb"\faIcon{house-chimney}" \faIcon{house-chimney} and the this a board \faIcon{chalkboard} \end{itemize} \verb"thought-bubble" is from fontawesome7 pro and not available in fontawesome free, but... What code you shoud type for obtaining a thought-bubble ?. \verb"\faIcon{thought-bubble}" ? \verb"\faThoughtBubble" ? \end{document}
- Fourier with lyluatex (lilypond+latex)by Faune on August 18, 2026 at 10:59 am
Using \usepackage{fourier} breaks any lilypond command (e.g. \lilypond{ c d e }, is there a way to fix this ? I would like to use the fourier font for text and maths, and still print lilypond staffs (if there were a solution to protect lilypond from this font, that would be perfect). Thanks! For exemple, using command sudo lualatex -shell-escape test.tex where test.tex is: \documentclass[french]{article} \usepackage[program=/usr/bin/lilypond]{lyluatex} \usepackage{fourier} \begin{document} blabla \lilypond[relative=2]{ c d e } \end{document} stops compiling on: (/usr/share/texlive/texmf-dist/tex/latex/graphics/lscape.sty)))/usr/share/texli ve/texmf-dist/scripts/lyluatex/lyluatex.lua:1366: attempt to index a nil value (field 'metadata') stack traceback: /usr/share/texlive/texmf-dist/scripts/lyluatex/lyluatex.lua:1366: in function 'lyluatex.lua.get_font_family' [\directlua]:1: in main chunk. <argument> \directlua {ly.get_font_family(font.current())} l.6 \lilypond[relative=2]{ c d e } ? but it works if \usepackage{fourier} or \lilypond[relative=2]{ c d e } is omitted.
- Conflict with `luatexja` and `\DocumentMetadata{tagging=on}`?by Explorer on August 18, 2026 at 7:52 am
Here below is the code, if I load luatexja, it complains: \DocumentMetadata{tagging=on} \documentclass{article} \usepackage{luatexja}% \begin{document} Text with \verb!\item! inline. \end{document} ! Package tagpdf Error: there is no open structure on the stack Type <return> to continue. ... l.6 \end{document} ? Is this the tagging side or the luatexja side should be reported to? Or any fix of this?
- How to create a dynamic fan in TikZ in LaTeX?by mathrm alpha on August 18, 2026 at 5:49 am
Although I've created a basic fan shape in TikZ, how do I make the center blade of the TikZ fan dynamic rotate? the value you enter determines exactly how fast the TikZ fan I created will spin. \documentclass{article} \usepackage{tikz} \usepackage[paperwidth=9cm, paperheight=9cm, margin=1.5cm]{geometry} \begin{document} \pagestyle{empty} \begin{figure}[htbp] \begin{tikzpicture} \filldraw[color=yellow!60, fill=orange!40, very thick](0,0) circle (3); \filldraw[color=yellow!60, fill=red!0, very thick](0,0) circle (2.5); \begin{scope}[rotate=0] \draw [line width=0.3cm] (0,0) -- (2,2); \draw [line width=0.3cm] (0,0) -- (0,3); \draw [line width=0.3cm] (0,0) -- (-2,2); \draw [line width=0.3cm] (0,0) -- (2,-2); \draw [line width=0.3cm] (0,0) -- (3,0); \draw [line width=0.3cm] (0,0) -- (-3,0); \draw [line width=0.3cm] (0,0) -- (0,-3); \draw [line width=0.3cm] (0,0) -- (-2,-2); \filldraw[orange] (0,0) circle (30pt) node[anchor=west]{}; \end{scope} \end{tikzpicture} \end{figure} \end{document}
- article with twoside option causes badly distributed contents [duplicate]by D G on August 18, 2026 at 4:04 am
There is an unexpected white space between the subsection and the first tcolorbox below. I noticed that it is caused by twoside option. \documentclass[twoside]{article} \usepackage[a5paper,margin=12mm]{geometry} \usepackage{tcolorbox,lipsum} \begin{document} \subsection*{Lipsum Dummy Contents} % ONE \begin{tcolorbox}[title=One] \lipsum[1] \tcblower \lipsum[2] \end{tcolorbox} % TWO \begin{tcolorbox}[title=Two] \lipsum[3] \tcblower \lipsum[4] \end{tcolorbox} \end{document}
- longtable is breaking \fancyhead [duplicate]by ali bab613 on August 17, 2026 at 10:34 pm
I have this MWE: \documentclass[12pt,a4paper]{report} \usepackage{lipsum} \usepackage[twoside]{fancyhdr} \pagestyle{fancy} \fancyhf{} \usepackage{longtable,multicol,multirow} \fancyfoot[C]{\thepage} \fancyhead[RO,LE]{\footnotesize\nouppercase{\leftmark}} \renewcommand{\headrulewidth}{0pt} \setlength{\headheight}{10pt} \usepackage[title]{appendix} \usepackage{longtable} \usepackage{array} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} \usepackage{atbegshi} \AtBeginShipout{\typeout{PAGE \thepage: leftmark=[\leftmark] rightmark=[\rightmark]}} \begin{document} \pagestyle{fancy} \chapter*{Introduction} \markboth{Introduction}{Introduction} \lipsum[] \chapter{This is Chapter 1} \markright{Chapter \thechapter} \lipsum[] \chapter{This is Chapter 2} \markright{Chapter \thechapter} \lipsum[] \newpage \begin{appendices} \chapter{Addendum to Introduction} \lipsum[] \chapter{Addendum to Chapter 1} \begin{longtable}{|C{2.5cm}|C{3cm}|C{5cm}|C{4cm}|} \caption{Tester} \\ \hline Col4 & Col2 & Col3 & Col4 \\ \hline \endfirsthead \multicolumn{4}{c}{\tablename\ \thetable\ -- continued from previous page} \\ \hline Col4 & Col2 & Col3 & Col4 \\ \hline \endhead \hline \multicolumn{4}{r}{\textit{continued on next page}} \\ \endfoot \hline \endlastfoot% Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} Col4 & Col2 & Col3 & Col4 \tabularnewline \cline{4-4} \end{longtable} \end{appendices} \end{document} I apologize for the table, but it is precisely a longtable that's breaking my document. As you can see, the headers are correct throughout the document (explicitly stated as Introduction in the Introduction, and then automatically rendered for chapters and appendices because they're numbered). The headers, however, break for Appendix B. Even if I shoehorn \chapter{Addendum to Chapter 1} \fancyhead{} \markright{Appendix \thechapter} \begin{longtable}{|C{2.5cm}|C{3cm}|C{5cm}|C{4cm}|} to clear out the header, it remains stuck on Appendix A. Removing the longtable removes this issue. To be clear, for my actual document, I need the somewhat janky ability to add marks manually, because as stated, in the Introduction I want to manually insert Introduction (instead of Chapter 0), and so forth. A screenshot of the broken header is attached here: EDIT John Kormylo in the comments pointed out that, for them, my MWE compiled normally. I thought I'd add some detail, that might make a difference: I'm using Overleaf, TeX Live 2025, and compiling with LuaLaTeX. If I switch to pdfLaTeX (also on Overleaf), the issue persists. I added the following two lines of code into my MWE: \usepackage{atbegshi} \AtBeginShipout{\typeout{PAGE \thepage: leftmark=[\leftmark] rightmark=[\rightmark]}} Looking at the logs, I can see a mismatch: Appendix B. Overfull \hbox (72.56491pt too wide) in alignment at lines 46--51 [][][][] [] Overfull \hbox (72.56491pt too wide) in alignment at lines 51--57 [][][][] [] Overfull \hbox (72.56491pt too wide) in alignment at lines 57--61 [][][][] [] Overfull \hbox (72.56491pt too wide) in alignment at lines 61--64 [][][][] [] Overfull \hbox (72.56491pt too wide) in alignment at lines 64--118 [][][][] [] PAGE 9: leftmark=[\MakeUppercase []{Appendix\ A. \ Addendum to Introduction}] rightmark=[] [9 Non-PDF special ignored!] You can see that even though Appendix B began, the log still registers it as Appendix A.
- Something is causing `\hfill` to not fill the full available width inside a custom section environmentby Harsh Kasodariya on August 17, 2026 at 10:01 pm
I'm creating a custom LaTeX resume template, and I'm having an issue with \hfill. The issue only manifest at one place on the entire resume (in the Certification section). I have a custom section environment: \newenvironment{rSection}[1]{ \textsc{\large #1} \medskip \hrule \begin{list}{}{ \setlength{\leftmargin}{0em} } \item[] }{ \end{list} } My certification entries are generated dynamically: \newcommand{\CertificationList}{} \newif\ifHasCertification \HasCertificationfalse \NewDocumentCommand{\AddCertification}{s m m m}{ \g@addto@macro\CertificationList{ \ifHasCertification \\ \fi \HasCertificationtrue \textbf{#2} | \textit{#3} \hfill \textbf{#4} } } and printed with: \NewDocumentCommand{\PrintCertifications}{}{ \begin{rSection}{Certifications} \CertificationList \end{rSection} } All this trouble to make it easy for users to edit the content of the resume \AddCertification {Certified Spreadsheet Dragon Slayer} {Guild of Office Wizards} {Mar 2025} \AddCertification {Advanced Bug Whispering} {Institute of Questionable Software} {Oct 2024} The problem is that the \hfill does not appear to fill the full available width. The first entry in particular has the date positioned slightly before the right edge, while the second entry appears to reach the expected position. Replacing CertificationList content with \rule{\linewidth}{0.4pt} also results in lines stretching full width. Here is the minimal working example \documentclass{article} \usepackage[left=0.5in,top=0.5in,right=0.5in,bottom=0.5in]{geometry} \usepackage{xparse} \newenvironment{rSection}[1]{ \textsc{\large #1} \medskip \hrule \begin{list}{}{ \setlength{\leftmargin}{0em} } \item[] }{ \end{list} } \newcommand{\CertificationList}{} \newif\ifHasCertification \HasCertificationfalse \makeatletter \NewDocumentCommand{\AddCertification}{s m m m}{ \g@addto@macro\CertificationList{ \IfBooleanT{#1}{\newpage} \ifHasCertification \\ \fi \HasCertificationtrue \textbf{#2} | \textit{#3} \hfill \textbf{#4} } } \makeatother \AddCertification {Certified Spreadsheet Dragon Slayer} {Guild of Office Wizards} {Mar 2025} \AddCertification {Advanced Bug Whispering} {Institute of Questionable Software} {Oct 2024} \begin{document} \begin{rSection}{Certifications} \CertificationList \end{rSection} \end{document} EDIT: I was able to replicate the issue with the above MWE.
- tabularray RTL caption with table in LTR contextby Salim Bou on August 17, 2026 at 8:43 pm
I have this example of table, the main language of document is arabic (RTL script), I changed the language before the table to English to solve the problem of Arabic text not appearing in cells with a colored background in RTL context Text disappears in tabularray with bg color (polyglossia). The problem is that the caption appears in LTR direction with english tablename, so what I need is to apply the command \selectlanguage{english} after caption creation so that the caption still in RTL context. \documentclass{article} \usepackage{xcolor} \usepackage{tabularray} \usepackage{polyglossia} \setmainlanguage{arabic} \setotherlanguage{english} \newfontfamily\arabicfont[Script=Arabic]{Amiri} \begin{document} \begin{center} \selectlanguage{english} \begin{longtblr}{ colspec = {|X[c,m,1.6]|X[c,m,1.4]|X[c,m,1.4]|}, hlines, vlines, cells={cmd=\textarabic}, row{1} = {bg=blue!20, rowsep=5pt,font=\bfseries}, rowsep=8pt } يسار & وسط & يـمين\\ Left & Center & Right \\ \end{longtblr} \end{center} \end{document}
- Unicode-math: \symscr{} works on lowercase latin letters for some OpenType fonts but not allby Daniel Flipo on August 17, 2026 at 4:47 pm
XCharter-Math provides lowercase script letters e,g,o in the range U+2100 to U+2140, they can be accessed by their Unicode name but not as \symscr{e} etc. For other fonts, f.i. NewComputerModern the commands \symscr{e}… work as expected. \symscr{e} also works with XCharter-Math when used with lua-unicode-math. Test file to be compiled with LuaLaTeX: \documentclass{article} \newcount\test \test=0 % 0, 1 or 2 \ifcase\test % This fails: \symscr{} prints italic instead of cursive \usepackage{unicode-math} \setmathfont{XCharter-Math.otf} \or % This works as expected: \usepackage{unicode-math} \setmathfont{NewCMMath-Book.otf} \or % This works as expected too with lua-unicode-math : \usepackage{lum-xcharter} \fi \begin{document} %\showoutput \(\mscre \mscrg \mscro, \symscr{ego}, \symscr{EGO}\)\quad \ifcase\test xcharter \or NCM \or lum-xcharter\fi \end{document} And the outputs: I guess there is something wrong with my font XCharter-Math, hints to fix this bug would be greatly appreciated. Edit (question solved): Thanks to @DavidCarlisle who pointed out the explanation found in file um-code-sym-commands.dtx: unicode-math checks if the first character of a given alphabet is available; if it is not, it silently replaces the whole alphabet by another one, regardless whether some characters are available. This looks sub-optimal to me but fully explains why the \symcr{} command behaves differently with XCharter-Math and NCM. I will add a \mscra character (U+1D4B6) to XCharter-Math, then \symcr{x} will return the expected cursive glyph if available in the font and nothing (and a warning about Missing character in the .log) if not. This is what already happens with lua-unicode-math and is the behavior I expect (as a user).
- biber from TeXLive cannot run [closed]by murray on August 17, 2026 at 4:20 pm
Under macOS, after updating TeXLive packages that, among other things updated biber to the August 14, 2026, version, the biber binary will not run. How fix? [~] % which biber /Library/TeX/texbin/biber [~] % biber --version Can't load '/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle' for module Unicode::LineBreak: dlopen(/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle, 0x0001): Library not loaded: /opt/homebrew/opt/libthai/lib/libthai.0.dylib Referenced from: <3012B9CE-F560-3F5A-B30D-2A829472CEEC> /private/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle Reason: tried: '/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T//par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file) at /loader/HASH(0x737096a50)/DynaLoader.pm line 210. at /loader/HASH(0x7370ff990)/PAR/Heavy.pm line 104. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode/GCString.pm line 24. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode/GCString.pm line 24. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Utils.pm line 32. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Utils.pm line 32. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Internals.pm line 8. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Internals.pm line 8. Compilation failed in require at /loader/HASH(0x7370fd6d8)/parent.pm line 17. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber.pm line 5. Compilation failed in require at script/biber-darwin line 21. BEGIN failed--compilation aborted at script/biber-darwin line 21. [~] % biber --cache Can't load '/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle' for module Unicode::LineBreak: dlopen(/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle, 0x0001): Library not loaded: /opt/homebrew/opt/libthai/lib/libthai.0.dylib Referenced from: <3012B9CE-F560-3F5A-B30D-2A829472CEEC> /private/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/auto/Unicode/LineBreak/LineBreak.bundle Reason: tried: '/var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T//par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file), '/opt/homebrew/opt/libthai/lib/libthai.0.dylib' (no such file) at /loader/HASH(0xb730fca50)/DynaLoader.pm line 210. at /loader/HASH(0xb731d1990)/PAR/Heavy.pm line 104. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode/GCString.pm line 24. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Unicode/GCString.pm line 24. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Utils.pm line 32. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Utils.pm line 32. Compilation failed in require at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Internals.pm line 8. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber/Internals.pm line 8. Compilation failed in require at /loader/HASH(0xb730ff6d8)/parent.pm line 17. BEGIN failed--compilation aborted at /var/folders/g6/s0wj67096d1dssm42vzm8g4c0000gn/T/par-6d7572726179/cache-ef3dd1ed22f781987901e25bacfd01179fba172f/inc/lib/Biber.pm line 5. Compilation failed in require at script/biber-darwin line 21. BEGIN failed--compilation aborted at script/biber-darwin line 21.
- \oiiint undefined control sequence [closed]by Noah B on August 17, 2026 at 12:19 pm
I'm trying to write out some formulas from my Aerospace textbook but when I use \oiiint (with \usepackage{esint}) I get an undefined control sequence. Here are the Tex expressions that I'm having trouble with: \documentclass{article} \usepackage{amssymb} \usepackage{mathtools} \usepackage{amsthm} \usepackage{esint} \begin{document} \[ \oiint_{S} \vec{A} \cdot \mathrm{d}\vec{S} = \oiiint _{\mathcal{V}}\left( \nabla \cdot \vec{A} \right) \mathrm{d}\mathcal{V} \] \[ \frac{\partial}{\partial t}\oiiint _{\mathcal{V}}\rho \,\mathrm{d}\mathcal{V} + \oiint _{S}\rho\vec{V}\cdot \mathrm{d}\vec{S} = 0 \] \end{document} This is what is rendered as well: Here are the Raw Logs: ! Undefined control sequence. l.214 ...\vec{A} \cdot \mathrm{d}\vec{S} = \oiiint _{\mathcal{V}}\left( \nab... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. l.218 \frac{\partial}{\partial t}\oiiint _{\mathcal{V}}\rho \,\mathrm{d}\mat... The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.
- Look at the error code i put full code, Undefined control sequence. ^^I^^I\begin{tabular} [closed]by خالد بن حورية on August 17, 2026 at 7:51 am
\begin{center} \begin{tabular}{|c|c|c|} \hline \rowcolor{gold!40} \textbf{المرحلة} & \textbf{عناصر الدرس} & \textbf{المدة} \\ \hline مرحلة الانطلاق & مراجعة المكتسبات القبلية وربطها بالدرس الجديد & 10 دقائق \\ \hline مرحلة الاكتشاف & تقديم التعريفات الأساسية مع أمثلة توضيحية & 20 دقيقة \\ \hline مرحلة بناء التعلمات & نشاط حول العمليات على الدوال + شرح الحل & 25 دقيقة \\ \hline مرحلة التطبيق & تمرين فردي أو جماعي مع مناقشة النتائج & 15 دقيقة \\ \hline مرحلة التقويم & تمرين ختامي أو أسئلة قصيرة للتأكد من الفهم & 10 دقائق \\ \hline \end{tabular} \end{center}
- Create a Complete Taiwanese Chinese Newspaper Templateby 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.