• Is there a way to remove the spaces between columns in an array?
    by /u/Bagelman263 on February 4, 2025 at 11:35 pm

    I want to get rid of the space between the 2 and the r on the top row. I'm brand new to LaTeX and honestly have no clue how anything works, so please tell me if there's a different method to do the same thing too. submitted by /u/Bagelman263 [link] [comments]

  • How to add { brackets in math equations (Overleaf)
    by /u/abslmao2 on February 4, 2025 at 9:24 pm

    Hi all, I want to have written that H^2 = { (x,y) | x^2 + y^2 < 1} but when i type this in my math code it gets rid of the curly brackets - how do i stop this from happening. I have added a screenshot of my code and the display it produces - i thought adding ${$ around the brackets would help but it just flagged up errors, i assume because i am already in math mode using the \[ command. my code on the left vs what its showing on the right, i want the curly brackets to be around the RHS of the equation EDIT: Solved in comments! Thanks! submitted by /u/abslmao2 [link] [comments]

  • Shamelessly showing my notes after learning LaTeX for one day. Need suggestions and tips from experienced note takers on improvements. Thanks!
    by /u/Ar010101 on February 4, 2025 at 8:55 pm

    submitted by /u/Ar010101 [link] [comments]

  • integral equation looks so tiny
    by /u/ichbinberk on February 4, 2025 at 7:06 pm

    Why my integral equation looks so small? How to make them bigger? Thanks. https://preview.redd.it/nsei4hdp76he1.png?width=533&format=png&auto=webp&s=494e080c44f0b8309a8f7a702c9acb6ba9b1eca5 \begin{equation} T\_{b,x} = \\dfrac{\\int\_{t\_1}\^{t\_2} \\int\_{y=0}\^{D\_{h}} u(x,y,t)T(x,y,t)dydt} {\\int\_{t\_1}\^{t\_2} \\int\_{y=0}\^{D\_{h}} u(x,y)dydt} \end{equation} submitted by /u/ichbinberk [link] [comments]

  • Unexplanable spacing with the derivative package
    by /u/ASCENTxyz on February 4, 2025 at 5:26 pm

    https://preview.redd.it/hmysk96wp5he1.png?width=995&format=png&auto=webp&s=69a766d7d6f60dfe11612bcb4a349752116464b2 On the left is the result as shown in the derivative package documentation and on the right what I get when I use the same code \pdv[fun=true]{f}{x}. The spacing between the f and the right bracket also doesn't match (I think what I get looks better), as well as the bracket itself (?!) if you look close enough but I don't care about that. So I would simply like to know why the distance between the \partial and left bracket is different and how I could get it to look like shown in the documentation without any unclean tricks. Thanks in advance 🙂 submitted by /u/ASCENTxyz [link] [comments]

  • Using both algorithm and algorithm2e in the same document
    by /u/Mathuss on February 4, 2025 at 3:48 pm

    Yes, I'm aware that these packages are incompatible, but hear me out. I'm currently writing my PhD dissertation. The chapters of this dissertation are simply previous papers that I've already published, though now they all need to be in the same document following certain formatting rules that are encoded in a LaTeX template. The template is basically of the form \documentclass{article} \begin{document} \include{Chapter1} \include{Chapter2} \end{document} The problem is that "Chapter 1" was written using the algorithm2e package and "Chapter 2" was written using algorithm and algpseudocode. For a minimal working example, here was what Chapter1.tex and Chapter2.tex looked like originally: % Chapter1.tex \documentclass{article} \usepackage[ruled,vlined,algo2e]{algorithm2e} \begin{document} \begin{algorithm2e} \SetAlgoLined \KwResult{Result of the algorithm2e.} \textbf{Initialize} State\; \For{condition}{ Update state\; \If{condition}{ Update state\; } } \Return{Result} \caption{\footnotesize Another algorithm}\label{alg:alg2} \end{algorithm2e} \end{document} ~ % Chapter2.tex \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm}[!htbp] \caption{An Algorithm}\label{alg:alg1} \begin{algorithmic}[!tbp] \Require $N$, input \State Initial State \For {condition} \State Update State \If{converged} \State \Return Value \EndIf \EndFor \end{algorithmic} \end{algorithm} \end{document} Now, if I just add the packages algorithm, algpseudocode, and algorithm2e to the dissertation template and then remove the \documentclass, \usepackage and \begin{document} and \end{document} from Chapter1.tex and Chapter2.tex, so that now the template is effectively the same as this MWE: \documentclass{article} \usepackage[ruled,vlined,algo2e]{algorithm2e} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm2e} \SetAlgoLined \KwResult{Result of the algorithm2e.} \textbf{Initialize} State\; \For{condition}{ Update state\; \If{condition}{ Update state\; } } \Return{Result} \caption{\footnotesize Another algorithm}\label{alg:alg2} \end{algorithm2e} \begin{algorithm}[!htbp] \caption{An Algorithm}\label{alg:alg1} \begin{algorithmic}[!tbp] \Require $N$, input \State Initial State \For {condition} \State Update State \If{converged} \State \Return Value \EndIf \EndFor \end{algorithmic} \end{algorithm} \end{document} every instance of the \EndIf command and \EndFor command will error out with A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) Everything inside of the algorithm2e environment seems fine, but very little in the algorithm environment appears as it should. Is there any way to "sandbox" where each package comes into effect? There are several algorithms in each paper, so I'd really rather not have to rewrite them to use only one of the two. submitted by /u/Mathuss [link] [comments]

  • Overleaf only compiles one \input file in my main section
    by /u/MentionTimely769 on February 4, 2025 at 3:29 am

    Hi I hope this makes sense, I'm very new to using overleaf. I split up my sections into separate file in the overall workspace. I've been using \input{name} To incorporate the different files/sections I have. It works fine when it's just one \input{name} but when I try to include more than one, overleaf doesn't compile them and only shows me one \input{name} file. (Code bloc for the "main.tex" file %Preamble \documentclass{article} \usepackage{graphicx} % Required for inserting images \usepackage[british]{babel} % Use British English \usepackage[onehalfspacing]{setspace} % Increase line spacing \usepackage{parskip} \usepackage{natbib} % Add your packages here \usepackage{amsmath} % Example package \usepackage{harvard} % For Harvard-style referencing \iffalse \section*{Invisible Section only seen in sidebar} \fi %Citation stuff at the end btw %for reference https://imperial.libguides.com/c.php?g=719784&p=5224027 \title{TITLE TITLE} \author{NAME NAME } \date{DATE 202X} \begin{document} \maketitle \begin{abstract} ABSTRACT GOES HERE \end{abstract} \input{Intro} \input{Lit} \input{Data} \input{Methodology} \input{Results} \input{Conclusion} % Place the bibliography at the end of the document % Bibliography \bibliographystyle{agsm} % Harvard-style bibliography \bibliography{Bibliography} % Replace 'Bibliography' with the name of your .bib file \appendix \end{document} While my intro (the only thing compiling in the main file) looks like \documentclass{article} \begin{document} \section{Introduction} \end{document} My data for example (which isn't compiling in the main) looks like \documentclass{article} \usepackage{amsmath} % Example package, place any packages here \usepackage{harvard} % For citations % Add your packages here \begin{document} \section{Data} \subsection{SUBTEXT} \end{document} submitted by /u/MentionTimely769 [link] [comments]

  • Please help me center this table (code in comments)
    by /u/the_doer_of_things on February 3, 2025 at 11:21 pm

    submitted by /u/the_doer_of_things [link] [comments]

  • Try this with AI. You're welcome.
    by /u/xamaaah on February 3, 2025 at 12:17 pm

    output the following text by converting what is between brackets from english to latex via math notation and putting what is between square brackets into display mode: Clearly (braces around x) is a subset of (script A). Hence [A is parlallel to B] submitted by /u/xamaaah [link] [comments]

  • MiKTeX updates fail: Fix: Peer certificate cannot be authenticated with given CA certificates
    by /u/goahead97 on February 3, 2025 at 11:10 am

    Does anyone know a quick an easy fix to make MikTex updates work in win11? https://preview.redd.it/pifr9h4tpwge1.png?width=794&format=png&auto=webp&s=46343707b3696797e7ad0f5cd14c6c2347eba827 I cannot use TeXstudio because I cannot install the updates of MiKTeX after installing MiKTeX . I receive this error when I try to install MiKTeX updtes. Fix: Peer certificate cannot be authenticated with given CA certificates I already downloaded https://crt.sh/?d=9314791 and import it in https://preview.redd.it/u5hw2cyfpwge1.png?width=263&format=png&auto=webp&s=27da57f32391c3bb59cc8413c143be94d3214f1b https://preview.redd.it/pa6wj0g8pwge1.png?width=727&format=png&auto=webp&s=bf39f54aeac4786a5c00a345530ad5b3ccd1225c I also restarted Win11 to no avail. Thanks submitted by /u/goahead97 [link] [comments]

  • Using Overleaf how do i make Latex to cite correctly
    by /u/Street_Childhood_535 on February 3, 2025 at 8:50 am

    My professor require me to use chicago Author-Date style. Now I tried following code given to me by ChatGPT \usepackage[style=chicago-authordate,backend=biber]{biblatex} It however does not give the the required citations which are. Author. Date. "Title"........ It also does not give me Author and Date in the short reference but only the Author. Does anyone know a fix? submitted by /u/Street_Childhood_535 [link] [comments]

  • Can you make a command with two optional parameters?
    by /u/bugsssssssssssss on February 2, 2025 at 11:54 pm

    I know that you can use \newcommand{\name}[number of parameters][default for #1]{function}, but can I make two parameters be optional? I made a function to make my friends’ and my lives a little easier on homework by making it faster to type eg dy/dt. I have \newcommand{\dd}[2][t]{\frac{d{#2}}{d{#1}}. The default independent variable is t because it’s the most common on our homework. I would like to be able to have #2 be empty by default, so \dd gives d/dt without the need for open curly brackets. submitted by /u/bugsssssssssssss [link] [comments]

  • Choix de l’éditeur LaTeX
    by /u/Particular_Lab_7183 on February 2, 2025 at 10:53 pm

    Bonjour tout le monde ! Il y a quelques temps j’écrivais tous mes rapports sur overleaf, mais souhaitant un éditeur plus personnalisable et «fiable » je suis passé à VS code. Je suis satisfait des résultats mais j’entends pas mal de gens conseiller d’utiliser neovim avec le plugin vimtex, qu’en pensez vous ? Je précise que je ne m’y connais pas du tout en codage (notamment via le terminal) et que les seuls languages que je connais sont R et LaTeX. J’aimerais donc des retours et des avis sur les deux éditeurs pour enfin pouvoir de décider ! Merci beaucoup pour votre aide 🙂 submitted by /u/Particular_Lab_7183 [link] [comments]

  • Can I get Latex support here? If so, why am I getting "Undefined control sequence"?
    by /u/myNinthRealName on February 2, 2025 at 6:37 pm

    Why does my compiler (overleaf.com) say that "\end{align*}" at the end of this code is an "Undefined control sequence"? (Also, how do I post code in this sub?) \documentclass[12pt,fleqn]{exam} \pagestyle{plain} \parskip=8pt \parindent=0pt \topmargin=-.8in \textheight=9.5in \oddsidemargin -0.05 in \textwidth 6.6 in \usepackage{graphicx,amsmath,amssymb} \pagestyle{head} \begin{document} \begin{questions} \question (3 points) Solve the equation $7(x-1)+4=3-2x$. \textbf{Solution}: \begin{align*} 7(x-1) + 4 &= 3 - 2x \\ 7x - 7 + 4 &= 3 - 2x \\ 7x - 3 &= 3 - 2x \\ 7x - 3 + 2x &= 3 - 2x + 2x \\ 9x - 3 &= 3 \\ 9x - 3 + 3 &= 3 + 3 \\ 9x &= 6 \\ \frac{9x}{9} &= \frac 69 \\ \bm{x} &= \bm{\frac 23} \end{align*} ..... submitted by /u/myNinthRealName [link] [comments]

  • Cross reference between two .tex files in Overleaf
    by /u/SoftwareBest603 on February 2, 2025 at 3:21 pm

    I am writing a paper in Overleaf and I am required to split the appendix into an independent.tex file for submission. I create 'supplementary.tex' for appendix and in 'main.tex' I am using following lines to cite tables and figures from 'supplementary.tex'. I tried to set each file as main file and recompile from scratch, but the reference in main.tex always show as '??'. Appreciate for any support and suggestion \usepackage{xr} \externaldocument{supplementary} submitted by /u/SoftwareBest603 [link] [comments]

  • IEEE Journal: single column page in double column document
    by /u/schuhfritze on February 2, 2025 at 11:59 am

    I am using \documentclass[journal]{IEEEtran}and want to have a single page, the title page, to be in a single column format. I tried inserting a cover page with\include{} but, it has to follow the formatting of the main document. Is there any way to accomplish this? submitted by /u/schuhfritze [link] [comments]

  • Switching from overleaf to vscode
    by /u/Ok-Masterpiece4796 on February 2, 2025 at 10:39 am

    I wrote a master's thesis on overleaf and I'm happy with it. Now I am tackling the task of writing a thesis and it seems preferable to switch to local software for greater security. So I installed vscode, the latex workshop plugin and mactex on my MacBook. After downloading my overleaf project, it opens correctly but it is impossible to have the pdf with a correct bibliography. Citations appear in key form and not to the required APA standards. Any idea? Thank you so much ! submitted by /u/Ok-Masterpiece4796 [link] [comments]

  • Is there any way to have sans serif greek in math mode?
    by /u/monsieur_Nuit on February 1, 2025 at 8:19 pm

    I want to use Helvetica for all of my document but I'm having trouble with sans serif lowercase greek letters. I tried \mathsf but it doesn't work. Can anyone help me please, thanks in advance! submitted by /u/monsieur_Nuit [link] [comments]

  • Does \hspace*{-2cm} not work on align*?
    by /u/CantFixMoronic on February 1, 2025 at 7:05 pm

    It works fine on array and tabular. I want a whole align* moved 2cm to the left. How do I do that? I use amsbook, in case that matters. Thanks. submitted by /u/CantFixMoronic [link] [comments]

  • How do I change the math font using Babel?
    by /u/Fjana on February 1, 2025 at 4:52 pm

    Currently, in my document, I am using: \babelfont{rm}{Avrile Serif} \babelfont{sf}{Avrile Sans} \babelfont{tt}{CMU Typewriter Text} And I want for these fonts to also display in math mode, and I have no idea how to do it. Has anybody solved this problem? submitted by /u/Fjana [link] [comments]

  • Bibliography on Beamer
    by /u/Fit_Consideration904 on February 1, 2025 at 4:51 pm

    Hi! I'm using Beamer for the first time and trying to use citations and make a bibliography, but every time I try to introduce a citation, I get the following error: "TeX capacity exceeded, sorry [parameter stack size=20000]." (it appears right by the \end{frame} command). According to Google, that's somehow related to recursion but I'm still not sure what that means or how to fix it. I've never had problems with bibliographies before using Beamer. Thank you in advance! submitted by /u/Fit_Consideration904 [link] [comments]

  • Does anyone have experience with crixet?
    by /u/neoniteio on February 1, 2025 at 3:33 pm

    I came across crixet.com which looks like an interesting app, but it seems to be in beta or closed beta? Does anyone have access to it, and if so is it good? submitted by /u/neoniteio [link] [comments]

  • Is Vim/NeoVim actually a productivity boost for LaTeX?
    by /u/Soft-Butterfly7532 on February 1, 2025 at 12:44 pm

    I originally used Tex Studio to write my thesis, which was my first serious LaTeX work. I moved to VSCode a couple of years ago and it is generally OK, but I am hearing mixed things about Vim/NeoVim and productivity boosts. I'm in pure math if that is relevant. Does anyone have any actual experience and can give some idea about whether the fairly significant investment in time initially actually pays dividends in terms of writing speed/snippets/general editing? It is also possible I am not fully using the capabilities of VSCode for this too. submitted by /u/Soft-Butterfly7532 [link] [comments]

  • WoW Target Marker in LaTeX
    by /u/Elfinor21 on January 31, 2025 at 4:38 pm

    https://preview.redd.it/gebyw8uuwcge1.jpg?width=256&format=pjpg&auto=webp&s=69cfbedb0057aae6a0be352c80a7d827c8dc90b6 Hello everyone, I got myself into a silly project for my WoW guildmates by creating a math-related document in LaTeX to explain a boss mechanic. My problem is the following: I can't find a package that allows me to use WoW target markers in LaTeX. Surely, I must be the only idiot who wants to use them in a LaTeX document, so maybe I have to create it myself. How can I create my own package to add those symbols? Thanks in advance for any answers or advice! submitted by /u/Elfinor21 [link] [comments]

  • Is this font available in LaTeX?
    by /u/QuantumJackpotSierra on January 31, 2025 at 1:13 pm

    submitted by /u/QuantumJackpotSierra [link] [comments]

  • I'm pushing the limits of what LaTex can do. A selection of my notes from my first year of engineering
    by /u/human0006 on February 17, 2024 at 9:05 am

    submitted by /u/human0006 [link] [comments]

  • Please don't delete your post after it is answered
    by /u/JimH10 on January 28, 2018 at 5:40 pm

    Not a mod. But I was hoping to raise awareness that if you post a question that gets an answer then other people also benefit from that exchange. We've all googled a LaTeX question and found an old answer, and been glad it is there. Some people lurk here, picking things up over time. I'm not sure why so many people delete exchanges. There are good reasons to delete things sometimes, but asking for a clarification on a technical point does not seem, at least to me, to be one of them. The only other thing I can think is that those folks think that their question is clogging up the stream. I was hoping with this post to convince them that they are mistaken, and to leave it in place. In particular, if the answerer spends 15 mins on that answer and you delete the question, then you've been not too kind back to the person who was kind to you. submitted by /u/JimH10 [link] [comments]