LaTeX.org is a TeX and LaTeX forum, suited for LaTeX beginners and experts who help them. Here are the newest questions. Sorry that the code formatting is not preserved through the RSS feed.

  • General • Re: no colors with moderncv and font issues
    by Stefan Kottwitz on June 24, 2025 at 5:32 pm

    I agree, that looks like a bug, I suspect in the moderncv code because it's only related to the order if it own commands. Like if \moderncvstyle already applies "color" values and later changes don't have an effect. On an older LaTeX installation I also saw it working fine in both orders.StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 7:32 pm

  • General • Re: no colors with moderncv and font issues
    by canuzzi on June 24, 2025 at 4:31 pm

    Thank you a lot. That worked for me too - was the order of the original template - so something must have changed in latex here. Smells a little like a bug. The order should not be important for this. Also this was working for me with older latex versions.Statistics: Posted by canuzzi — Tue Jun 24, 2025 6:31 pm

  • General • Re: no colors with moderncv and font issues
    by Stefan Kottwitz on June 24, 2025 at 3:12 pm

    Hi Enzo,thanks to your example code, I could test it. I found that it works if you reverse the order of commands and choose the color before the style:Code: \moderncvcolor{green}\moderncvstyle{classic} StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 5:12 pm

  • General • Re: no colors with moderncv and font issues
    by canuzzi on June 24, 2025 at 2:48 pm

    Thanks for the reply and the greetings!The code is not changed from the default of the package - just the information is added:Code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% "ModernCV" CV and Cover Letter% LaTeX Template% Version 1.1 (9/12/12)%% This template has been downloaded from:% http://www.LaTeXTemplates.com%% Original author:% Xavier Danaux (xdanaux@gmail.com)%% License:% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)%% Important note:% This template requires the moderncv.cls and .sty files to be in the same % directory as this .tex file. These files provide the resume style and themes % used for structuring the document.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%----------------------------------------------------------------------------------------%PACKAGES AND OTHER DOCUMENT CONFIGURATIONS%----------------------------------------------------------------------------------------\documentclass[11pt,a4paper,sans,german]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman\moderncvstyle{classic} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'\moderncvcolor{green} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'\usepackage{lmodern}\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template%\usepackage[T1]{fontenc}\usepackage[scale=0.75]{geometry} % Reduce document margins%----------------------------------------------------------------------------------------%NAME AND CONTACT INFORMATION SECTION%----------------------------------------------------------------------------------------\firstname{Enzo} % Your first name\familyname{Canuzzi} % Your last name% All information in this block is optional, comment out any lines you don't need\title{Curriculum Vitae}\address{Foobargasse 420}{1660 Wien}\mobile{+43 666 666 66 66}\email{canuzzi@foo.net}\photo[70pt][0.4pt]{../bewerbungsphotos/niels_neu}%----------------------------------------------------------------------------------------\begin{document}\makecvtitle % Print the CV title\section{Pers\"onliche Daten}\cvitem{Geburtsdatum}{11.01.1973}\cvitem{Geburtsort}{J\"ulich, Deutschland}\cvitem{Staatsan- geh\"origkeit}{Deutsch}%----------------------------------------------------------------------------------------%EDUCATION SECTION%----------------------------------------------------------------------------------------\section{Ausbildung}\cventry{1993--1999}{Diplom Physiker}{Foo Universität}{Bar}{\textit{Deutschland}}{} % Arguments not required can be left empty\cventry{1984--1992}{Abitur}{Gymnasium Foobarf }{Foo}{\textit{Deutschland}}{}\section{Diplom}\cvitem{Titel}{\emph{Abbildung und Schaltung von ferroelektrischen Dom\"anen mittels spannungsmodulierter Rasterkraftmikroskopie}}\cvitem{Betreuer}{Professor Dr. Foo Bar}%----------------------------------------------------------------------------------------%WORK EXPERIENCE SECTION%----------------------------------------------------------------------------------------\section{Berufserfahrung}\cventry{01/2021--10/2022}{Softwareentwickler}{\textsc{Bar}}{Wien}{\"Osterreich}{Java Entwicklung auf Basis von Microservices und Spring Boot\begin{itemize}\item Ablösung eines Altsystemes (Docker, SQL, Kafka)\end{itemize}}\cventry{10/2016--11/2020}{Lead Softwareentwickler}{\textsc{Foo}}{Wien}{\"Osterreich}{Entwicklung, Beratung \& Third Level Support und Datenaufbereitung\begin{itemize}\item Umstellung von Multilayer auf Microservices (SPA) \item Deployments und Datenaufbereitung auf Kundensystemen (Websphere, JBoss, SQL)\item Weiterentwicklung von Klassifizierungssoftware (Java, eCl@ss)\end{itemize}}%----------------------------------------------------------------------------------------%COMPUTER SKILLS SECTION%----------------------------------------------------------------------------------------\section{Skill Matrix}\cvskillhead{}\cvskillentry{Sprachen}{5}{Java}{20}{Von SOAP zu Spring Boot}\cvskillentry{}{5}{c}{20}{Ich liebe Funktionspointer}\cvskillentry{}{4}{TCL}{5}{Nützliche Skriptsprache insb. mit TCL/expect}\homepage{https://www.hackerrank.com/profile/canuzzi}{} % The first argument is the url for the clickable link, the second argument is the url displayed in the template - this allows special characters to be displayed such as the tilde in this example%----------------------------------------------------------------------------------------%LANGUAGES SECTION%----------------------------------------------------------------------------------------\section{Sprachen}\cvlistdoubleitem{Deutsch: Muttersprache}{Englisch: Gut in Schrift und Wort}%----------------------------------------------------------------------------------------%INTERESTS SECTION%----------------------------------------------------------------------------------------\section{Interessen und Hobbies}\renewcommand{\listitemsymbol}{-~} % Changes the symbol used for lists\cvlistdoubleitem{Trekking}{Wissenschaft}\cvlistdoubleitem{Wintersport}{Elektronik}\section{Mitgliedschaften}\renewcommand{\listitemsymbol}{-~} % Changes the symbol used for lists\cvlistdoubleitem{\"Osterreichischer Alpenverein}{Deutsche Physikalische Gesellschaft}\cvlistdoubleitem{Happy Lab}{}\end{document}The Name should be coloured, the lines before the sections and the skill matrix value too:Statistics: Posted by canuzzi — Tue Jun 24, 2025 4:48 pm

  • General • Re: no colors with moderncv and font issues
    by Stefan Kottwitz on June 24, 2025 at 11:47 am

    Hi Canuzzi,welcome to the forum!The warnings happen because you are using fancy font shapes / combinations which are not available.ams_cv.tex 99 LaTeX Font Warning: Font shape `T1/lmss/m/scsl' undefined using `T1/lmss/m/sc' instead on input line 99.This means, small caps slanted (scsl) font is not available, so small caps (sc) is used. If that looks ok for you, don't worry. If you need it, use the kpfonts package instead of lmodern, for example.Regarding the color, I can only tell you if I see the code and the output. Maybe post the code here, and a screenshot as attachment. You can use dummy placeholder text instead of your CV data.StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 1:47 pm

  • Graphics, Figures & Tables • Re: Newbie needs help in basic table formatting
    by Stefan Kottwitz on June 24, 2025 at 11:40 am

    Small comment, please always use the "Code"-Button when posting Code here (editor button with </> symbol when writing), for formatting and also direct online compiling. I edited it in the previous code for you.The preamble doesn't tell me anything about what happened in or after the table. Please always post a small example with the issue, so it can be tested and fixed. Also in the first examples, \begin{document} and \end{document} were missing, but I quickly added that to make the code snippets compilable.Show some code that produces the issue (when I click the "Run LaTeX here" button) and I'm sure I can fix it.StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 1:40 pm

  • Graphics, Figures & Tables • Re: Newbie needs help in basic table formatting
    by dlongddsma on June 24, 2025 at 10:49 am

    THANK YOU!Now how do I put the text that follow back to normal? Before, it was full justified, double-spaced, and a bigger font. Now it's fully centered, single-spaced, and note-sized font. Here is the original prematter (is that right? I can't remember.) for you.Code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LaTeX book template %%%% Author: Amber Jain (http://amberj.devio.us/) %%%% License: ISC license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\documentclass[letter,12pt]{book}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage{lmodern}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Source: http://en.wikibooks.org/wiki/LaTeX/Hyperlinks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\usepackage{hyperref}\usepackage{graphicx}\usepackage{ragged2e}\usepackage{blindtext}\usepackage{dirtytalk}\usepackage{csquotes}\usepackage{longtable}\usepackage{tabularx}\usepackage{threeparttablex}\usepackage{threeparttable}\usepackage{tablefootnote}\usepackage{environ}\usepackage[english]{babel}\usepackage[notes,backend=biber]{biblatex-chicago}}\bibliography{sample}\documentclass{article}\usepackage{graphicx} % Required for inserting images\usepackage{booktabs}\usepackage{caption}\captionsetup[table]{labelformat=simple,justification=raggedright,singlelinecheck=false,margin=-0.6cm}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 'dedication' environment: To add a dedication paragraph at the start of book %% Source: http://www.tug.org/pipermail/texhax/2010-June/015184.html %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\newenvironment{dedication}{ \cleardoublepage \thispagestyle{empty} \vspace*{\stretch{1}} \hfill\begin{minipage}[t]{0.66\textwidth} \raggedright}{ \end{minipage} \vspace*{\stretch{3}} \clearpage}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter quote at the start of chapter %% Source: http://tex.stackexchange.com/a/53380 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\makeatletter\renewcommand{\@chapapp}{}% Not necessary...\newenvironment{chapquote}[2][2em] {\setlength{\@tempdima}{#1}% \def\chapquote@author{#2}% \parshape 1 \@tempdima \dimexpr\textwidth-2\@tempdima\relax% \itshape} {\par\normalfont\hfill--\ \chapquote@author\hspace*{\@tempdima}\par\bigskip}\makeatother%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% First page of book which contains 'stuff' like: %% - Book title, subtitle %% - Book author name %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Book's title and subtitle\title{\Huge \textbf{MY WORKING PAPER} \footnote{This is a footnote.} \\ \huge Which is Driving Me Crazy\footnote{This is yet another footnote.}}% Author\author{\textsc{Dlongddsma}\thanks{\url{www.example.com}}}\setlength\LTleft\parindent \setlength\LTright\fill\begin{document}\frontmatter\maketitle%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Add a dedication paragraph to dedicate your book to someone %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{dedication}Dedicated to my son\end{dedication}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Auto-generated table of contents, list of figures and list of tables %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\tableofcontents\listoffigures\listoftables\mainmatter%%%%%%%%%%%% Preface %%%%%%%%%%%%\chapter*{Preface}This gives me what I want, so I either need to "resume" my original formatting, or "exit" my new formatting.Sorry for the troubleDLStatistics: Posted by dlongddsma — Tue Jun 24, 2025 12:49 pm

  • Viewers for PDF, PS, and DVI • Re: is there a LaTex based web server outhere?
    by Stefan Kottwitz on June 24, 2025 at 9:18 am

    Hi Pedrosk,welcome to the forum!I use TeXlive.net on my web servers. Like here:Code: \documentclass[tikz,border=10pt]{standalone}\usepackage{smartdiagram}\smartdiagramset{font=\sffamily}\begin{document}\smartdiagram[circular diagram:clockwise]{ Define styles, Position nodes, Add arrows, Add labels, Review and refine}\end{document}Would this look ok for you?StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 11:18 am

  • Graphics, Figures & Tables • Re: Newbie needs help in basic table formatting
    by Stefan Kottwitz on June 24, 2025 at 8:58 am

    Hi,welcome to the forum!With \multicolumn, you just forgot to put the third argument in curly braces too:Code: \multicolumn{2}{l}{...text...}Also, you can use a p column here instead of l.To adjust captions, I would highly recommend using the caption package. Here in your example:Code: \documentclass{article}\usepackage{graphicx} % Required for inserting images\usepackage{booktabs}\usepackage{caption}\captionsetup[table]{labelformat=simple,justification=raggedright,singlelinecheck=false,margin=-0.6cm}\usepackage{longtable}\begin{document}\centering\scriptsize\label{tab:label}\begin{longtable}{p{4cm}p{8.5cm}}\caption{EXAMPLES OF BIOLOGICAL WARFARE THROUGH HISTORY}\\\hlineTime/Year & Event\\\hlinePre-historic times & Melanesian (Vanuatu) tribesman used arrowheads contaminated with tetanus\\14th century BC & Hittite army sends rams infected with tularemia to their enemies\\\hline\multicolumn{2}{p{12.9cm}}{Adapted from Oliveira, Manuela, Gabriella Mason-Buck, David Ballard, Wojciech Branicki, and António Amorim. 2020. “Biowarfare, Bioterrorism and Biocrime: A Historical Overview on Microbial Harmful Applications.”\textit{Forensic Science International} 314 (September): 1–12. https://doi.org/10.1016/j.forsciint.2020.110366 and Long, Daniel E. \textit{WAR IS HELL: The Rise of Total War from Napoleon to the Present} (Mechanicsburg, PA: Stackpole Books, 2025).}\end{longtable}\end{document}StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 24, 2025 10:58 am

  • General • no colors with moderncv and font issues
    by canuzzi on June 24, 2025 at 8:17 am

    Hello board,I used a long time moderncv for my CVs. Now I had a new computer and a new Latex Dist installation and the colors are missing an everything is black/white/grey. I tried the tex live and miktex both with the same issue. Another issue is, that I get a lot of font warnings:ams_cv.tex 99 LaTeX Font Warning: Font shape `T1/lmss/m/scsl' undefined using `T1/lmss/m/sc' instead on input line 99.ams_cv.tex 99 LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <10.95> not available Font shape `T1/lmr/m/sc' tried instead on input line 99.ams_cv.tex 105 LaTeX Font Warning: Font shape `T1/lmss/m/scsl' undefined using `T1/lmss/m/sc' instead on input line 105.ams_cv.tex 112 LaTeX Font Warning: Font shape `T1/lmss/m/scsl' undefined using `T1/lmss/m/sc' instead on input line 112....Hopefully somebody can help Statistics: Posted by canuzzi — Tue Jun 24, 2025 10:17 am

  • Graphics, Figures & Tables • Newbie needs help in basic table formatting
    by dlongddsma on June 24, 2025 at 5:06 am

    To anybody that answers me plea for help:As the subject line says, I just started using LaTeX the past few weeks. I am trying to create tables, but cannot. I have looked everywhere I can think on the internet to try to find answers, and some of them are close, but none are perfect. So it looks almost perfect, the problem is I would like the table name and number to be further left justified. I put the {l} code in there, but it's not as far justified as I would like (this is a minor problem). Second, and more important, I cannot get the very bottom row to put my source information in there correctly. I can either have the information in first, left, cell, but the info is crammed into the left, small cell. OR, I use the \multicolumn command to combine the two cells, but then the cell content doesn't scroll. This code gives me the two cells at the end with the reference info crammed into the first cell (Shown in first pic)(I'm using the "longtable" package because other tables are very long).Code: \documentclass{article}\usepackage{graphicx} % Required for inserting images\usepackage{booktabs}\usepackage{longtable}\begin{document}\centering\scriptsize\label{tab:label}\begin{longtable}{p{4cm}p{8.5cm}}\caption{l}{EXAMPLES OF BIOLOGICAL WARFARE THROUGH HISTORY}\\\hlineTime/Year & Event\\\hlinePre-historic times & Melanesian (Vanuatu) tribesman used arrowheads contaminated with tetanus\\14th century BC & Hittite army sends rams infected with tularemia to their enemies\\\hlineAdapted from Oliveira, Manuela, Gabriella Mason-Buck, David Ballard, Wojciech Branicki, and António Amorim. 2020. “Biowarfare, Bioterrorism and Biocrime: A Historical Overview on Microbial Harmful Applications.”\textit{Forensic Science International} 314 (September): 1–12. https://doi.org/10.1016/j.forsciint.2020.110366 and Long, Daniel E. \textit{WAR IS HELL: The Rise of Total War from Napoleon to the Present} (Mechanicsburg, PA: Stackpole Books, 2025).\end{longtable}\end{document}And this code combines the cells, but with no scrolling and the title mysteriously dissapeared.(Second pic)Code: \documentclass{article}\usepackage{graphicx} % Required for inserting images\usepackage{booktabs}\usepackage{longtable}\begin{document}\centering\scriptsize\label{tab:label}\begin{longtable}{p{4cm}p{8.5cm}}\caption{l}{EXAMPLES OF BIOLOGICAL WARFARE THROUGH HISTORY}\\\hlineTime/Year & Event\\\hlinePre-historic times & Melanesian (Vanuatu) tribesman used arrowheads contaminated with tetanus\\14th century BC & Hittite army sends rams infected with tularemia to their enemies\\\hline\multicolumn{2}{l}Adapted from Oliveira, Manuela, Gabriella Mason-Buck, David Ballard, Wojciech Branicki, and António Amorim. 2020. “Biowarfare, Bioterrorism and Biocrime: A Historical Overview on Microbial Harmful Applications.”\textit{Forensic Science International} 314 (September): 1–12. https://doi.org/10.1016/j.forsciint.2020.110366 and Long, Daniel E. \textit{WAR IS HELL: The Rise of Total War from Napoleon to the Present} (Mechanicsburg, PA: Stackpole Books, 2025).\end{longtable}\end{document}Help? What do I need to do? And thank you for your help.DLStatistics: Posted by dlongddsma — Tue Jun 24, 2025 7:06 am

  • Viewers for PDF, PS, and DVI • is there a LaTex based web server outhere?
    by pedrosk on June 24, 2025 at 4:04 am

    This might be a silly idea and there might be a good reason it doesn't exist. However, if there is a MD based webserver like Hugo, there should be a Tex based one.... I did noticed there is "Overleaf" but that is a online editor ... Is there to anyone's knowledge a Tex Based server that can be installed on premises or even a as a service?Thank you.pedroskStatistics: Posted by pedrosk — Tue Jun 24, 2025 6:04 am

  • Comments & Wishes • Re: Spam in Private Messages
    by Stefan Kottwitz on June 20, 2025 at 11:53 am

    Hi,it's good that you have another email address. Seeing that Yandex is Russian and that country is running a war in Europe and is internationally sanctioned for this, I don't start connecting with it. I hope you can understand that.StefanStatistics: Posted by Stefan Kottwitz — Fri Jun 20, 2025 1:53 pm

  • Comments & Wishes • Re: Spam in Private Messages
    by SJIsles on June 20, 2025 at 11:37 am

    Hi Stefan,Unfortunately, it seems one of the solutions is to completely ban domains. It is not the domain that spams, but the user. I am using Yandex.com as my main email service. I had left Gmail some years ago. But for the sake of this forum, I have had to reopen my Gmail account. This seems a little too drastic and troublesome to me. Since it is obvious that I have been a member here for a while and certainly did not spam, can we not have the Yandex.com domain allowed again. I hate having to maintain another email account just for this purpose. If somehow this is not possible, may I request that I my specific email from Yandex to be added to some exclusion list if that exists? I can send it to you via a private message. Let me know. Thanks.Best regards,S. J. Isles (Mr)Statistics: Posted by SJIsles — Fri Jun 20, 2025 1:37 pm

  • Theses, Books, Title pages • Re: kaobook how-to : toc_thema auto generated and stored in latex document
    by Stefan Kottwitz on June 19, 2025 at 6:00 pm

    Hi,welcome to the forum!Is this a question, or an opinion? What do you mean by this post? So we can understand.StefanStatistics: Posted by Stefan Kottwitz — Thu Jun 19, 2025 8:00 pm

  • Theses, Books, Title pages • kaobook how-to : toc_thema auto generated and stored in latex document
    by hugowl on June 18, 2025 at 2:30 pm

    Kaobook template : At first, document.tex with many chapters. At second, Each chapter has a section*{thema} and a lot of sections, susbsection,susbsubsections also, thema contains a short description of what will be explored in that chapter. At third a very detailed toc is generated by \tableofcontents, at fourth: "how to" compile a toc_thema with chapter number on the first line, the thema : { thema short description} would like to get that in an automated way and have included in chapter zero .Statistics: Posted by hugowl — Wed Jun 18, 2025 4:30 pm

  • General • Re: single smart quotes
    by latex_fun on June 18, 2025 at 1:14 pm

    Thanks!Statistics: Posted by latex_fun — Wed Jun 18, 2025 3:14 pm

  • General • Re: single smart quotes
    by Stefan Kottwitz on June 18, 2025 at 1:12 pm

    Hi,use the \textquote* command:Code: \textquote*{quoting this} following word hereThis solves both points.StefanStatistics: Posted by Stefan Kottwitz — Wed Jun 18, 2025 3:12 pm

  • General • single smart quotes
    by latex_fun on June 18, 2025 at 12:30 am

    Hi again Stefan!Is there an easy way to do single smart quotes?I'm currently trying \usepackage[autostyle]{csquotes} but:1. Doesn't give smart quotes, just straight lines;2. Words immediately following the right quote don't seem to get a leading space (so the code below renders like; like 'quoting this'following ...).Code: \textquotesingle quoting this\textquotesingle following word here Thank youpreamble etc:Code: \documentclass{scrartcl}\usepackage{float}\usepackage{amsmath}\usepackage{amsthm}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{appendix}\usepackage{braket}\usepackage{fancyvrb}\usepackage{graphicx}\usepackage{listings}\usepackage{pdfpages}\usepackage{tikz}\usepackage{mathrsfs}\usepackage{eufrak}\usepackage{yfonts}\usepackage{lmodern}\usepackage{principia}\usepackage[english]{babel}\usepackage[autostyle]{csquotes}\usepackage{changepage}\usetikzlibrary{trees}\usetikzlibrary{babel}\usepackage{verbatim}\setcounter{secnumdepth}{5}\setcounter{secnumdepth}{5}\lstset{language={[LaTeX]TeX}, escapeinside={{(*@}{@*)}}, gobble=0, stepnumber=1,numbersep=5pt, numberstyle={\footnotesize\color{gray}},%firstnumber=last, breaklines=true, framesep=5pt, basicstyle=\small\ttfamily, showstringspaces=false, keywordstyle=\ttfamily\textcolor{blue}, stringstyle=\color{orange}, commentstyle=\color{black}, rulecolor=\color{gray!10}, breakatwhitespace=true, showspaces=false, backgroundcolor=\color{gray!15}}%------------------------------------------------------------% Theorem like environments%\newtheorem{theorem}{Theorem}\theoremstyle{plain}%more of this stuff\numberwithin{equation}{section}\providecommand{\versionnumber}{0.0} \newcommand*{\titleGM}{\begingroup \hbox{ \hspace*{0.2\textwidth} \hspace*{0.05\textwidth} \parbox[b]{0.75\textwidth}{ {\noindent\huge\bfseries Great title } \vspace*{0.5cm} \newline {\noindent\huge\bfseries yup}\\[2\baselineskip] {\normalsize \textit{More title}}\\[4\baselineskip] {\Large \textsc{Author name}} \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline \newline {\noindent \copyright\ date name} \newline \newline %\newline {\noindent Version \versionnumber} % Publisher and logo }} \endgroup}\listfiles\begin{document}\pagenumbering{gobble}\begin{titlepage} \titleGM \thispagestyle{empty}\end{titlepage}% put some text here but deleted ...\newpage\addtocontents{toc}{\protect\enlargethispage{\baselineskip}} {\small \tableofcontents} \newpage \pagenumbering{arabic} \section{my first section} \textquotesingle quoting this\textquotesingle following word here \section{final section} that's all\end{document}Statistics: Posted by latex_fun — Wed Jun 18, 2025 2:30 am

  • Text Formatting • Re: text from body getting dragged into a footnote
    by latex_fun on June 17, 2025 at 8:16 am

    Hi Stefan,Okay, thanksStatistics: Posted by latex_fun — Tue Jun 17, 2025 10:16 am

  • Text Formatting • Re: text from body getting dragged into a footnote
    by Stefan Kottwitz on June 16, 2025 at 2:35 pm

    That may happen if the footnote contains too much text for the available space, or there are unusual commands on the page, such as \enlargethispage or \vspace tweaks. Hard to say without seeing it.Perhaps you can find a warning in the logfile for that position?I would not add a manual page break. However, in the final stage, when nothing is expected to change anymore, such as right before you deliver the document, manual adjustments are okay to make it perfect, as it doesn't interfere with later changes.StefanStatistics: Posted by Stefan Kottwitz — Mon Jun 16, 2025 4:35 pm

  • Text Formatting • text from body getting dragged into a footnote
    by latex_fun on June 16, 2025 at 9:08 am

    Hi, Probably sort itself out by final copy, but with the current draft I have text from the body of the page overlapping with a footnote.The footnote is from the first line of the page currently. With edits (new text getting added earlier in the document) that line will probably get pushed down the page and perhaps the problem will be solved. Just in case ... should I add a page break in the body of the above where the overlap starts (which I might subsequently need to remember to delete)? Is there a smarter option?(Couldn't dig out my old account details just now so new account, and sorry if this belongs in some other section - page layout maybe?)ThanksStatistics: Posted by latex_fun — Mon Jun 16, 2025 11:08 am

  • Conversion Tools • PDFtoLaTeX.app
    by yashilf on June 15, 2025 at 6:34 pm

    Hey everyone ,I’m not here to advertise or promote anything—just genuinely looking for feedback from the LaTeX and academic community.I recently built a tool called PDFtoLaTeX.app that converts PDFs (like resumes, papers, reports) into structured LaTeX code. It works directly in the browser and supports Overleaf integration. Key features:Converts PDF to LaTeX with fairly accurate formattingPreserves math, tables, images as LaTeX equivalentsLets you choose from 700+ LaTeX templatesOne-click Overleaf exportFree for up to 10-page PDFs (no signup needed)Premium option exists, but the core is usable without payment--- Would love feedback on:How well it handles your typical PDFs (equations, tables, etc.)Whether the LaTeX output is usable or needs cleanupAny bugs or confusing UX you noticeSuggestions to improve it for real-world use--- Try it here: https://pdftolatex.appThanks in advance! Feel free to drop your feedback here or DM me.I really appreciate your time—this is built for people like you, so your input makes it better.Statistics: Posted by yashilf — Sun Jun 15, 2025 8:34 pm

  • Math & Science • Re: Missing \endscname in tcolorbox theorem
    by Stefan Kottwitz on June 14, 2025 at 6:53 pm

    Hi Francesco,the tcolorbox theorem just requires 2 mandatory arguments (title and reference label), likeCode: \begin{importante}{Desacople}{desacople}StefanStatistics: Posted by Stefan Kottwitz — Sat Jun 14, 2025 8:53 pm

  • Math & Science • Missing \endscname in tcolorbox theorem
    by Francesco_Luligo on June 14, 2025 at 3:37 pm

    Hello, I don´t know how to fix this error. I read it can be due to using '\' inside labels, which I didn´t.Is it because I can´t use equations inside the theorem? That would make them quite useless for me. They print okay alright. But my code is full of this kind of errors, both in overleaf and TexStudio ( I´ve updated the packages to their newest version in MikTex).Also, if I don´t include the command '\leavevmode' the theorem leaves out from the output the first letter of my text, How can I fix that directly from the definition of the theorem?MWE:Code: \documentclass[oneside]{book}\usepackage[spanish]{babel}\usepackage{amsmath, amssymb, amsfonts}\usepackage[most]{tcolorbox} % Cajas\tcbuselibrary{breakable, skins, listings, theorems}\newcommand{\runo}{\mathbf{r_1}}\newcommand{\rdos}{\mathbf{r_2}}\newcommand{\rv}{\mathbf{r}}\newcounter{importante}\newtcbtheorem[use counter=importante]{importante}{¡Importante!}{colback=magenta!3!white, colframe=magenta!80!black, fonttitle=\bfseries,colbacktitle=magenta!15!white, coltitle=black,enhanced, breakable, attach boxed title to top center = {yshift=-2mm},title after break = {}, boxed title style={colframe=magenta!80!black, arc=3mm},fontupper=\normalfont, before upper={\parindent10pt}}{importante}\begin{document}\begin{importante}{Desacople}\leavevmode Al resolver este Lagrangiano las ecuaciones de movimiento y las órbitas que hallamos son para la distancia entre los dos cuerpos, es decir, el cambio de $\rv = \rdos-\runo$. Entonces, ¿cómo hallamos la ecuación de movimiento para cada uno de los cuerpos?Una vez hallado $\rv$ es sencillo sustituir en los pasos $2$ y $3$ de la reducción para hallar $\runo$ y $\rdos$.\end{importante}\end{document}Output:Missing \endcsname inserted<to be read again> \unhbox l.12 ...idb@x }{{1}{1}{Desacople}{importante.1}{}} The control sequence marked <to be read again> shouldnot appear between \csname and \endcsname.Extra \endcsname.\@newl@bel ... \bbl@tempa \csname #1@#2\endcsname \def \bbl@tempb {#3}\@safe...l.12 ...idb@x }{{1}{1}{Desacople}{importante.1}{}} I'm ignoring this, since I wasn't doing a \csname.Please help me, I don´t understand this package Statistics: Posted by Francesco_Luligo — Sat Jun 14, 2025 5:37 pm

  • Text Formatting • Align title and author to the right
    by FelipeLatex on June 13, 2025 at 11:29 pm

    Hi, I´m quite new at Latex. Can't set the title and author to be right aligned to the right (instead of centered). Here is my code and thanks!:Code: \documentclass[10.5pt]{article} % Font size (can be 10pt, 11pt or %diazessay\usepackage[demo]{graphicx}\usepackage[export]{adjustbox}\usepackage{xcolor} \usepackage{cite}\usepackage{hyperref}\hypersetup{colorlinks=true, citecolor=blue, citebordercolor=red}\usepackage{geometry}\geometry{%letterpaper, % a4paperleft= 30 mm,right= 30 mm,top= 15 mm,bottom= 20 mm,}%-------------------------Here starts title and author----------------------------------\title{\textbf{Ontología y "La Vida Intensa" } \\ {\Large\itshape Ensayo de Crítica Teórica}} % Title and subtitle\author{\textbf{Felipe Garrido Grove} \\ \textit{Diplomado: Encrucijadas del Pensamiento Crítico} \\ \textrm{Facultad de Filosofía} \\ \textrm{Instituto de Estética - Instituto de Filosofía}\\ \textit{}\\ \textit{13 de Junio, 2025}} % Author and institution\date{} % Date, use \date{} for no date\begin{document}\maketitle % Print the title section%disminuir espacio de imagen hacia la izquierda\hspace*{-7mm}\includegraphics[scale=0.4, right]{uc.png}\vspace{30pt} % Vertical whitespace between the abstract and first section%----------------------------------------------------------------------------------------%ESSAY BODY%----------------------------------------------------------------------------------------\section*{ANÁLISIS Y CRÍTICA}La Vida Intensa (2019) de Tristán García, se enmarca dentro de la filosofía contemporánea, en la corriente filosófica de Ontología Orientada a Objeto y bajo el aparentemente creciente interés crítico desde el mundo tanto filosófico, como antropológico, como sociológico, sobre el estilo de vida actual contemporáneo del mundo occidental y su vertiginosa tendencia a la satisfacción personal en base a la inmediatez; lo cual el autor lo relaciona con una búsqueda inalcanzable de un concepto que define como “intensidad” y que amenaza como un detrimento social del hombre moderno.“Sin cesar nos prometen intensidades. Nacemos y crecemos expuestos a la búsqueda de sensaciones fuertes que han de justificar nuestra vida”\cite{1} comienza el texto, resumiendo quizás en una gran frase uno de los problemas principales que desarrolla el autor, y a su vez sacando a la luz una cuestión social bastante compleja, que alude a la pérdida de un sentido o norte en la vida, y relegándola solamente a satisfacer repetida e incansablemente momentos “intensos” pero sin un norte o fin de largo plazo, lo cual amenaza con crear “Individuos frustrados”\cite{2} y sin mayor sentido profundo de la vida.“Vivir, por tanto, era ser eléctrico”\cite{3} afirma ya en el desarrollo del concepto de intensidad, haciendo analogía con la electricidad misma, y como esta electricidad al ser descubierta y “controlable” por el hombre científico, evoca a una característica esencial sobre lo que conforma a los seres que están vivos y describiendo como esta electricidad es un combustible esencial para poder tener una vida sensitiva; dado que los seres vivos dependemos de esta electricidad para generar estímulos neurológicos. Entonces, mayor electricidad significaría por ende mayores estímulos mentales y por ende mayor cantidad de vida, lo cual García ilustra como un “ideal de juventud intensa y eléctrica”\cite{4} bajo una caricatura sarcástica del “joven rockero”\cite{5} representativa del individuo en búsqueda inalcanzable de intensidades y sensaciones para engloriar superficialmente su vida, pero sin un fin sincero y genuino de ella misma.“La intensidad se convertía en un ideal ético”\cite{6} definiendo uno de los principales dilemas de esta intensidad instaurada en la sociedad, lo cual a su vez permite dar luces de que para atacar la raíz del conflicto, se debería generar un ideal ético-moral mayor que erradique con fuerza al actual ideal. No obstante, esta idea de solución en base a una “ética contemporánea mayor”\cite{7} , no la desarrolla con fundamentos, sino que sólo con mayor crítica al problema mismo el que finalmente define como un hombre que “no ha querido ser sabio”\cite{8} , pero sin describir justificadamente soluciones prácticas, y simplemente dando aluces de “salvación”\cite{9} a la búsqueda de una “verdadera vida”\cite{10} o verdad, basada en la espiritualidad y con gran énfasis en diferentes promesas de diferentes religiones sobre como alcanzar este estado de mayor sabiduría espiritual, apelando a “mantenerse fuerte”\cite{11} éticamente y concebir una mejor forma de vivir, pero insisto, sin dar soluciones prácticas a nivel antropológico-social.No obstante, el mismo autor reconoce que el problema no tiene soluciones sencillas o incluso habla de “no tener salida”\cite{12} , lo cual lamentablemente pareciera ser una condición bastante real de la actualidad social -al menos del mundo occidental- y por ende una condición ya estructural de nuestra sociedad moderna, lo cual amenaza con un deterioro continuo no solamente del ser humano como ser tanto racional como espiritual, sino que también del entorno global que habitamos.En términos morales, el dilema de la “intensidad” genera un circulo vicioso, que socaba de manera perpetua las bases morales basadas en costumbres, creencias y valores estructuradas con fines espirituales de mayor profundidad, reemplazando un ética de sentido de largo plazo, por un ética de la inmediatez; y la inmediatez no perdura por ende nunca es sino que fue, y es siempre inmediata, pasajera y deja de existir al ser sustituida por una nueva inmediatez que a su vez busca nuevamente no ser, dado que busca nuevamente la nueva inmediatez. Finalmente, nunca es. Y si nunca es, no existe. Y si no existe es nada, que es justamente lo que aterroriza pensar que podamos llegar a ser: Nada.%----------------------------------------------------------------------------------------%BIBLIOGRAPHY%----------------------------------------------------------------------------------------\renewcommand\refname{Referencias}\bibliographystyle{elsarticle-num}\begin{thebibliography}{999}\bibitem{1}Introducción, La Vida Intensa, Tristán García\bibitem{2}Introducción, La Vida Intensa, Tristán García\bibitem{3}La promesa de la ilustración eléctrica, La Vida Intensa, Tristán García\bibitem{4}El Rockero, un adolescente electrificado, La Vida Intensa, Tristán García\bibitem{5}El Rockero, un adolescente electrificado, La Vida Intensa, Tristán Garcíaa\bibitem{6}Contra el aburguesamiento de las intensidades, La Vida Intensa, Tristán García\bibitem{7}Concepto definido por Felipe Garrido (Autor presente crítica), dentro de crítica a La Vida Intensa\bibitem{8}Como sabiduría, La Vida intensa, Tristán García\bibitem{9}Como salvación, La Vida intensa, Tristán García\bibitem{10}Como salvación, La Vida intensa, Tristán García\bibitem{11}La suerte, La Vida intensa, Tristán García\bibitem{12}Sin Salida, La Vida intensa, Tristán García\end{thebibliography}\end{document}Statistics: Posted by FelipeLatex — Sat Jun 14, 2025 1:29 am

  • BibTeX, biblatex and biber • How to do the ISO-690 (note, no abstract, French) style
    by postroutine on June 13, 2025 at 12:33 pm

    Hello,For a thesis work I am actually working on, I need to do cites and bibliography following the exact format ISO-690 (note, no abstract, French).The teachers are very strict on it.I try to obtaining it, it's almost a success, but I miss some points and need your help.Here is an example of bibliography entry of a webpage I need to replicate (I took it from the document of reference given by the teacher):BONJOUR, Jean-Daniel. Annuaire EPFL des principaux logiciels libres. Dans : Écolepolytechnique fédérale de Lausanne [en ligne]. 9 décembre 2020. [Consulté le 27décembre 2020]. Disponible à l’adresse : https://enacit.epfl.ch/logiciel-libre/.This bibliography should appear at the Bibliography section, but also as a footnote in the page where it is cited.Here is an example of a LaTeX document using it:Code: \documentclass{report}\usepackage[utf8]{inputenc}\usepackage[french]{babel}%% URL managment\usepackage{hyperref}\hypersetup{ colorlinks=true, linkcolor=black, urlcolor=black, citecolor=black}%% Bibliography support part\usepackage[ backend=biber, style=iso-numeric, citestyle=verbose-ibid, sorting=nty]{biblatex}\addbibresource{biblio.bib}\begin{document}\section{Citation de page web}Voici un exemple de citation d'une page web. \autocite{bonjour:epfl-principaux-logiciel-libre}\section{Bibliographie}\printbibliography\end{document}I use the ISO 690 biblatex style and autocite. Here is the bib file:Code: %% Exemple of web page@article { bonjour:epfl-principaux-logiciel-libre,author = {Bonjour, Jean-Daniel},title = {Annuaire EPFL des principaux logiciels libres.},journaltitle = {École polytechnique fédérale de Lausanne},date = {2020-12-09},url = {https://enacit.epfl.ch/logiciel-libre/},urldate = {2020-12-27}}In the generated PDF, I have this as footnote on the page where I cite the entry:Bonjour, Jean-Daniel. Annuaire EPFL des principaux logiciels libres. École polytech-nique fédérale de Lausanne [en ligne]. 2020 [visité le 2020-12-27]. Disp. à l’adr. : https ://enacit.epfl.ch/logiciel-libre/.Here, some point are not following the asked norm:- The name of the author is not in uppercase- It miss the word "Dans:" before the website name (journaltitle)- The publication date is incomplete (it miss the month and the day- In the visiting date, I got "visité le" instead of "Consulté le"- I get "Disp. à l’adr." instead of"Disponible à l’adresse"In the bibliography section of the generated PDF, I get:BONJOUR, Jean-Daniel. Annuaire EPFL des principaux logiciels libres.École polytechnique fédérale de Lausanne [en ligne]. 2020 [visité le 2020-12-27]. Disp. à l’adr. : https://enacit.epfl.ch/logiciel-libre/.Here, I get the same problems. To the exception of the name who is correctly in upper-case.How can I fix this ?Statistics: Posted by postroutine — Fri Jun 13, 2025 2:33 pm

  • LyX • Re: Announcing TyX - A LyX-like experience rewritten for Typst and the modern era
    by noamzaks on June 8, 2025 at 9:52 am

    Wow!Statistics: Posted by noamzaks — Sun Jun 08, 2025 11:52 am

  • LyX • Re: Announcing TyX - A LyX-like experience rewritten for Typst and the modern era
    by Stefan Kottwitz on June 8, 2025 at 9:38 am

    Hi Noam,I see that Typst is like combining easier syntax (markdown-like) with a LaTeX-like quality of output with a smaller codebase, and so easier to install and web-friendly. Putting it into the backend omits the syntax/learning benefits while it keeps some limitations compared to full LaTeX. Just other words for my first thought. But I see that Typst may evolve and get many more capabilities over time. It depends a bit on the commercial success of the company, but having a company behind is also a support in development.Getting in LaTeX development today is super hard, I guess, seeing the LaTeX3 code and what the team does. A fresh start like Typst can help.While I wish that LyX would have been better in design and usability (when I tried it a long time ago), and TeXmacs could also have been a thing. For fun, here's LyX on my Blackberry phone in 2016. I wish TyX (and Typst) great success!StefanStatistics: Posted by Stefan Kottwitz — Sun Jun 08, 2025 11:38 am

  • LyX • Re: Announcing TyX - A LyX-like experience rewritten for Typst and the modern era
    by noamzaks on June 7, 2025 at 11:09 pm

    Hi Stefan,Thanks for the reply!From my perspective, as you say, TyX as a frontend poses several possible benefits over LyX (which some may view as downgrades…) among them:- Automatic updates by Tauri.- Be possible to use as a web editor without major struggles.- Smaller codebase more reliant on robust third-party libraries.As for the Typst vs. LaTeX backend, I believe Typst can be a good choice for some cases - here are some of the benefits I see:- Can be easily used by the Rust side of the app, or used as a “sidecar” binary as opposed to LaTeX installation and package management- Typst might be better suited for incremental compilation as it was built for that; Therefore, having “live preview” should be simpler- Typst syntax is (arguably) easier to learn and work withDoes this make sense?In any case, I know this forum is for LaTeX and LyX - looking forward to hearing your perspectives on this Statistics: Posted by noamzaks — Sun Jun 08, 2025 1:09 am

  • LyX • Re: Announcing TyX - A LyX-like experience rewritten for Typst and the modern era
    by Stefan Kottwitz on June 7, 2025 at 10:46 pm

    Hi Noam,welcome to the forum!Most of our users work with LaTeX, some with LyX, and we are happy to support LyX users as well, especially when it involves ERT.TyX sounds interesting. My first understanding is, that it may be a front-end/editor and the backend shall be Typst. When the backend is hidden anyway and doesn't bother the user, I would guess LaTeX would be the more capable backend. I understand that using Typst directly is a very different experience compared to using LaTeX. But what benefit does it have to let Typst run in the background, instead of a pdfLaTeX/XeLaTeX/LuaLaTeX? Would TyX have more features or different features that LyX cannot cover with LaTeX because Typst is behind? Or is it like: when you use ERT, it's Typst syntax and that's the benefit?StefanStatistics: Posted by Stefan Kottwitz — Sun Jun 08, 2025 12:46 am

  • LyX • Announcing TyX - A LyX-like experience rewritten for Typst and the modern era
    by noamzaks on June 7, 2025 at 9:54 pm

    Hey all,LyX has been prominent throughout the last decade of my life. It is amazing software which let me create math documents very quickly and has always shocked me with the depth of its design, both in source code and user experience.Recently I have discovered Typst, a new take on a typesetting system. I fell in love with it, and shortly after started pondering about how to develop TyX - a LyX-like experience rewritten for Typst and the modern era.TyX uses amazing libraries like MathLive, TipTap and Tauri among many others. You can read more about it on https://tyx-editor.com or view the source at https://github.com/tyx-editor/TyX.I would really love to hear your thoughts on this, your suggestions, anything you have to say and of course your contributions.NoamStatistics: Posted by noamzaks — Sat Jun 07, 2025 11:54 pm

  • General • Relatively new...
    by OBaryman on June 5, 2025 at 6:43 am

    Hi everyone,I'm relatively new to LaTeX and have started using it to create my school assignments. I'm not writing technical papers yet, but I’ve found that using LaTeX with Zotero in VS Code is much more accessible with a screen reader than most other setups I’ve tried.Since my discussion posts need to follow APA style, I’m using LaTeX to format both those and my full papers. That part is going well—but I’m running into trouble when I need to actually post what I’ve written.My school uses Brightspace, which allows discussion posts in either rich text or HTML. I have Pandoc installed, so I tried converting my .tex file to HTML and pasting the code into the discussion editor. The problem is: the references section doesn’t show up in the HTML output.I also tried copying from the PDF, but that strips all formatting.Here’s the command I’ve been using:pandoc main.tex \ --bibliography=references.bib \ --csl=apa.csl \ --standalone \ -o main.htmlIt creates the HTML file, but the references section is missing.Has anyone run into this before? Is there a way to get a clean HTML version of my LaTeX document with the references included so I can paste it into Brightspace?Any help would be appreciated!Statistics: Posted by OBaryman — Thu Jun 05, 2025 8:43 am

  • Math & Science • Re: Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper
    by Stefan Kottwitz on June 3, 2025 at 12:01 pm

    Hi,welcome to the forum!I'm glad you got these books. I wrote them, and I'm happy when I hear that people read the books. I hope you liked them! Would you please be so kind to post a review for each on Amazon? (even if you got them in another bookstore). Reviews help me find readers and convince my publisher to allow me to produce another, extended edition. I want to create an extended edition of the TikZ book, so reviews would be greatly appreciated. For now, I made a Japanese translation (see TikZ.jp) and I'm working on a Japanese translation of the LaTeX Cookbook.Regarding the workflow, I think that when you get more experience with LaTeX, you may switch from LyX to a LaTeX editor, such as TeXstudio or TeXworks. With a good template, you may not need LyX anymore. Compiling is fast nowadays, allowing you to track progress in a LaTeX editor that displays Code and PDF side by side. When I create TikZ pictures, I often compile them every few seconds to see the changes as I adjust. But LyX is good with ERT for now, of course.I saw the Pascal triangle video. It's a short piece of not much explained code, but basically it is a \foreach loop for the rows a \foreach loop for the columns a calculation for the coordinates of the nodes from row n and column k a pgfmath calculation for the value in the node textYou can make it similar. If you like, share your code here and I can help improve it.As your focus is on the paper as a result, and not on a TikZ code, you could also simply use tabular or array and put the calculated values in, using Excel for example. Ultimately, it's the PDF that's important, not the smart code, especially if there's a time pressure.StefanStatistics: Posted by Stefan Kottwitz — Tue Jun 03, 2025 2:01 pm

  • Math & Science • Help: Creating Pascal-esque triangle (different structure and numbers) with TikZ for academic paper
    by spe420 on June 3, 2025 at 7:27 am

    I am new to using TikZ, but have been using LaTeX via LyX for several years now. While I am not the most adept user, I am somewhat confident in my understanding of how the program works, albeit unfamiliar with all of its features. I understand this is a fairly high level task to try to implement, but I have very concerted reasons why this is my immediate aim.I do not think the details of my project are entirely relevant or necessary to explain, however, I will say this:–I am writing an academic paper that I hope to be able to submit to arxiv.org in the area of Number Theory;–I have the vast majority of the paper written, with the exception of this particular diagram and an addendum to the end;–I have recently purchased the LaTeX Cookbook, as well as LaTeX Graphics with TikZ, and have numerous other resources;–I am willing to take the time necessary to under to learn the concepts, but have only limited coding experience (and via GUI in, LabVIEW).Any assistance would be greatly appreciated.The basic problems I need help with are:1) some practical advice about most sensible workflow (I have read about so-called ERTs, and using text editors, etc. to insert "child documents" in LyX, exporting from CAS programs (I have installed Maxima, but yet to really learn how the program works);2) how to make customizations to the generation of Pascal's Triangle-like structures (I have watched this tutorial:https://www.youtube.com/watch?v=V1XBdHdofuw) such that, for example, I can stipulate the diagonal "column" containing the terms which would otherwise be the binomial coefficients k=0 (the left-most infinite series of ones), as being numbers generated according to a particular formula of my choosing, each successive diagonal row extending from the terms in the right-sided row of the triangle (i.e. the infinite series from n=1, k=1 down and to the left, and so on), being self-similar in their ratio to those terms contained in the first, with each term in the right-sided row (i.e. from n=0, k=0 down diagonally to the right) being the powers of any given input x, such that x^0=(n=0, k=0), *EDIT* x^1=(n=1, k=1), x^2=(n=2, k=2), etc. *EDIT*. I hope I have explained this adequately.I understand this may be a very difficult problem... I have already begun, with some chagrin, to appreciate how difficult it is going to be to use this as a pretext for learning TikZ, and more of the fundamentals of LaTeX, but it is, I think, the only way to finish my paper as I have envisioned it. Any help that would be so graciously offered would be invaluable.Statistics: Posted by spe420 — Tue Jun 03, 2025 9:27 am

  • Text Formatting • how do I achieve the "classic" government outline format
    by radiodurans on June 3, 2025 at 6:43 am

    How do I achieve the "classic" government outline format as seen attached?Statistics: Posted by radiodurans — Tue Jun 03, 2025 8:43 am

  • Graphics, Figures & Tables • Re: Draw line around text
    by Michael_J on June 1, 2025 at 9:56 pm

    Thanks for the information - I was able to figure it out.If you are reading this {isOnline} is a bool that is a flag for either to generate answers for me or make a handout for students.\usepackage{etoolbox} % for boolean flags \newbool{isOnline} % true - Hide the answers in notes to worked problems \setbool{isOnline}{false}The stuff I added in the (\begin{tabular}{lll} ) block is as follows:& \tikzmark{ExampleTwo}\ifbool{isOnline}{}{\textcolor{\BLUE}{$x\neq3$}} \\ [.5em]& \ifbool{isOnline}{}{ %draw Green line. \tikz[remember picture,overlay,baseline=0pt] \draw[line width=0.4mm, \GREEN, ->] ([shift={(-.5ex,.3ex)}]pic cs:ExampleTwo) to (-25ex,43ex) to (-25ex,0.5ex) to (-0.2em,0.2em);\textcolor{\BLUE}{$g(x)\neq1$}} \\ [.5em]Statistics: Posted by Michael_J — Sun Jun 01, 2025 11:56 pm

  • Graphics, Figures & Tables • Re: Draw line around text
    by Stefan Kottwitz on May 31, 2025 at 6:19 pm

    Hi Michael,welcome to the forum!You can use the tikzmark package for this.StefanStatistics: Posted by Stefan Kottwitz — Sat May 31, 2025 8:19 pm

  • Graphics, Figures & Tables • Draw line around text
    by Michael_J on May 31, 2025 at 5:57 pm

    How would I draw the green line?What I currently haveWhat I wantStatistics: Posted by Michael_J — Sat May 31, 2025 7:57 pm

  • Presentations and Posters • Re: customize beamer miniframes bullets spacing
    by pletessier on May 30, 2025 at 9:36 am

    Awesome ! Thanks a lot Stefan !Statistics: Posted by pletessier — Fri May 30, 2025 11:36 am

  • Presentations and Posters • Re: customize beamer miniframes bullets spacing
    by Stefan Kottwitz on May 28, 2025 at 9:43 pm

    Hi,you can patch the \slideentry command, after loading the miniframes theme:Code: \makeatletter\patchcmd{\slideentry}{\ifbeamer@compress}% {\ifbeamer@compress\ifnum#2>1\ifnum#3=1\advance\beamer@xpos by 1\relax\fi\fi}{}{}\makeatotherStefanStatistics: Posted by Stefan Kottwitz — Wed May 28, 2025 11:43 pm

  • Presentations and Posters • customize beamer miniframes bullets spacing
    by pletessier on May 27, 2025 at 5:08 pm

    Hello,Here is a minimal example : Code: \documentclass[xcolor=table, aspectratio=169, compress]{beamer}\usetheme{Dresden}\useoutertheme{miniframes}\usepackage{amsmath}\usepackage{tikz}\begin{document} \section{Section 1} \subsection{Subsection 1.1} \subsubsection{Subsection 1.1.1} \begin{frame}\end{frame} \subsubsection{Subsection 1.1.2} \begin{frame}\end{frame} \subsubsection{Subsection 1.1.3} \begin{frame}\end{frame} \subsection{Subsection 1.2} \subsubsection{Subsection 1.2.1} \begin{frame}\end{frame} \subsubsection{Subsection 1.2.2} \begin{frame}\end{frame} \subsection{Subsection 1.3} \subsubsection{Subsection 1.3.1} \begin{frame}\end{frame} \subsubsection{Subsection 1.3.2} \begin{frame}\end{frame} \section{Section 2} \subsection{Subsection 2.1} \subsubsection{Subsection 2.1.1} \begin{frame}\end{frame} \subsubsection{Subsection 2.1.2} \begin{frame}\end{frame} \subsubsection{Subsection 2.1.3} \begin{frame}\end{frame} \subsection{Subsection 2.2} \subsubsection{Subsection 2.2.1} \begin{frame}\end{frame} \subsubsection{Subsection 2.2.2} \begin{frame}\end{frame} \subsubsection{Subsection 2.2.3} \begin{frame}\end{frame}\end{document}It produces a headline with all bullets on a single line, and a large space between the bullets of different sections.I want to add a smaller space between the bullets of different subsections, in order that :Code: ooooooo oooooowould become : Code: ooo oo oo ooo oooDoes anyone know a way to do that ?Thanks !Statistics: Posted by pletessier — Tue May 27, 2025 7:08 pm

  • Document Classes • Re: Emergency stop error in running preamble
    by bgreen on May 26, 2025 at 9:04 am

    Thanks, much appreciated.Statistics: Posted by bgreen — Mon May 26, 2025 11:04 am

  • Document Classes • Re: Emergency stop error in running preamble
    by Stefan Kottwitz on May 25, 2025 at 10:23 pm

    No problem, that's why we have a forum for LaTeX users to talk. And by the way, after an update, the email notifications stopped working in the forum; when I noticed your posts without receiving a notification, I found it and fixed it; another good reason to talk here.StefanStatistics: Posted by Stefan Kottwitz — Mon May 26, 2025 12:23 am

  • Document Classes • Re: Emergency stop error in running preamble
    by bgreen on May 25, 2025 at 8:42 pm

    Thanks again Stefan, I had also mistakenly been trying to compile individual chapters.I see I need to leave myself some notes.Statistics: Posted by bgreen — Sun May 25, 2025 10:42 pm

  • Document Classes • Re: Emergency stop error in running preamble
    by Stefan Kottwitz on May 25, 2025 at 1:39 pm

    Hi Bob,that's probably you compile preamble.tex (that starts without \documentclass as preamble.tex is actually be input after \documentclass in your document, and of course it contains no \end as in your first post's error message) and not your document. Ensure that your editor compiles your document's TeX file.By the way, please add log files as attachments. Otherwise, forum posts get super long. Thanks!StefanStatistics: Posted by Stefan Kottwitz — Sun May 25, 2025 3:39 pm

  • Document Classes • Re: Emergency stop error in running preamble
    by bgreen on May 24, 2025 at 8:54 pm

    Hello Stefan,Thanks for your reply. I only added that document class line in recently because I received this message without it: PreambleErrorLog.txtStatistics: Posted by bgreen — Sat May 24, 2025 10:54 pm

  • Document Classes • Re: Emergency stop error in running preamble
    by Stefan Kottwitz on May 24, 2025 at 12:21 pm

    Hi Bob,you have \documentclass[a4paper,12pt]{book} in the preamble, but \documentclass[openany]{book} in the document, you cannot have both. Remove one (better from the preamble) and see if it's better.StefanStatistics: Posted by Stefan Kottwitz — Sat May 24, 2025 2:21 pm

  • Document Classes • Emergency stop error in running preamble
    by bgreen on May 24, 2025 at 12:38 am

    Because of the file size I decided to work with individual documents rather than the book class. I've returned to the book class after a year off and found code that previously worked, no longer does. The Texmaker version is 5.1.4 (I'll download the newer version but thought I'd see if the problem was the code first as other documents seem to compile). Any assistance is appreciated.With the preamble code below I received this error:! Emergency stop.<*> preamble.tex*** (job aborted, no legal \end found)Code: \documentclass [a4paper, 12pt]{book}\usepackage[english] {babel}\usepackage{xcolor}\usepackage{titlesec} \usepackage[a4paper, total={7in, 10in}]{geometry}\usepackage{graphicx} \usepackage{blindtext}\usepackage[section]{placeins}\usepackage{subcaption}\usepackage[colorlinks]{hyperref}\pagestyle {empty}\usepackage[labelformat=empty]{caption}\usepackage {wrapfig}\usepackage{microtype}\usepackage{parskip}\usepackage{geometry}%\titleformat*{\section}{\fontsize{12}{14}\selectfont}\graphicspath{ {D:/a_surf/BB/bgpage/} }\pagecolor{yellow!30} \parindent=15pt \raggedbottom Here is the code that links to the preambleCode: \documentclass [openany]{book}\setcounter{secnumdepth}{7}\setcounter{tocdepth}{13}\input{preamble}\begin{document}\begin{titlepage}\centering \vspace*{\fill} {\Huge Paipo - Bellyboarding in Australasia\\} {\large Riding prone on wood and fibreglass boards in Australia and New Zealand.\\} \vspace*{\fill} {\Large Bob Green\\[1in]} \vfill {\itshape Updated 21 March 2024. } \vfill {\itshape Feel free to cite this work. } \end{titlepage}\tableofcontents\include{Chapter1}\include{Chapter2}\include{Chapter3}\include{Chapter4}\include{Chapter5}\include{Chapter6}\include{Chapter7}\include{Chapter8}\include{Chapter9}\include{Chapter10}\include{Chapter11}\include{Chapter12}\include{Chapter13}\include{Chapter14}\end{document}Statistics: Posted by bgreen — Sat May 24, 2025 2:38 am

  • Math & Science • Re: Multiline Equation with Alignment
    by mbaqar on May 13, 2025 at 7:05 pm

    Thanks a lot Stefan. I am grateful.Statistics: Posted by mbaqar — Tue May 13, 2025 9:05 pm