• Why does PGFPlots separate the axes of my log-log graph?
    by Rain on November 12, 2025 at 6:53 pm

    I'm trying to make a log-log graph. Semi-log graphs and linear graphs work just fine, but for some reason when I try to make a log-log graph PGFPlots doesn't draw the horiziontal axis or the curve. MWE: \documentclass[11pt,a4paper]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \begin{document} \begin{tikzpicture} \begin{loglogaxis}[ xmin=10, xmax=40, axis x line=middle, xlabel=$x$, ymin=10, ymax=50, axis y line=center, ylabel=$y$, disabledatascaling ] \addplot[smooth,thick,blue,domain=10:40,samples=51]coordinates{ (10,10) (20,30) (30,20) (40,42) }; \end{loglogaxis} \end{tikzpicture} \end{document} Result: Scale has nothing to do with it. I get the same problem if I set the axis ranges to, say, (1e8,1e12). Thanks in advance for any help.

  • {equation*} and {alignedat} environs: problem aligning equations for vertical addition
    by Oregon Math Tutor on November 12, 2025 at 6:20 pm

    In this worksheet for my Algebra 2 students, I'm trying to fix the alignment issues shown in this image: I have included brief commented out explanatory text to describe my failed approach to changing the alignment. Please suggest a more optimal approach to formatting the step by step solution procedure if one exists. Your help is greatly appreciated. mwe: % Algebra 2 — Applications of Linear Systems (Worksheet) \documentclass[12pt]{article} \usepackage[margin=0.75in, headheight=15pt]{geometry} \usepackage{mathtools} \usepackage{amssymb} \usepackage{cancel} \usepackage{enumitem} \usepackage{booktabs} \usepackage{tabularx} \usepackage{xcolor} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \lhead{\textbf{Practice — Applications of Linear Systems}} \rhead{\textbf{6-C}} \cfoot{\thepage} \setlength{\parindent}{0pt} \setlength{\parskip}{0.5\baselineskip} \newcounter{problem} \newenvironment{problem}[1][]{% \refstepcounter{problem}% \textbf{Problem \theproblem}% \if\relax\detokenize{#1}\relax\else\ \textit{#1}\fi \par }{\par\vspace{1.5\baselineskip}} \newcommand{\answerspace}[1][2cm]{\vspace{#1}} \newcolumntype{C}{>{\centering\arraybackslash}X} % Define colored variable commands globally \newcommand{\C}{\textcolor{red}{\mathbf{c}}} \newcommand{\A}{\textcolor{blue}{\mathbf{a}}} \begin{document} \textbf{Direction.} Write and use a system of equations to solve each problem. Show all work clearly. \begin{problem} A family of 3 children and 2 adults attended a movie for \$40. A family of 4 children and 3 adults attended the same movie for \$56.50. How much was the price of each type of ticket (child and adult)? \textbf{Step-by-step Solution} \textbf{Step 1: Define variables.} \begin{itemize} \item Let $\C =$ the cost (in dollars) of $1$ child ticket. \item Let $\A =$ the cost (in dollars) of $1$ adult ticket. \end{itemize} \textbf{Step 2: Translate the clues into equations.} \begin{align*} \text{Family 1: } & 3\C + 2\A = 40 && \text{(3 children's tickets + 2 adult tickets = \$40)}\\ \text{Family 2: } & 4\C + 3\A = 56.50 && \text{(4 children's tickets + 3 adult tickets = \$56.50)} \end{align*} \textbf{Step 3: Solve by eliminating $\A$.} % ALIGNEDAT COLUMN STRUCTURE: % alignedat{3} creates 3 column PAIRS (not 3 columns total). % Each pair: Right-aligned & Left-aligned → Pattern: R L R L R L (6 total columns) % Requires exactly 5 ampersands to separate columns (columns - 1). % % Column Pair 1 (R&L): Original equation left & Original equation right % Column Pair 2 (R&L): Arrow (right) & Spacing (left) % Column Pair 3 (R&L): Elimination result left & Elimination result right % % KEY: Use single & between all columns. Do NOT use && (causes "Bad math delimiter" error). \begin{equation*} \begin{alignedat}{3} -3(3\C + 2\A) &= -3(40) &\quad \Rightarrow\quad& -9\C - 6\A &= -120\\ 2(4\C + 3\A) &= 2(56.50) &\quad \Rightarrow\quad& 8\C + 6\A &= 113 \end{alignedat} \end{equation*} \noindent Add vertically the two equations. ($-6\A + 6\A = 0$) \begin{equation*} \begin{aligned} -9\C - \cancel{6\A} &= -120 \\ +8\C + \cancel{6\A} &= 113 \\ \midrule -\C &= -7\\ \C &= 7 \end{aligned} \end{equation*} The child ticket costs $\$7.00$. \textbf{Step 4: Substitute $7$ for $\C$ to find $\A$.} Use $3\C + 2\A = 40$: \begin{equation*} \begin{aligned} 3(7) + 2\A &= 40 \\ 21 + 2\A &= 40 \\ 2\A &= 19 \\ \A &= 9.5 \end{aligned} \end{equation*} So the adult ticket costs $\$9.50$. \textbf{Answer:} $\boxed{\text{Child: }\$7.00 \quad \text{Adult: }\$9.50}$ \end{problem} \end{document}

  • bibliography doesn't appear
    by user2925716 on November 12, 2025 at 6:05 pm

    I have a all20.bib file like this: @incollection{AumannMaschler1995, author = {Aumann, Robert J. and Maschler, Michael}, title = {Game Theory with Economic Applications}, booktitle = {Handbook of Game Theory with Economic Applications}, series = {Handbook of Game Theory with Economic Applications}, volume = {1}, editor = {Aumann, Robert J. and Hart, Sergiu}, publisher = {North-Holland}, address = {Amsterdam}, year = {1995}, pages = {1--35}, isbn = {0-444-82724-0} } @book{PelegSudholter2007, author = {Peleg, Bezalel and Sudh{\"o}lter, Peter}, title = {Introduction to the Theory of Cooperative Games}, series = {Theory and Decision Library. C}, volume = {34}, edition = {2}, publisher = {Springer Berlin Heidelberg}, address = {Berlin / Heidelberg}, year = {2007}, isbn = {978-3-540-72945-7}, doi = {10.1007/978-3-540-72945-7} } and at the end of al20.tex this code. However the Literature section remains empty. Viz \cite{AumannMaschler1995} pro teorii her. Viz \cite{PelegSudholter2007} pro kooperativní hry. \chapter*{Literatura} \bibliographystyle{plain} % nebo alpha, apalike \bibliography{references} BIBTEX root@hynek2:/mnt/e/PLOCHA 3 last one/Desktop/TH0dipl/tex# /mnt/e/BitDownloRepair/01CCC/MiKTeX/miktex/bin/x64/bibtex.exe all20 This is BibTeX, Version 0.99d (MiKTeX 21.12) The top-level auxiliary file: all20.aux The style file: plain.bst Database file #1: references.bib Warning--I didn't find a database entry for "Chandbook" Warning--I didn't find a database entry for "Ahandbook" Warning--I didn't find a database entry for "AumannMaschler1995" Warning--I didn't find a database entry for "PelegSudholter2007" (There were 4 warnings)

  • Missing item with labeled theorem when stop color leak from \showindexmarks
    by murray on November 12, 2025 at 5:43 pm

    As noted in Color specification in \indexmarkstyle for \showindexmarks leaks into body text, using \indexmarkstyle{\normalfont\small\sffamily\color{red}} \showindexmarks with \showindex causes the red coloring to leak from the indexmarks into the body of the document text. In https://tex.stackexchange.com/a/493284/13492, a fix was proposed, as shown in the block of code below between \makeatletter and \makeatother. However, including that block of code now causes compilation error stemming from the \index command in the theorem environment: ...38: LaTeX Error: Something's wrong--perhaps a missing \item. ...thm:Pythagoras}\index{Pythagorean theorem How can this be fixed? \documentclass[draft]{memoir} \usepackage{xcolor} \RequirePackage[thmtools-compat]{keytheorems} \newkeytheorem{theorem} \makeindex \indexmarkstyle{\normalfont\small\sffamily\color{red}} % Stop indexmarks color from leaking into the text % (https://tex.stackexchange.com/a/493284/13492): \makeatletter \renewcommand{\@showidx}[1]{% \insert\@indexbox{% \begingroup% add begin group \@sanitizeat \the\indexmarkstyle \hsize\marginparwidth \hangindent\marginparsep \parindent\z@ \everypar{}\let\par\@@par \parfillskip\@flushglue \lineskip\normallineskip \baselineskip .8\normalbaselineskip\sloppy \raggedright \leavevmode \vrule \@height .7\normalbaselineskip \@width \z@\relax #1\relax \vrule \@height \z@ \@depth .3\normalbaselineskip \@width \z@\relax \endgroup% add end group }% \ifhmode\penalty\@M \hskip\z@skip\fi} \makeatother \showindexmarks \begin{document} \mainmatter Hello, World!\index{world} \begin{theorem}\label{thm:Pythagoras}\index{Pythagorean theorem} The square upon the hypotenuse of a right triangle equals the sums of the squares upon the other two sides. \end{theorem} \backmatter \printindex \end{document}

  • Change Typeface Inside Description Environment
    by Monsieur Pierre Doune on November 12, 2025 at 4:55 pm

    How can I select the typeface for all terms like Fire Prism and Rangers inside description environment across the document? \documentclass[10pt, a5paper]{report} \usepackage[left=12mm, top=18mm, right=12mm, bottom=24mm]{geometry} \usepackage[]{geometry} \usepackage{dirtytalk} \usepackage{multicol} \usepackage{enumitem} \usepackage{soul} \usepackage{raleway} % tlf \usepackage{almendra} % osf \usepackage[T1]{fontenc} \setlist{leftmargin=*, nosep} \begin{document} \begin{description} \item[Fire Prism] This battle calls for massive firepower. \item[Rangers] We walk the path less travelled. \end{description} \end{document}

  • LaTex freezes when compiling table with tex4ebook
    by G. Bay on November 12, 2025 at 4:07 pm

    It seems like my table doesnt work well with tex4ebook. When I try to compile it freezes, latex process keeps running for hours (maybe more). The error seems to be related to fourier font, but if I remove the table and keep the same font, it works. No ePub is generated. Compiling with pdfLatex works fine. I kept the background because of the config file. MWE: \PassOptionsToPackage{dvipsnames,svgnames,table,x11names}{xcolor} \documentclass[openright]{memoir} \usepackage{graphicx} \usepackage[english]{babel} \usepackage[]{fourier} \usepackage[placement=center,pages=some]{background} \usepackage{tabularx} \usepackage{calc} \begin{document} \begin{table}[b] {\small \begin{tabular*}{\textwidth}{p{2.1em}p{\textwidth-12.5em}l} DD84 & & {CDD: 943} \\ & & {CDU: 94(430)} \\ \end{tabular*} } \end{table} \movetoevenpage \BgThispage \end{document} It freezes at [2] (/usr/local/texlive/2025/texmf-dist/tex/latex/fourier/fmlfutmi.fd The config file i am using: \Preamble{xhtml} \Configure{BackgroundMaterial} {\ifvmode\IgnorePar\fi\EndP\HCode{<div class="backgroundmaterial">}\begingroup\Configure{Gin-dim}{}} {\endgroup\ifvmode\IgnorePar\fi\EndP\HCode{</div>}} \Css{.backgroundmaterial { position: relative; z-index:0;max-width: 100\%; max-height: 100\%; break-after: page; page-break-after: always;}} % \makeatletter % Various helper functions % default font size \newcommand\emwidth{16} \let\emwidth\f@size % convert pt to rem \newcommand\CalcRem[1]{\strip@pt\dimexpr(#1)/\emwidth} \Configure{graphics*} {png} {% we must add the image to the list of output files \special{t4ht+@File: \csname Gin@base\endcsname.png} \Picture[pict]{\csname Gin@base\endcsname\PictExt \space style="width:\CalcRem{\Gin@req@width}em;" }% } \Configure{graphics*} {eps} {% you need to coonvert eps to png first \Needs{"convert \csname Gin@base\endcsname.eps \csname Gin@base\endcsname.png"}% \special{t4ht+@File: \csname Gin@base\endcsname.png} \Picture[pict]{\csname Gin@base\endcsname .png \space style="width:\CalcRem{\Gin@req@width}em;" }% } \ifdefined\Hy@SectionHShift\else \newlength\Hy@SectionHShift \fi \makeatother \begin{document} \EndPreamble

  • How to set the language of the whitespace character with babel and onchar option?
    by Niranjan on November 12, 2025 at 3:30 pm

    This is not really a problem. babel is correctly doing what it is expected to do, but I need to tweak something. Consider the following example: \documentclass{article} \usepackage[provide*=*]{babel} \babelprovide[main,import,onchar={ids fonts}]{marathi} \babelprovide[import,onchar={ids fonts}]{british} \babelfont[marathi]{tt}{Mukta-Regular.ttf} \babelfont[british]{tt}{NewCMMono10-Book.otf} \begin{document} \begin{verbatim} \hypersetup{% linkcolor = {red},% urlcolor = {blue}% } \end{verbatim} It produces this: The white space is not printed correctly, because it is obeying Marathi's font for space. This is fine elsewhere, but in mono-spaced context, it is always better to use the Latin space. Changing the main language from Marathi to British produces this which is exactly what I would like to have: Any hacks?

  • I have converted my file into UTF8 but the czech characters appear wrongly rendered
    by user2925716 on November 12, 2025 at 2:19 pm

    EDIT 4 I have proceeded much but still some characters are wrong. E.g. the 3rd paragraph should read "koncepty řešení" I have used this /mnt/e/Strawberry2/c/bin/iconv.exe -t utf-8 th0.tex > result0.tex But the text below should read Prohlašuji, že jsem práci... but the rendering is wrong. I have a code like this: \documentclass[a4paper,12pt]{book} % Jazyk a typografie \usepackage{polyglossia} \setmainlanguage{czech} % Správné fonty (XeLaTeX umí přímo systémové) \usepackage{fontspec} \setmainfont{Times New Roman} % Hyperref až po fontspec \usepackage{hyperref} \begin{document} \input{resultU.tex} \end{document} EDIT th0.tex gives this wrong EDIT2 \renewcommand{\thepage}{\roman{page}} \begin{titlepage} \begin{center} \large {\sc 111Přírodovědecká fakulta Masarykovy univerzity\\ Katedra algebry a geometrie } \end{center} \vskip5cm \begin{center} \huge \bf Řeąení her $n$ hráčů ve tvaru charakteristické funkce \end{center} \begin{center} \Large Diplomová práce \end{center} \vskip6cm \vfill \Large Brno, duben 2000 \hfill{Hynek Mlčouąek} \end{titlepage} \newpage \quad \vfill Děkuji doc. Liboru Polákovi, CSc. za cenné rady a~připomínky, které mi po celou dobu velmi ochotně poskytoval. \newpage \quad \vfill Prohlaąuji, ľe jsem práci vypracoval samostatně a vąechna pouľitá literatura je uvedena v seznamu. \hfill{Hynek Mlčouąek} \newpage \renewcommand{\thepage}{\arabic{page}} \setcounter{page}{1} \tableofcontents \newpage EDIT 3 my th0.tex looks like this I have proceeded much but still some characters are wrong. E.g. the 3rd paragraph should read "koncepty řešení"

  • RMarkdown changes underscore to \emph
    by Stuart on November 12, 2025 at 2:07 pm

    For some strange reason, writing equations in RMarkdown, it (pandoc?) changes underscores to \emph or sometimes it gives me an error message that I was missing a dollar sign (I was not) and so it inserted one for me. The text I entered was: $\psi_0 = \pi_{00} + \pi_{01} BLACK + \pi_{02} LATINX + \pi_{03} ASIAN $ followed by other stuff. I get this message: ! Missing $ inserted. <inserted text> $ l.171 \$\psi \emph{0 = \pi}\{00\} + \pi\emph{\{01\} BLACK + \pi}\{02\} LATINX + ... I have very similar code elsewhere in this document and it works fine. I don't get it. I use RMarkdown rather frequently and have never had a problem like this. Can anyone give me a hint? Thanks for the help.

  • I cannot properly reference tcolorbox environments with custom counter
    by antizanzare on November 12, 2025 at 1:53 pm

    I defined -through trial and error- some tcolorbox environments for my definitions and theorems. I used a "main_counter" because I wanted the same counter for both this custom environments and the usual ones (amsthm package). \documentclass[a4paper,11pt]{book} \usepackage{amsthm} \usepackage{tcolorbox} \tcbuselibrary{breakable} \tcbuselibrary{theorems} \tcbuselibrary{skins} \usepackage{etoolbox} % THEOREMS ENV \tcbset{genericstyle/.style= {enhanced, breakable, theorem style=plain, colback=#1!5, colframe=#1!70!black, fonttitle=\bfseries, coltitle=#1!60!black, frame hidden, arc=0mm,left=0mm, right=0mm, top=0mm, bottom=0mm, boxsep=1mm, left skip=-1mm, right skip=-1mm } } \newcounter{main_counter}[chapter] % Plain thm environment \newcommand{\createtheoremenv}[4]{% % Numbered version \newtcolorbox[use counter=main_counter, number within=chapter]{#1}[1][]{ genericstyle={#4}, fonttitle=\bfseries\upshape, fontupper=\itshape, title=#2~\thetcbcounter\ifstrempty{##1}{}{ ##1}, #3 }% % Unnumbered version \newtcolorbox{#1-}[1][]{ genericstyle={#4}, fonttitle=\bfseries\upshape, fontupper=\itshape, title=#2\ifstrempty{##1}{}{: ##1}, #3 }% } % theorem environments \createtheoremenv{tcblemma}{Lemma}{}{blue} \createtheoremenv{tcbthm}{Theorem}{}{orange} \usepackage{theoremref} \numberwithin{equation}{chapter} \theoremstyle{plain} \theoremstyle{remark} \newtheorem{remark}[main_counter]{Remark} \newtheorem*{remark*}{Remark} % \usepackage[colorlinks=true, allcolors=black]{hyperref} \begin{document} \chapter{First Chapter} \section{First Section} \begin{tcbthm}[First Theorem] This is my first theorem \end{tcbthm} \begin{tcbthm}[Second Theorem]\label{thm} This is my second theorem \end{tcbthm} \begin{remark}[A remark]\label{remark} Not in a tcolorbox \end{remark} I can reference Remark \ref{remark}, while i get the theorem reference wrong: \ref{thm} \end{document} The numbering seemed to work well, until i put labels and tried to reference them. What happens is that when I call the \ref{} command the output is <chapter>.<section>. So when trying to cite a theorem whose numbering is 1.7, \ref{} gives me 1.1 I tried labeling and referencing standard environments from the amsthm package and they work well. So the problem is clearly with something I did (or didn't) define, but i can't seem to figure out what i'm getting wrong. (Side note (to provide some context to the definition): another requirement (which now works) was to be able to write \begin{tcbthm}[Theorem's title] so that if in the future i want everything to non-colored i can just change tcbthm and the format stays the same)

  • Help with vertical spacing when using the floatrow package
    by tejendrapsingh on November 12, 2025 at 1:50 pm

    Okay, so I used the subcaption package and was able to get correct blank one double-spaced line vertical spacing before the float that are between the main text. However, I am still getting extra vertical space after the float ends. Below is the code I am using. Any suggestions for making sure the vertical space between the float ending and following main text is exactly one blank double-spaced line? \DocumentMetadata{ lang = en-US, tagging = on, pdfversion=2.0, pdfstandard = ua-2, tagging-setup = {table/header-rows=1} % math/alt/use not recommended } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PREAMBLE FOR PHD DISSERTATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This preamble is designed to meet the formatting requirements provided. % \documentclass[12pt, letterpaper]{report} %============================================================================== % MARGINS & PAGE LAYOUT %============================================================================== % Sets 1-inch margins on all sides (top, bottom, left, right) \usepackage[margin=1in]{geometry} % use ``, showframe'' for checking the margins. %============================================================================== % SPACING & PARAGRAPH FORMATTING %============================================================================== % For line spacing control (\doublespacing, \singlespacing, etc.) \usepackage{setspace} \doublespacing % Aggressively prevents "widows" and "orphans" (single lines of a paragraph % at the bottom or top of a page) \widowpenalty=10000 \clubpenalty=10000 %============================================================================== % PAGE NUMBERING & HEADERS/FOOTERS %============================================================================== % For customizing headers and footers \usepackage{fancyhdr} \fancypagestyle{plain}{% \fancyhf{} % Clear all header and footer fields \renewcommand{\headrulewidth}{0pt} % Remove the header rule line \fancyfoot[C]{\thepage} % Place the page number in the bottom right corner } \pagestyle{fancy} % Enable the fancy page style \fancyhf{} % Clear all header and footer fields \renewcommand{\headrulewidth}{0pt} % Remove the header rule line \fancyfoot[C]{\thepage} % Place the page number in the bottom right corner %============================================================================== % HEADINGS (CHAPTER, SECTION, ETC.) %============================================================================== % Provides full control over heading formatting \usepackage[raggedright]{titlesec} % Level 5: Paragraph % Indented, Bold, Italic, Run-in text \titleformat{\paragraph}[runin] {\normalfont\bfseries\itshape} {\theparagraph.} {1em} {} \titlespacing*{\paragraph}{\parindent}{0pt}{0pt} % *** NEWLY ADDED: Force figures/tables to use Arabic chapter numbers *** \renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}} \renewcommand{\thetable}{\arabic{chapter}.\arabic{table}} %============================================================================== % FIGURES & TABLES %============================================================================== \usepackage[skip=0pt,margin=0pt]{caption} % For caption customization \usepackage[margin=0pt,skip=0pt,font+=footnotesize]{subcaption} % For subfigures/subtables % Caption formatting: "Figure 1." or "Table 1." with a period separator % Also makes captions left-aligned to match the main text justification \captionsetup{labelsep=period, justification=raggedright, singlelinecheck=false} \usepackage{booktabs} % For professional-quality tables (\toprule, \midrule, \bottomrule) \usepackage{longtable} % For tables that span multiple pages \usepackage{threeparttable} % For tables with notes \usepackage{pdflscape} % For landscape pages \usepackage{adjustbox} % For scaling/adjusting boxes (tables, figures) \usepackage{placeins} % Provides \FloatBarrier to control float placement \usepackage{tabularx} %============================================================================== % OTHER USEFUL PACKAGES (from your original document) %============================================================================== \usepackage{amsmath} % For advanced math environments \usepackage{amssymb} % For math symbols like checkmarks \usepackage{bbm} % For blackboard bold numerals %\usepackage{floatrow} % For floatrow commands \usepackage{array} % For extrarowheight package %============================================================================== % FONT & TYPESETTING %============================================================================== % Sets the font to Times New Roman, as required \usepackage{newtxtext} % Text font \usepackage{newtxmath} % Math font % for indenting first paragraph \usepackage{indentfirst} % for controling space within tabular environment \usepackage{makecell} % \intextsep: Controls the vertical space between text and floats placed within the text flow. % \textfloatsep: Controls the vertical space between floats and the main text body (when floats are at the top or bottom of a page). % \abovecaptionskip: Controls the space above a caption. % \belowcaptionskip: Controls the space below a caption. %\setlength{\intextsep}{0pt} % Adjust as needed %\setlength{\textfloatsep}{\baselineskip} % Adjust as needed %\setlength{\abovecaptionskip}{\baselineskip} % Adjust as needed %\setlength{\belowcaptionskip}{\baselineskip} % Adjust as needed %\DeclareFloatVCode{nostrut}{\unskip} % Define a "no vertical space" code %\floatsetup[table]{captionskip=24pt,footskip=0pt,heightadjust={nocaption}} % Apply to tables %\floatsetup[figure]{precode=nostrut, postcode=nostrut,rowprecode=nostrut,rowpostcode=nostrut,midcode=nostrut} % Apply to figures %\floatsetup[floatfoot]{precode=nostrut, postcode=nostrut,rowprecode=nostrut,rowpostcode=nostrut,midcode=nostrut} % for example images \usepackage{graphicx} \begin{document} % for nice margins \emergencystretch 3em % for having required headers and footers \pagestyle{fancy} \bibliographystyle{aernobold} % for removing page numbers from the front matter \pagenumbering{gobble} Table \ref{tab:chapter1-table4} also reports RDD estimates for FTP and FTA individually. The estimates in Table \ref{tab:chapter1-table4} show that immediately post-disaster the likelihood of both FTP and FTA instances increases. The estimates for FTP are slightly less statistically precise. My approach of flagging traffic citations to have an FTP instance might be undercounting the traffic citations with an FTP instance leading to the statistical imprecision for FTP likelihood increase in Table \ref{tab:chapter1-table4}. If the defendant has outstanding fines and fees that they owe to the court, then an instance of FTA mechanically leads to an FTP instance. My approach however would not flag this FTP instance if the traffic citations data reports it only as an FTA instance. I begin by reporting the visual plot of the bin mean and polynomial fit in Figure \ref{fig:chapter1-rd-plot-main}. The outcome variable in this figure is an indicator variable for whether the traffic citation has an instance of Failure to Pay (FTP) or Failure to Appear (FTA). The discontinuity at the cutoff, the day of the disaster start, suggests that in the immediate aftermath of the natural disaster, defendants are more likely to have an instance of FTP or FTA. \begin{table}[!h]\centering \label{tab:chapter1-table4} \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \setlength\tabcolsep{0pt} \setlength\extrarowheight{2pt} \begin{adjustbox}{max width=\textwidth,max totalheight=\textheight} \begin{threeparttable} \begin{tabular*}{1.10\textwidth}{@{\extracolsep{\fill}}*{1}{l}*{7}{c}} \midrule &Optimal&RD&\multicolumn{2}{c}{Robust Inference}&Number of&Dep. Var.&Dep. Var. \\ \cmidrule{4-5} &Bandwidth&Estimator&p-value&95\% CI&Observations&Mean&SD \\ \midrule $\mathbbm{1}\left(\text{FTP or FTA}\right)$& 130.92& 0.040& 0.02&[0.01, 0.08]& 261& 0.26& 0.08\\ $\mathbbm{1}\left(\text{FTP}\right)$& 144.25& 0.015& 0.14&[-0.01, 0.04]& 289& 0.09& 0.05\\ $\mathbbm{1}\left(\text{FTA}\right)$& 112.71& 0.047& 0.00&[0.02, 0.08]& 225& 0.20& 0.07\\ \midrule \end{tabular*} \begin{tablenotes}[para] \footnotesize Notes: Data on traffic citations are derived from the Oklahoma State Court Network (OSCN). Data on natural disasters are derived from the Federal Emergency Management Agency (FEMA)'s disaster declarations summaries dataset. All disaster declarations for fire management assistance are dropped from the analytical sample. \end{tablenotes} \end{threeparttable} \end{adjustbox} \vspace{\baselineskip} \hrule height0pt \caption{Effect of Natural Disaster on Legal Debt Default -- Main Effect} \end{table} \hrule height0pt %\vspace{-12pt} Table \ref{tab:chapter1-table4} also reports RDD estimates for FTP and FTA individually. The estimates in Table \ref{tab:chapter1-table4} show that immediately post-disaster the likelihood of both FTP and FTA instances increases. The estimates for FTP are slightly less statistically precise. My approach of flagging traffic citations to have an FTP instance might be undercounting the traffic citations with an FTP instance leading to the statistical imprecision for FTP likelihood increase in Table \ref{tab:chapter1-table4}. If the defendant has outstanding fines and fees that they owe to the court, then an instance of FTA mechanically leads to an FTP instance. My approach however would not flag this FTP instance if the traffic citations data reports it only as an FTA instance. I begin by reporting the visual plot of the bin mean and polynomial fit in Figure \ref{fig:chapter1-rd-plot-main}. The outcome variable in this figure is an indicator variable for whether the traffic citation has an instance of Failure to Pay (FTP) or Failure to Appear (FTA). The discontinuity at the cutoff, the day of the disaster start, suggests that in the immediate aftermath of the natural disaster, defendants are more likely to have an instance of FTP or FTA. \begin{figure}[!h] \centering % *** ALT-TEXT ADDED FOR ADA COMPLIANCE *** \includegraphics[alt={A regression discontinuity plot showing a sharp jump in the likelihood of legal debt default (FTP or FTA) at day 0, which is the natural disaster start date. The y-axis (default likelihood) is around 0.25 before the event and jumps to nearly 0.30 immediately after.}, width=\linewidth,keepaspectratio=true]{example-image-c} \label{fig:chapter1-rd-plot-main} \vspace{\baselineskip} \hrule height0pt \caption{Effect of Natural Disaster on Legal Debt Default \vspace{\baselineskip} \newline \footnotesize Notes: Data on traffic citations are derived from the Oklahoma State Court Network (OSCN). Data on natural disasters are derived from the Federal Emergency Management Agency (FEMA)’s disaster declarations summaries dataset. All disaster declarations for fire management assistance are dropped from the analytical sample. The optimal bandwidth is $80.043$ on either side of the cutoff. Default options, as documented in are used. Solid lines are polynomial fit of order one. Bins are based on the initial appearance date of the citation and the date of the beginning of the natural disaster.} %\floatfoot{\footnotesize Notes: Data on traffic citations are derived from the Oklahoma State Court Network (OSCN). Data on natural disasters are derived from the Federal Emergency Management Agency (FEMA)’s disaster declarations summaries dataset. All disaster declarations for fire management assistance are dropped from the analytical sample. The optimal bandwidth is $80.043$ on either side of the cutoff. Default options, as documented in are used. Solid lines are polynomial fit of order one. Bins are based on the initial appearance date of the citation and the date of the beginning of the natural disaster.} \end{figure} \hrule height0pt Neither the monthly total citations nor those citations that have either FTP or FTA instances show any trend by calendar month. The estimates in this figure, therefore, suggest that the downward sloping trend in the pre-disaster period in Figure \ref{fig:chapter1-rd-plot-main} cannot be explained by the seasonality in the traffic citations. Table \ref{tab:chapter1-table4} reports the RDD estimates along with the robust inference statistics. The estimates in this table are derived from following the default options in. The point estimate suggests that immediately after the natural disaster, the likelihood of the traffic citation having an instance of FTP or FTA increases by $4$ percentage points. In other words, traffic citations whose initial court date was scheduled just after a natural disaster are $4$ percentage points more likely to result in FTP or FTA instances. As a proportion of the pre-disaster mean, this is a large increase of approximately $16.13\%$. This increase in FTP or FTA instance likelihood is statistically significant at the conventional levels of significance. Table \ref{tab:chapter1-table4} also reports RDD estimates for FTP and FTA individually. The estimates in Table \ref{tab:chapter1-table4} show that immediately post-disaster the likelihood of both FTP and FTA instances increases. The estimates for FTP are slightly less statistically precise. My approach of flagging traffic citations to have an FTP instance might be undercounting the traffic citations with an FTP instance leading to the statistical imprecision for FTP likelihood increase in Table \ref{tab:chapter1-table4}. If the defendant has outstanding fines and fees that they owe to the court, then an instance of FTA mechanically leads to an FTP instance. My approach however would not flag this FTP instance if the traffic citations data reports it only as an FTA instance. I begin by reporting the visual plot of the bin mean and polynomial fit in Figure \ref{fig:chapter1-rd-plot-main}. The outcome variable in this figure is an indicator variable for whether the traffic citation has an instance of Failure to Pay (FTP) or Failure to Appear (FTA). The discontinuity at the cutoff, the day of the disaster start, suggests that in the immediate aftermath of the natural disaster, defendants are more likely to have an instance of FTP or FTA. \end{document}

  • Latex illegal pream token, possible package updates
    by 8zehn48 on November 12, 2025 at 11:13 am

    I want to implement this code from an older post because I like the look of the Glossaries. I changed the old "table-unit-alignment" to "table-text-alignment" but there are still 4 errors in Overleaf and in Texshop which I use I can't compile. My first error there is "Package Array error: illegal pream token (s): "c" used." When you run it in Overleaf you will see the same error and 3 more. So my question is what has changed since 2017, cause back then this minimal code was running? My first thought was a package update, but I can't finde anything about this. I would be very grateful for help! Thank you! Here's the link to the old post with this code: https://golatex.de/viewtopic.php?t=20038 \documentclass[listof=totoc]{scrreprt} %Dokumentenklasse im KOMA-Script \usepackage{selinput}% http://texwelt.de/wissen/fragen/5546 \SelectInputMappings{ adieresis={ä}, germandbls={ß} } \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[ngerman]{babel} %Sprache \usepackage{siunitx} \usepackage{showframe} \usepackage{hyperref} \sisetup{locale=DE} %------------- Glossaries ----------- \usepackage[ automake, nonumberlist, % keine Seitenzahlen anzeigen acronym, % ein Abkürzungsverzeichnis erstellen % section, nopostdot % Den Punkt am Ende jeder Beschreibung deaktivieren ]{glossaries} %Glossar-Befehle anschalten \makeglossaries % Eigenen Stil für das Formelverzeichnis definieren \newlength{\symbolcaptionwidth} \settowidth{\symbolcaptionwidth}{\textbf{Formelzeichen}} \newglossarystyle{symbolstyle}{ \setglossarystyle{long3colheader} \newlength{\unitcaptionwidth} \setlength{\unitcaptionwidth}{4cm} \renewenvironment{theglossary}{ \sisetup{table-unit-alignment=left} \setlength{\glsdescwidth}{% \dimexpr\linewidth-\symbolcaptionwidth-\unitcaptionwidth-5\tabcolsep\relax% } \begin{longtable}{ @{}l% keine Einrückung s p{\glsdescwidth} } } {\end{longtable}} \renewcommand*{\glossaryheader}{ \textbf{Formelzeichen} & \multicolumn{1}{p{\unitcaptionwidth}}{\textbf{Einheit}} & \textbf{Bezeichnung}\\[3ex] \endhead }% \renewcommand*{\glossentry}[2]{% glossaryentryfield ist veraltet \glsentryitem{##1} \glstarget{##1}{\glossentryname{##1}} & \glsentrysymbol{##1} & \glossentrydesc{##1}\\[1ex] }% } \newglossarystyle{acrostyle}{ \setglossarystyle{long} \renewenvironment{theglossary}{ \setlength{\glsdescwidth}{% \dimexpr\linewidth-\symbolcaptionwidth-3\tabcolsep\relax% } \renewcommand{\arraystretch}{.8}% Zeilenabstand verringern \begin{longtable}[l]{ @{}p{\symbolcaptionwidth} p{\glsdescwidth} } } {\end{longtable}} } % Mit glossaries erstellte Verzeichnisse werden ohne Überschrift ausgeben. \renewcommand*{\glossarysection}[2][]{} %Befehle für Symbole \newglossaryentry{symb:Pi}{ name=$\pi$, symbol={\m\squared}, description={% Die Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl Kreiszahl% }, sort=symbolpi } %Befehle für Abkürzungen \newacronym{MS}{MS}{% Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft Microsoft% } \newacronym{TS}{TS}{TeamSpeak} %----------- Glossaries Ende --------- \begin{document} \pagenumbering{Roman} \tableofcontents \listoffigures \listoftables \clearpage \addchap{Formelzeichen und Abkürzungen} %\addcontentsline{toc}{chapter}{Formelzeichen und Abkürzungen} %\chaptermark{Formelzeichen und Abkürzungen} %Symbole ausgeben \printglossary[style=symbolstyle] %Abkürzungen ausgeben \section*{Abkürzungsverzeichnis} \printacronyms[style=acrostyle] \clearpage \pagenumbering{arabic} \chapter{Literaturtest} Eine erweiterte Anleitung \acrshort{MS} zu \gls{TS} den findet \gls{symb:Pi} sich in. \end{document}

  • Bibliography: problem when the page numbers in the 'pages' field contain dash ("-") symbols
    by nplatis on November 12, 2025 at 10:52 am

    When the page "numbers" in the pages field of a bibliographic entry contain dash (-) symbols, they are all converted to en-dashes by bibtex, which isn't desirable. The behavior is the same with and without the use of a citation management package such as natbib or cite. Consider the following example: \documentclass{article} \begin{filecontents}[overwrite]{\jobname.bib} @article{test, title={abc}, author={def}, year={1999}, pages={A-15-A-17} } \end{filecontents} \usepackage{natbib} \bibliographystyle{plainnat} \begin{document} \nocite{*} \bibliography{\jobname} \end{document} The result is: I have tried the following variations: pages={A-15--A-17} pages={A{-}15-A{-}17} with the same result. Fortunately, biblatex is more clever, and the following produces the correct result (notice that we should "help" it by providing the endash where desired): \documentclass{article} \begin{filecontents}[overwrite]{\jobname.bib} @article{test, title={abc}, author={def}, year={1999}, pages={A-15--A-17} } \end{filecontents} \usepackage{biblatex} \addbibresource{\jobname.bib} \begin{document} \nocite{*} \printbibliography \end{document} Any ideas on how to achieve this with bibtex and/or natbib?

  • soul not working with lineno
    by Jack on November 12, 2025 at 10:06 am

    All of a sudden I noticed that soul's \caps command does not produce output. I traced it down that it only happens when linenumbers are turned on. My MWE \documentclass{article} \usepackage{soul} \usepackage{lineno} \begin{document} \noindent Test1\\ \caps{ScTest1}\\ \linenumbers Test2\\ \caps{ScTest2}\\ \nolinenumbers Test3\\ \caps{ScTest3}\\ \end{document} In the output ScTest3 has disappeared, when compiling with an up-to-date TeXLive. When using TeXLive 2024 or before, this doesn't happen.

  • Specific the target PDF path for `synctex`
    by myhsia on November 12, 2025 at 2:15 am

    I want to specify the target PDF path for synctex: For example, after compiling, there are /path/to/foo.tex, /path/to/foo.pdf, and /path/to/foo.synctex.gz. But, if I (actually, it's some "tool" like makefile, l3build) move the files to /path/, then I found that when I jump from the .pdf file to the .tex file, it jumps to the .tex file in /path/to/, not /path/, also, I couldn't jump from the .tex file in /path/ to the .pdf file in /path/. Obviously, it is synctex that treats the target PDF path as /path/to, how to change it when compiling?

  • How come when filling in TikZ, there is a visible gap between adjacent fills?
    by Jasper on November 12, 2025 at 1:00 am

    How come when filling in TikZ, there is a visible gap between adjacent fills? \documentclass[tikz,border=1cm]{standalone} \begin{document} \begin{tikzpicture} \fill (0,0) -- (1,1) -- (1,0) -- cycle; \fill (0,0) -- (1,1) -- (0,1) -- cycle; \end{tikzpicture} \end{document}

  • How to distribute TikZ pics along entire path consisting of multiple subpaths?
    by dsacre on November 11, 2025 at 7:25 pm

    Assume the following: One wants to distribute (ideally: equally by length) TikZ pics along a path consisting of multiple subpaths. MWE \documentclass[border=5pt]{standalone} \usepackage{tikz} % DESCRIPTION: Definition of picture for positioning along the path \tikzset{ mypic/.pic={ \path[fill=cyan](0,0)circle(5pt); } } \begin{document} \begin{tikzpicture} \path[draw=black] (0,0)--++(0,2.5) arc(0:180:5) --++(0,-2.5) arc(180:360:5) % DESCRIPTION: Distributes pictures only on last part of path foreach \t in {0, 0.125, ..., 1}{ pic[pos=\t]{mypic} } ; \end{tikzpicture} \end{document} Result Goals Distribute pics along complete path (without copy pasting the foreach construct to each subpath) Achieve equal distribution by length over the whole path Question Is there a way to achieve this with plain TikZ or a TikZ library? Ideally, the solution should be as programmatically as possible, since it is intended to be used in an animation later on.

  • Invisible text on top of PSTricks drawing
    by Svend Tveskæg on November 11, 2025 at 6:43 pm

    Introduction I have some students who suffer from severe dyslexia. Therefore I would like to add some 'invisible' text on top of the following image so that they can use their text-to-speech software to read out "Camilla" and "Herbarium": The image above is part of a PSTricks drawing. Code Here is a almost MWE of what I have tried so far. \DocumentMetadata{} \documentclass{article} \usepackage{pstricks} \usepackage{graphicx} \begin{document} \begin{figure} \centering \begin{pspicture}(8.1,4.7) \rput(4.05,2.35){\includegraphics[width = 0.5\textwidth]{herbarium}} \rput(3.2,3.05){\rotatebox{28}{\huge\phantom{Camilla}}} \end{pspicture} \label{something} \end{figure} \end{document} Question How do I put 'invisible' text on top of the image above? I've looked at How do I create an invisible character? but obviously \phantom doesn't leave any text for the software to read. P.S. I compile using lualatex.

  • Longtable+Threeparttable tablenotes are slightly indented in first line
    by Lenny on November 11, 2025 at 6:23 pm

    I have a threeparttable with tablenotes. I want the tablenotes to align with the table, for which i found the method of adding [flushleft] after \begin{TableNotes}. However, the first line is still slightly indented and i cant find a working solution. Any ideas? Code: \documentclass{article} \usepackage{longtable} \usepackage{threeparttablex} \usepackage{lipsum} \begin{document} \begin{ThreePartTable} \begin{TableNotes}[flushleft] \footnotesize \item \lipsum[1] \end{TableNotes} \begin{longtable}[l]{|p{4cm}|p{5.625cm}|} \caption{Title}\\ \hline \textbf{A} & \textbf{B}\\ \endfirsthead \hline \endfoot \insertTableNotes \endlastfoot \hline A & B \\ \hline \end{longtable} \end{ThreePartTable} \end{document} Output:

  • Aligning arrows along a path at fixed steps on a rectangular grid
    by PatrickT on November 11, 2025 at 5:42 pm

    The objective is to have arrows along a path for every 1-unit step we take horizontally or vertically. The arrows would be aligned midway between major grid tick marks, e.g. midway along (0,0)--(0,1). To give context, these arrows could be used to show east-west and north-west movement along a rectangular grid. I have managed to handle the case where the x and y units are the same. Below I have tweaked the parameters to have the blue arrows aligned at the midpoint (grid minor line colored in cyan). But I failed with the red arrows. The problem is that the x-scale and y-scale are quite different. If the step is tweaked to match horizontal distances (parallel to the x-axis), then it will not match the vertical distances. How to fix this? To clarify, if I give a path like (0,0)--(10,0), I would like an arrow midway along (0,0)--(1,0), then midway along (1,0)--(2,0), and so on. Otherwise I would just use something like [midway](0,0)--(10,0) or [pos=0.5](0,0)--(10,0). In my code I have to tweak the "starting value" as well as the "step". It would obviously be much nicer to have a solution where I could set a starting value at 0.5 (meaning at the midway point between two major grid tick lines) and a step equal to 1 (meaning moving by 1 unit of image scale --- not units of the axis --- along both x and y directions). \documentclass[border=3pt,tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{calc} % Required for coordinate calculations \usetikzlibrary{decorations.markings} % Required for decorations along path % Define a TikZ style for arrows on path: color as optional argument % \usetikzlibrary{decorations.markings, arrows.meta} \tikzset{ arrows along path/.style args={#1/#2/#3}{% >=latex, decoration={ markings, mark=between positions #1 and #2 step #3 with { \arrow{latex} } }, postaction={decorate} }, arrows along path/.default={0/1/0.5} } % x has range 5 % y has range 3000 % 3000/5 = 600 % 5/3000 = 0.00166666666 \begin{document} \begin{tikzpicture} \begin{axis}[ x = 2cm, y = 0.0033cm,% tweaked to match y/x=5/3000 ratio xmin=0, xmax=5, ymin=500, ymax=3500, xtick = {0,1,...,5}, ytick = {500,1000,...,3500}, tick align=outside, minor tick num=1, minor tick length=4pt, minor tick style={color=cyan,thick}, minor grid style={color=cyan,thick}, grid = both, clip = false, ] \coordinate (A) at (0,2000); \coordinate (B) at (5,2000); \coordinate (C) at (0,1000); \coordinate (D) at (1,1000); \coordinate (E) at (1,3000); \coordinate (F) at (4,3000); \coordinate (G) at (4,1000); \coordinate (H) at (5,1000); % Blue line \draw [blue, thick, arrows along path={0.118/1/0.20}] (A) -- (B); % Red line \draw [red, thick, arrows along path={0.051/1/0.079}] (C) -- (D) -- (E) -- (F) -- (G) -- (H); \end{axis} \end{tikzpicture} \end{document} Second implementation, also fails to get the correct output: \documentclass[border=3pt,tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{calc} % Required for coordinate calculations \usetikzlibrary{decorations.markings} % Required for decorations along path % Define a TikZ style for arrows on path: color as optional argument % \usetikzlibrary{decorations.markings, arrows.meta} \tikzset{ arrows along path/.style args={#1/#2/#3}{% >=latex, decoration={ markings, mark=between positions #1 and #2 step #3 with { \arrow{latex} } }, postaction={decorate} }, arrows along path/.default={0/1/0.5} } \begin{document} \begin{tikzpicture} \begin{axis}[ x=2cm, y=0.0033cm, xmin=0, xmax=5, ymin=500, ymax=3500, xtick = {0,1,...,5}, ytick = {500,1000,...,3500}, tick align=outside, minor tick num=1, minor tick length=4pt, minor tick style={color=cyan,thick}, minor grid style={color=cyan,thick}, grid = both, clip = false, ] \coordinate (A) at (0,2000); \coordinate (B) at (5,2000); \coordinate (C) at (0,1000); \coordinate (D) at (1,1000); \coordinate (E) at (1,3000); \coordinate (F) at (4,3000); \coordinate (G) at (4,1000); \coordinate (H) at (5,1000); % Blue line \draw [blue, thick, arrows along path={0.12/1/0.20}] (A) -- (B); % Red line \pgfplotsextra{ \foreach \P/\Q in {C/D, D/E, E/F, F/G, G/H}{ \draw [red, thick, arrows along path={0.6/1/0.40}] (\P) -- (\Q); } } \end{axis} \end{tikzpicture} \end{document} A variant with a node and a dot, that sort of look like the ideal implementation for its simplicity, but fails just the same. \documentclass[border=3pt,tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{calc} % Required for coordinate calculations \usetikzlibrary{decorations.markings} % Required for decorations along path % set up all axes \pgfplotsset{% every axis/.append style={% axis styles %ticks = none, grid = both, clip = false,% remove clip }% }% % Define a TikZ style for arrows \tikzset{ marks along path/.style args={#1/#2/#3/#4}{% decoration={ markings, mark=between positions #1 and #2 step #3 with { \node[#4] at (0,0) {}; } }, postaction={decorate} }, marks along path/.default={0/1/0.5/shape=circle,fill=black,draw=black,inner sep=0pt,minimum size=4mm,line width=2pt} } \begin{document} \begin{tikzpicture} \begin{axis}[ x = 2cm, y = 0.0033cm,% tweaked to match y/x=5/3000 ratio xmin=0, xmax=5, ymin=500, ymax=3500, xtick = {0,1,...,5}, ytick = {500,1000,...,3500}, tick align=outside, minor tick num=1, minor tick length=4pt, minor tick style={color=cyan,thick}, minor grid style={color=cyan,thick}, grid = both, clip = false, ] \coordinate (A) at (0,2000); \coordinate (B) at (5,2000); \coordinate (C) at (0,1000); \coordinate (D) at (1,1000); \coordinate (E) at (1,3000); \coordinate (F) at (4,3000); \coordinate (G) at (4,1000); \coordinate (H) at (5,1000); % Blue line \draw[blue, line width=2pt, marks along path={0/1/0.5/shape=circle,fill=blue,draw=black}] (A) -- (B); \draw[red, line width=2pt, marks along path={0/1/0.5/shape=circle,fill=red,draw=black}] (C) -- (D) -- (E) -- (F) -- (G) -- (H); \end{axis} \end{tikzpicture} \end{document}

  • Highlight certain rectangular blocks in nicematrix
    by Marc-André Désautels on November 11, 2025 at 3:45 pm

    I'm trying to highlight certain rectangular blocks with the nicematrix package. The problem I have is that the left and right sides of the rectangles are not in the correct positions. Here is a MWE: \documentclass{standalone} \usepackage{nicematrix,tikz} \usetikzlibrary{fit} \begin{document} \tikzset{highlight/.style={rectangle, draw=black, line width=2pt, fit=#1}} \begin{NiceTabular}[hvlines,create-medium-nodes]{ccc} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \CodeAfter \begin{tikzpicture}[name suffix = -medium] \node [highlight=(1-1)(1-2)(2-1)(2-2)] {} ; \node [highlight=(3-3)(3-3)(3-3)(3-3)] {} ; \end{tikzpicture} \end{NiceTabular} \end{document} When we compile, we get this: I'm trying to find a way to get the right margins for my rectangles.

  • Diagram in beamer
    by the topological beast on November 11, 2025 at 3:25 pm

    I’m trying to include a fairly large diagram in Beamer, but it isn’t working and I don’t understand why. \documentclass[12pt,compress]{beamer} \setbeamertemplate{navigation symbols}{} \usetheme{Warsaw} \newtheorem{teorema}{Teorema} \newcommand{\nd}[1]{\begin{smallmatrix}#1\end{smallmatrix}} \setbeamertemplate{section page}{% \begin{centering} \vspace{2cm} \usebeamerfont{section title}\insertsection\par \end{centering} } \usepackage{tikz, tikz-cd} \usetikzlibrary{arrows,shapes,cd} \setbeamertemplate{navigation symbols}{} % Quita los botones de navegación \setbeamertemplate{footline}{} % Elimina el pie de página \setbeamerfont{section in head/foot}{series=\bfseries} % Las secciones se ven mejor \setbeamertemplate{itemize items}[ball] % Usa puntos circulares en lugar de guiones \begin{document} \begin{frame} \begin{tikzcd}[sep={2.8em,between origins}] \& \& \& \& \& {\color{red}\nd{S_{2}}} \ar[rd,red] \rar[dotted, no head] \& \nd{\tau^{-1}(S_{2})} \ar[rd] \rar[dotted, no head] \& {\color{red}\nd{S_{2}}} \\[1.3em] \& \& \& \& \& \& {\color{red}\nd{P_1}} \ar[rd,red] \ar[ru] \rar[dotted, no head] \& {\color{red}\nd{I_3}} \ar[rd] \ar[ru,red] \\[1.3em] \& \nd{P_4} \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-1}(P_4)} \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-2}(P_4)} \ar[rd] \ar[ru] \rar[dotted, no head] \& {\color{red}\nd{M_2}} \ar[rd] \ar[ru,red] \rar[dotted, no head] \& \nd{\tau^{2}(I_4)} \ar[rd] \rar[dotted, no head] \& \nd{\tau(I_4)} \ar[rd] \rar[dotted, no head] \& \nd{I_4} \ar[rd] \\[1.3em] \nd{P_3} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-1}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-2}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-3}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-4}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-5}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{\tau^{-6}(P_3)} \ar[ru] \ar[rd] \ar[rddd] \rar[dotted, no head] \& \nd{I_1} \\[1.3em] \& \nd{P_6} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-1}(P_6)} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-2}(P_6)} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-3}(P_6)} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-4}(P_6)} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{\tau^{-5}(P_6)} \ar[ru] \ar[rd] \rar[dotted, no head] \& \nd{I_5} \ar[ru] \\[1.3em] \& \& \nd{P_5} \ar[ru] \rar[dotted, no head] \& \nd{\tau^{-1}(P_5)} \ar[ru] \rar[dotted, no head] \& \nd{S_{6}} \ar[ru] \rar[dotted, no head] \& \nd{S_{5}} \ar[ru] \rar[dotted, no head] \& \nd{\tau(I_6)} \ar[ru] \rar[dotted, no head] \& \nd{I_6} \ar[ru] \\[1.3em] \& \nd{P_2} \ar[ruuu] \rar[dotted, no head] \& \nd{\tau^{-1}(P_2)} \ar[ruuu] \rar[dotted, no head] \& \nd{\tau^{-2}(P_2)} \ar[ruuu] \rar[dotted, no head] \& \nd{S_{4}} \ar[ruuu] \rar[dotted, no head] \& \nd{\tau^{2}(I_2)} \ar[ruuu] \rar[dotted, no head] \& \nd{\tau(I_2)} \ar[ruuu] \rar[dotted, no head] \& \nd{I_2} \ar[ruuu] \end{tikzcd} \end{frame} \end{document} This is the diagram

  • Biber Not Finding Master Bib File
    by Nelson on November 11, 2025 at 3:15 pm

    I've recently switched over from just Windows to a dual setup with Linux Mint, and am trying to get Latex going. Mostly things are working, using Texstudio with Miktex, but when I try to compile bibliographies I get this error: ERROR - Cannot find 'bibMaster.bib'! This is my master bibliography file. It's stored at this directory: /media/SharedVolume/Documents/Latex/texmf/bibtex/bib/bibMaster.bib (It's on a shared volume, since I want to be able to work on things from either the Windows or Linux sides.) I know that Latex knows where the texmf folder is, since I can call my master style file just fine. I cannot for the life of me imagine what the problem might be. The only thing I can think of is that it's a shared partition being called. But if this directory is listed with Miktex, and the style file is called from there, could this really be the problem? Here's the MWE of my test document. I compile in Xelatex, and use biber. \documentclass{article} \usepackage{biblatex} \addbibresource{bibMaster.bib} \begin{document} Test citation \cite{Fulk1992}. \end{document} Editing to add the contents of test.blg: [0] Config.pm:328> INFO - This is Biber 2.21 [0] Config.pm:331> INFO - Logfile is 'test.blg' [37] biber:342> INFO - === Tue Nov 11, 2025, 16:11:47 [45] Biber.pm:421> INFO - Reading 'test.bcf' [80] Biber.pm:1002> INFO - Found 1 citekeys in bib section 0 [87] Biber.pm:4487> INFO - Processing section 0 [92] Biber.pm:4678> INFO - Looking for bibtex file 'bibMaster.bib' for section 0 [99] Utils.pm:479> ERROR - Cannot find 'bibMaster.bib'! [99] Biber.pm:137> INFO - ERRORS: 1 And "biber -- debug ..." produces this: INFO - This is Biber 2.21 INFO - Logfile is '....blg' INFO - DEBUG mode: all messages are logged to '....blg' ERROR - Cannot find '....bcf'! INFO - ERRORS: 1

  • Paperclip icon not shown i Adobe when file is attached in using LaTeX
    by JacobDuelund on November 11, 2025 at 1:57 pm

    I use the attachfile-package to attach an Excel-file in a LaTeX-document. When I open the compiled document in Adobe, I can see that the Excel-file is attached, since I can click on the link in the text and open the file, but there is no paperclip icon in the Adobe menu panel to the right. Does anyone know why? I've been away from using LaTeX for a few years, and I used to do the exact same thing, and back then the paperclip icon showed up. It's important, that the icon in the Adobe menu panel is shown, since my students use it to find the attached document. Edit: I've added a small example where the problem arises: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{attachfile} \begin{document} The super important data file can be found here: \textattachfile[color = 0 0 1]{ImportantData.xlsx}{Super important data}. \end{document} The pdf-document clearly contains the attached file, but the paperclip icon isn't shown in the menu to the right in Adobe.

  • why this causes an error [duplicate]
    by user2925716 on November 11, 2025 at 12:10 pm

    Command Line: bibtex.exe "all" Startup Folder: E:\PLOCHA 3 last one\Desktop\TH0dipl\tex This is BibTeX, Version 0.99d (MiKTeX 25.4) The top-level auxiliary file: all.aux I found no \bibdata command---while reading file all.aux I found no \bibstyle command---while reading file all.aux (There were 2 error messages) EDIT ThU.tex Command Line: makeindex.exe "all.idx" Startup Folder: E:\PLOCHA 3 last one\Desktop\TH0dipl\tex This is makeindex, version 2.16 [MiKTeX 25.4]. Scanning input file all.idx....done (7 entries accepted, 0 rejected). Sorting entries....done (25 comparisons). Generating output file all.ind....done (20 lines written, 0 warnings). Output written in all.ind. Transcript written in all.ilg. Command Line: C:\Users\Hynek\AppData\Local\Programs\MiKTeX\miktex\bin\x64\xelatex.exe --interaction=errorstopmode --synctex=-1 "all.tex" Startup Folder: E:\PLOCHA 3 last one\Desktop\TH0dipl\tex This is XeTeX, Version 3.141592653-2.6-0.999997 (MiKTeX 25.4) (preloaded format=xelatex.fmt) restricted \write18 enabled. entering extended mode (all.tex LaTeX2e <2025-06-01> patch level 1 L3 programming layer <2025-10-09> (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\book.cls Document Class: book 2025/01/22 v1.4n Standard LaTeX document class (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\bk10.clo)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\inputenc.sty ! Package inputenc Error: inputenc is not designed for xetex or luatex. (inputenc) only UTF-8 supported. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.164 \endinput ? ) (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)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\latexsym.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/ntgclass\a4.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\makeidx.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\theorem.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/tools\thp.sty)) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/hyperref\hyperref.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/generic/iftex\iftex.sty) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.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/latex/etoolbox\etoolbox.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) ! Package hyperref Error: Wrong driver option `pdftex', (hyperref) because pdfTeX in PDF mode is not detected. See the hyperref package documentation for explanation. Type H <return> for immediate help. ... l.4066 \ProcessKeyvalOptions{Hyp} ? (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))) (def.tex) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/l3backend\l3backend-xet ex.def) LaTeX Warning: Unused global option(s): [14pt]. (all.aux) (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics\color.sty (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\color.cfg) (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 )) (all.out) (all.out) [1] [2] Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! (C:\Users\Hynek\AppData\Local\Programs\MiKTeX\tex/latex/base\ulasy.fd) Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman17-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! LaTeX Warning: No \author given. [1] [2] (all.toc) (thU.tex [3] [4] Missing character: There is no � in font [lmromancaps10-regular]:mapping=tex-te xt;! Missing character: There is no � in font [lmromancaps10-regular]:mapping=tex-te xt;! Missing character: There is no � in font [lmromancaps10-regular]:mapping=tex-te xt;! Missing character: There is no � in font [lmromancaps10-regular]:mapping=tex-te xt;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-regular]:mapping=tex-text;! [1] Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! [2] Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! [3] (all.toc) [1]) (th1.tex [2] Kapitola 1. Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman12-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=te Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Underfull \hbox (badness 10000) in paragraph at lines 223--228 Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no � in font [lmroman10-regu Missing character: There is no � in font [lmroman10-bold]:mapping=tex-text;! ) (all.bbl) (all.ind [16] [17]) (all.aux) LaTeX Warning: There were undefined references. Package rerunfilecheck Warning: File `all.out' has changed. (rerunfilecheck) Rerun to get outlines right (rerunfilecheck) or use package `bookmark'. ) Output written on all.pdf (26 pages). SyncTeX written on all.synctex. Transcript written on all.log. _____________________________________________________________________ EDIT %&latex %\documentclass[12pt,a4paper]{book} \documentclass[14pt]{book} \topmargin 2mm \oddsidemargin 10mm \evensidemargin 10mm \textwidth 150mm \textheight 220mm \usepackage[latin2]{inputenc} \usepackage[czech]{babel} %\usepackage{czech} \usepackage{latexsym} \usepackage{a4} \usepackage{makeidx} \usepackage{theorem} \usepackage[pdftex,breaklinks,colorlinks,allcolors=green,citecolor=blue,urlcolor=blue,pdftitle={Lecture 9},pdfauthor={Ryan Higginbottom},pdfsubject={LaTeX}]{hyperref} %\makeindex \input{def.tex} \renewcommand{\theenumi}{\roman{enumi}} \begin{document} Links\hyperlink{foo_1}{This becomes a link}. \hypertarget{foo_2}{This is the target}. \title{ Práce je zaměřena na koncepty řeąení her \\ $n$ hráčů ve tvaru charakteristické funkce \\ {\bf stabilní konfigurace}, {\bf kernel} a {\bf nukleolus}.} \maketitle \tableofcontents \hypertarget{foo_1}{This is the targett}. Links\hyperlink{foo_2}{This becomes a linkk}. \nocite{*} \bibliographystyle{alpha} \bibliography{all} \printindex \end{document} PDFTeXify Compilation Report (Pages: 26) Errors: 2 Warnings: 7 Bad Boxes: 12 EDIT ttps://limewire.com/?referrer=pq7i8xx7p2 EDIT tex.def {\theorembodyfont{\upshape} \newtheorem{definice}{Definice}} {\theorembodyfont{\upshape} \newtheorem{lema}[definice]{Lemma}} {\theorembodyfont{\upshape} \newtheorem{veta}[definice]{Vlta}} {\theorembodyfont{\upshape} \newtheorem{priklad}[definice]{Pxmklad}} {\theorembodyfont{\upshape} \newtheorem{dus}[definice]{Dysledek}} \newcommand\duk{{\sc Dykaz.\ \ }} \newfont{\mat}{msbm10} \newcommand\NH{N} \newcommand\NC{\mathcal N} \newcommand\KE{\mathcal K} \newcommand\BX{\mathbf X} \newcommand\x{\tilde{x}} \renewcommand\xi{\tilde{x_i}} \newcommand\xj{\tilde{x_j}} \newcommand\xl{\tilde{x_l}} \renewcommand\S{\mathcal S} \renewcommand\L{\mathcal L} \newcommand\B{\mathcal B} \newcommand\T{\mathcal T} \newcommand\C{\mathcal C} \newcommand\U{\mathcal U} \newcommand\V{\mathcal V} \newcommand\M{\mathcal M} \newcommand\Skl{\mathcal S_{kl}} \newcommand\Slk{\mathcal S_{lk}} \newcommand\Sij{\mathcal S_{ij}} \newcommand\Sji{\mathcal S_{ji}} \newcommand\Ekl{\mathcal E_{kl}} \newcommand\Elk{\mathcal E_{lk}} \newcommand\N{\mbox{\mat N}} \newcommand\R{\mbox{\mat R}} EDIT 3 \documentclass[12pt,a4paper]{book} \topmargin 2mm \oddsidemargin 10mm \evensidemargin 10mm \textwidth 150mm \textheight 220mm %\usepackage[latin2]{inputenc} \usepackage{czech} \usepackage{latexsym} \usepackage[Lenny]{fncychap} \usepackage{a4} \usepackage{makeidx} \usepackage{theorem} %\makeindex \input{def.tex} \renewcommand{\theenumi}{\Roman{enumi}} \begin{document} \title{ Práce je zaměřena na koncepty řeąení her \\ $n$ hráčů ve tvaru charakteristické funkce \\ {\bf stabilní konfigurace}, {\bf kernel} a {\bf nukleolus}.} %\maketitle %\tableofcontents \input{thU.tex} \input{th0.tex} \input{th1.tex} \input{th2.tex} \input{th3.tex} \input{th4.tex} \nocite{*} \bibliographystyle{alpha} \bibliography{all} %\printindex \end{document}

  • Unknown float option `H' even if I loaded the float package
    by Helmer.Aslaksen on November 11, 2025 at 12:06 pm

    Why do I get Unknown float option `H'? \documentclass{article} \usepackage{graphicx} \usepackage{float} \begin{document} \begin{figure}[H] \includegraphics{Picture} \caption{Caption} \end{figure} \end{document} I am using TeXstudio on Windows. I suppose there is something wrong with my TeX setup, since the code looks OK. This is my log file when I ran it after deleting all files except the TeX. This is pdfTeX, Version 3.141592653-2.6-1.40.27 (MiKTeX 25.4) (preloaded format=pdflatex 2025.10.3) 11 NOV 2025 14:50 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **./Test.tex (Test.tex LaTeX2e <2025-06-01> patch level 1 L3 programming layer <2025-09-02> (C:\Program Files\MiKTeX\tex/latex/base\article.cls Document Class: article 2025/01/22 v1.4n Standard LaTeX document class (C:\Program Files\MiKTeX\tex/latex/base\size10.clo File: size10.clo 2025/01/22 v1.4n Standard LaTeX file (size option) ) \c@part=\count275 \c@section=\count276 \c@subsection=\count277 \c@subsubsection=\count278 \c@paragraph=\count279 \c@subparagraph=\count280 \c@figure=\count281 \c@table=\count282 \abovecaptionskip=\skip49 \belowcaptionskip=\skip50 \bibindent=\dimen148 ) (C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty Package: graphicx 2024/12/31 v1.2e Enhanced LaTeX Graphics (DPC,SPQR) (C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty Package: keyval 2022/05/29 v1.15 key=value parser (DPC) \KV@toks@=\toks17 ) (C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty Package: graphics 2024/08/06 v1.4g Standard LaTeX Graphics (DPC,SPQR) (C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty Package: trig 2023/12/02 v1.11 sin cos tan (DPC) ) (C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration ) Package graphics Info: Driver file: pdftex.def on input line 106. (C:\Program Files\MiKTeX\tex/latex/graphics-def\pdftex.def File: pdftex.def 2024/04/13 v1.2c Graphics/color driver for pdftex )) \Gin@req@height=\dimen149 \Gin@req@width=\dimen150 ) (C:/Users/helmeras/OneDrive - Universitetet i Oslo/Documents/CS/TeX/localtexmf\ tex/latex/helmer\float.sty) (C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def File: l3backend-pdftex.def 2025-06-09 L3 backend support: PDF output (pdfTeX) \l__color_backend_stack_int=\count283 ) No file Test.aux. \openout1 = `Test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. (C:\Program Files\MiKTeX\tex/context/base/mkii\supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] \scratchcounter=\count284 \scratchdimen=\dimen151 \scratchbox=\box53 \nofMPsegments=\count285 \nofMParguments=\count286 \everyMPshowfont=\toks18 \MPscratchCnt=\count287 \MPscratchDim=\dimen152 \MPnumerator=\count288 \makeMPintoPDFobject=\count289 \everyMPtoPDFconversion=\toks19 ) (C:\Program Files\MiKTeX\tex/latex/epstopdf-pkg\epstopdf-base.sty Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4 85. (C:\Program Files\MiKTeX\tex/latex/00miktex\epstopdf-sys.cfg File: epstopdf-sys.cfg 2021/03/18 v2.0 Configuration of epstopdf for MiKTeX )) ! LaTeX Error: Unknown float option `H'. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.5 \begin{figure}[H] Option `H' ignored and `p' used. <Five_Hegemons.png, id=1, 820.56563pt x 574.39594pt> File: Five_Hegemons.png Graphic file (type png) <use Five_Hegemons.png> Package pdftex.def Info: Five_Hegemons.png used on input line 6. (pdftex.def) Requested size: 820.56363pt x 574.39452pt. Overfull \hbox (475.56363pt too wide) in paragraph at lines 6--7 [][] [] LaTeX Warning: Float too large for page by 48.33896pt on input line 8. [1{C:/Users/helmeras/AppData/Local/MiKTeX/fonts/map/pdftex/pdftex.map} <./Five_ Hegemons.png>] (Test.aux) *********** LaTeX2e <2025-06-01> patch level 1 L3 programming layer <2025-09-02> *********** ) Here is how much of TeX's memory you used: 1288 strings out of 468092 21316 string characters out of 5439322 431987 words of memory out of 5000000 29971 multiletter control sequences out of 15000+600000 626825 words of font info for 40 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 57i,6n,65p,201b,206s stack positions out of 10000i,1000n,20000p,200000b,200000s <C:/Program Files/MiKTeX/fonts/type1/public/amsfonts/cm/cmr10.pfb> Output written on Test.pdf (1 page, 1465687 bytes). PDF statistics: 14 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 6 words of extra memory for PDF output out of 10000 (max. 10000000)

  • Why does activating tagging in a footnote-heavy document increase the PDF file size much more with lualatex than with pdflatex?
    by Senex on November 11, 2025 at 11:32 am

    The file below generates a 70 page "lorem ipsum" file with ~5–10 footnotes per page. Activating tagging (just changing tagging=off to tagging=on) produces a much larger increase in PDF file size when compiling with lualatex compared with pdflatex, although the output of show-pdf-tags seems to indicate that the tagging structure is actually smaller for lualatex. pdflatex lualatex tagging=off PDF size 297kB 270kB tagging=on PDF size 529kB 870kB relative size of PDFs 1.78 3.22 show-pdf-tags output size 929kB 810kB If I remove the \footnote command, so that everything appears as body text, the difference is much smaller: Engine pdflatex lualatex tagging=off PDF size 206kB 231kB tagging=on PDF size 326kB 397kB relative size of PDFs 1.58 1.71 show-pdf-tags output size 357kB 359kB These results are from an up-to-date TeX Live 2025. So: (1) What is going on? (2) Is it possible to reduce the file size produced by lualatex? (Is there some setting I should have applied?) (I understand that tagging is under active development and this might be a transient issue. I noticed this when converting a private book style to be tagging-compatible.) Code for the document: \DocumentMetadata{ pdfversion=2.0, pdfstandard=UA-2, lang=la, tagging=off, } \documentclass{book} \ExplSyntaxOn \cs_new:Npn\generatecomplexfile { \int_zero:N\l_tmpa_int \int_do_until:nNnn{\l_tmpa_int}>{500}{ \int_incr:N\l_tmpa_int \group_begin: \int_set:Nn\l_tmpa_int{\int_mod:nn{\l_tmpa_int}{100}+1} \int_set:Nn\l_tmpb_int{\int_mod:nn{\l_tmpa_int}{19}+1} \lipsum_aux:ee{\int_use:N\l_tmpa_int}{\int_use:N\l_tmpb_int} \footnote{\lipsum_aux:ee{\int_use:N\l_tmpa_int}{1}}~ \par \group_end: } } \cs_new:Npn\lipsum_aux:nn #1#2 { \lipsum[#1][1-#2] } \cs_generate_variant:Nn\lipsum_aux:nn{ ee } \ExplSyntaxOff \usepackage{lipsum} \begin{document} \generatecomplexfile \end{document}

  • How to use lmssdc10 font?
    by rga.cz on November 11, 2025 at 10:09 am

    I used to use this font \font\titlefont=cmssdc10 scaled \magstep 4 in pdfTeX (with PlainTeX format). Now I want to update my old code to use modern Latin Modern fonts. \font\titlefont=lmssdc10 scaled \magstep 4 But it does not work. During run these errors are shown: Sorry, but miktex-makemf did not succeed. Running miktex-hbf2gf.exe... Couldn't open `lmssdc.cfg' This is logged in the log file: miktex-maketfm - No creation rule for font lmssdc10. And this error is shown: ! Font \testfont=lmssdc10 not loadable: Metric (TFM) file not found. How can I fix this to use llssdc10 font? I use MiKTeX 24.1.

  • beautification of a block matrix
    by RIPAN DAS on November 9, 2025 at 3:21 pm

    I am looking for suggestions on how to improve the visual presentation of a block matrix I created in LaTeX. I'm hoping to "beautify" it and make it easier to read. Here is the code: \documentclass{article} \usepackage{amsmath} \newcommand{\bigzero}{\mbox{\normalfont\Large\bfseries 0}} \newcommand{\rvline}{\hspace*{-\arraycolsep}\vline\hspace*{-\arraycolsep}} \begin{document} \[ \begin{bmatrix} \begin{matrix} \dfrac{\partial \tilde{x}_1}{\partial x_1}(x) &\cdots & \dfrac{\partial \tilde{x}_1}{\partial x_n}(x)\\ \vdots &\ddots &\vdots \\ \dfrac{\partial \tilde{x}_1}{\partial x_1}(x) &\cdots & \dfrac{\partial \tilde{x}_1}{\partial x_n}(x) \end{matrix} & \rvline & \bigzero \\ \hline \bigzero & \rvline & \begin{matrix} \dfrac{\partial \tilde{x}_1}{\partial x_1}(x) &\cdots & \dfrac{\partial \tilde{x}_1}{\partial x_n}(x)\\ \vdots &\ddots &\vdots \\ \dfrac{\partial \tilde{x}_1}{\partial x_1}(x) &\cdots & \dfrac{\partial \tilde{x}_1}{\partial x_n}(x) \end{matrix} \end{bmatrix} \] \end{document} as you can see, there is no gap between the horizontal line and the rows just above and below it. i want to make it better and look beautiful and if possible some more beautification.

  • TikZ: How to draw a 3D shape by defining its 2D cross-section and 3D path?
    by Diaa on November 8, 2025 at 12:24 pm

    For the following, I would like to draw a 3D shape by sweeping the cross-section (i.e., rectangle or circle) along the 3D path from its start to end coordinates, while having, if possible, the option to draw the hidden edges as dashed lines based on the 3d view view angles control the smoothness of connectivity at vertices (getting right-angled bends or curved ones). \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{3d,calc,perspective} \begin{document} \begin{tikzpicture}[3d view={140}{40}] \begin{scope}[->, black, thin] \draw (0,0,0)-- (3,0,0) node[anchor=north east]{$x$}; \draw (0,0,0) -- (0,3,0) node[anchor=north west]{$y$}; \draw (0,0,0) -- (0,0,3) node[anchor=south]{$z$}; \end{scope} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \coordinate (start1) at (3,1,2); \coordinate (end1) at (3,1,-2); \draw[canvas is xy plane at z=2, fill=blue!10] ($(start1) - (0.25,0.5)$) rectangle ($(start1) + (0.25,0.5)$); \coordinate (v1) at ($(start1)+(0,0,1)$); \coordinate (v2) at ($(v1)+(-2,0,0)$); \coordinate (v3) at ($(v2)+(0,0,-6)$); \coordinate (v4) at ($(v3)+(2,0,0)$); \draw[blue] (start1) -- (v1) -- (v2) -- (v3) -- (v4) -- (end1); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \coordinate (start2) at (-3,1,2); \coordinate (end2) at (-3,1,-2); \draw[canvas is xy plane at z=2, fill=red!10] (start2) circle (0.25); \coordinate (v11) at ($(start2)+(0,0,1)$); \coordinate (v22) at ($(v11)+(2,0,0)$); \coordinate (v33) at ($(v22)+(0,0,-6)$); \coordinate (v44) at ($(v33)+(-2,0,0)$); \draw[red] (start2) -- (v11) -- (v22) -- (v33) -- (v44) -- (end2); \end{tikzpicture} \end{document}