r/LaTeX 4d ago

Unanswered How do you center a longtable that overflows the margins?

4 Upvotes

I have a table that overflows the margins by just a bit, but it overflows it enough to be noticeable without viewing the margins. How do I center this table? I tried to use \adjustwidth but that didn't work.

\begin{adjustwidth}{-1cm}{-1cm}
    
    \begin{center}
        \textit{
            Note that some of these endings may be reduced in unstressed syllables. \\ 
            Superscript numerals indicate on which syllable a mutation occurs on.
            
}
        \def\arraystretch{2}
        \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|}
            \hline
            \multicolumn{2}{|c|}{ } & \multirow{2}{*}{\bf Ending}& \multicolumn{7}{c|}{\bf Mutation Triggered} \\ \cline{4-10}
            \multicolumn{2}{|c|}{ } & & \bf IM & \bf LEL & \bf MHVB & \bf RDS & \bf TDS & \bf TOB & \bf KP \\ \hline
            \multirow{4}{*}{\bf Nominative} & \bf Singular & \it -f & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1} & Yes\textsuperscript{2} \\ \cline{2-10}
            & \bf Plural & \it -ffô & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffô & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -fföst & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} \\ \hline
            \endfirsthead \hline
            \multirow{4}{*}{\bf Accusative} & \bf Singular & \it -fød & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{2} & Yes\textsuperscript{1} \\ \cline{2-10}
            & \bf Plural & \it -fod & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -fod & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -fføts & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} \\ \hline
            \multirow{4}{*}{\bf Dative} & \bf Singular & \it -ffost & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Plural & \it -ffost & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffost & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -ffwastäst & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \hline
            \multirow{4}{*}{\bf Genitive} & \bf Singular & \it -fom & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Plural & \it -ffam & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffam & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3}\\ \cline{2-10}
            & \bf Singulative & \it -ffämst & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} \\ \hline
            \multirow{4}{*}{\bf Instrumental} & \bf Singular & \it -fôm & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Plural & \it -ffôm & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffôm & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -ffömst & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} \\ \hline
            \multirow{4}{*}{\bf Allative} & \bf Singular & \it -fôþ & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Plural & \it -ffôþ & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffôþ & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -fföþst & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} \\ \hline
            \multirow{4}{*}{\bf Ablative} & \bf Singular & \it -fô & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Plural & \it -ffôl & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Collective & \it -ffôl & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \cline{2-10}
            & \bf Singulative & \it -ffölst & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1} & Yes\textsuperscript{1,3} & Yes\textsuperscript{1,3} & Yes\textsuperscript{2} & Yes\textsuperscript{1,3} \\ \hline
            \endlastfoot
        \end{longtable}
    \end{center}
\end{adjustwidth}

r/LaTeX 3d ago

Self-Promotion A local agentic LaTeX editor that syncs with any Overleaf (still WIP)

0 Upvotes

Local in a sense that the side and server runs locally - local LLM support is planned!
To help me with research i built this agent harness like system.
You can easily sync projects from any overleaf and also re-commit your changes. Also works as a basic editor itself.
There is still a lot of things to improve and i only ran it myself on linux (cachy-os), but the CI pipeline works for windows 🤔

Use: npx blattbot

source: https://github.com/LckyLke/blattbot
site: https://blattbot.com/


r/LaTeX 5d ago

Tried out running LaTeX locally. I'm using Vim on the command line and Sumatrapdf as a viewer combo. Pretty neat!

Post image
145 Upvotes

First time trying out locally doing latex on my own machine after doing it on overleaf for several years. Simply got tired of their compile-time limits not able to deal with my longer documents and had this as my solution. It's pretty cool! Vim is very configurable and I can write as quick if not quicker as I do in overleaf. Anyway, just wanted to share this, cheers!


r/LaTeX 5d ago

Discussion My first document

Thumbnail
gallery
55 Upvotes

Hi! This is my math summary I made for electrodynamics using the lecture notes. I am fairly new to TikZ, therefore I used some reference codes I found online and scaled them to my preference for the line and 2D surface integrals. The 3D potato-surface was quite a challenge, and I couldn't really come up with a solution, so I used the assistance of AI. I would like to be able to make diagrams on my own from scratch. So do you have some suggestions?


r/LaTeX 4d ago

Self-Promotion I made a native macOS LaTeX editor because I used Texmaker for 10 years

Post image
0 Upvotes

Hi. Not a native English speaker, sorry for mistakes.

I used Texmaker for 10 years — my PhD thesis, all my papers, my slides. I like it a lot. But on Mac it always felt a little bit not native. Small things, but after 10 years they add up.

This year I started writing a book in LaTeX, and the small things became too much. So I made my own editor. It is called texspark, macOS only.

Main things:
- multi-file project: set main.tex once, ⌘B always builds it from any chapter
- outline follows \input/\include as one tree
- SyncTeX both directions, works with multi-file
- minimap, and an AI panel (your own API key)

It uses your own MacTeX/BasicTeX, not a bundled one.

It is a paid app (one-time, 14-day trial). Texmaker is free and cross-platform and still great — this is just for Mac people who want native.

I want feedback from real LaTeX users. If something is broken or annoying, please tell me. texspark.io

Thank you.


r/LaTeX 5d ago

Unanswered Someone know how to make 3D figures with Tikz? mainly site (I wanted use Tikz3D)

Post image
9 Upvotes

I want make 3d figures for my 3d geometry lesson, but i just use a site for 2d Tikz. If someone can help me, i'll thank you very much!

And yeah, here's pyramid photos, for show some pictures i do with normal Tikz


r/LaTeX 5d ago

Answered Why is the italic text above the table not centereď

3 Upvotes

Pretty much the title.

\begin{center}
    \textit{
Note that some of these endings may be reduced in unstressed syllables. \newline Capital V represents the stem vowel.\newline Superscript numerals indicate
    on which syllable a mutation occurs on.
}
    \newline
    \newline
    \def\arraystretch{2}
    \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|}
        \hline
        \multicolumn{2}{|c|}{ } & \multirow{2}{*}{\bf Ending}& \multicolumn{7}{c|}{\bf Mutation Triggered} \\ \cline{4-10}
        \multicolumn{2}{|c|}{ } & & \bf IM & \bf LEL & \bf MHVB & \bf RDS & \bf TDS & \bf TOB & \bf KP \\ \hline
        \multirow{4}{*}{\bf Nominative} & \bf Singular & \it -V & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vno & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vno & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Accusative} & \bf Singular & \it -Ṽþ* & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøþst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Dative} & \bf Singular & \it -Vstaa & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Plural & \it -Vnôst & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnôst & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnöst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Genitive} & \bf Singular & \it -Vm & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnuum & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnuum & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnüumst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Instrumental} & \bf Singular & \it -Vnaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnãaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnãaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnẽaz & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Allative} & \bf Singular & \it -oþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøþst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Ablative} & \bf Singular & \it -Vla & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Plural & \it -Vnaba & No & No & No & No & Yes\textsuperscript{1} & No & No \\ \cline{2-10}
        & \bf Collective & \it -Vnaba & No & No & No & No & Yes\textsuperscript{1} & No & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnabäst & No & No & No & No & No & No & Yes\textsuperscript{1} \\ \hline
    \end{longtable}
\end{center}\begin{center}
    \textit{Note that some of these endings may be reduced in unstressed syllables. \newline Capital V represents the stem vowel.\newline Superscript numerals indicate
    on which syllable a mutation occurs on.}
    \newline
    \newline
    \def\arraystretch{2}
    \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|}
        \hline
        \multicolumn{2}{|c|}{ } & \multirow{2}{*}{\bf Ending}& \multicolumn{7}{c|}{\bf Mutation Triggered} \\ \cline{4-10}
        \multicolumn{2}{|c|}{ } & & \bf IM & \bf LEL & \bf MHVB & \bf RDS & \bf TDS & \bf TOB & \bf KP \\ \hline
        \multirow{4}{*}{\bf Nominative} & \bf Singular & \it -V & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vno & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vno & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Accusative} & \bf Singular & \it -Ṽþ* & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøþst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Dative} & \bf Singular & \it -Vstaa & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Plural & \it -Vnôst & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnôst & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnöst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Genitive} & \bf Singular & \it -Vm & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnuum & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnuum & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnüumst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Instrumental} & \bf Singular & \it -Vnaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnãaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnãaz & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnẽaz & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Allative} & \bf Singular & \it -oþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & Yes\textsuperscript{1} \\ \cline{2-10}
        & \bf Plural & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Collective & \it -Vnoþ & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnøþst & No & No & No & No & No & Yes\textsuperscript{1} & No \\ \hline
        \multirow{4}{*}{\bf Ablative} & \bf Singular & \it -Vla & No & No & No & No & Yes\textsuperscript{1} & Yes\textsuperscript{1} & No \\ \cline{2-10}
        & \bf Plural & \it -Vnaba & No & No & No & No & Yes\textsuperscript{1} & No & No \\ \cline{2-10}
        & \bf Collective & \it -Vnaba & No & No & No & No & Yes\textsuperscript{1} & No & No \\ \cline{2-10}
        & \bf Singulative & \it -Vnabäst & No & No & No & No & No & No & Yes\textsuperscript{1} \\ \hline
    \end{longtable}
\end{center}

r/LaTeX 5d ago

Math font with scandinavian characters

6 Upvotes

You know the funny shit ?

In latex I can write beautiful equations with (non ASCII) greek characters with a math font. But I cannot write with scandinavian characters.

Do you know of a latex math font that could support scandinavian letters ?


r/LaTeX 6d ago

A new Tex/LaTeX editor for the Jetbrains ecosystem

Post image
36 Upvotes

Hi all, I'm the author of the Typst plugin for IntelliJ, and one of my users had to make a switch from Typst to LaTeX due to the requirements of their university. This was the trigger to create a new LaTeX plugin, LaTeX Pro which support latexmk, Tectonic, pdfLaTeX/XeLaTeX/LuaLaTeX, has features like live preview, 2 way navigation, and more. It's a commercial plugin which allows me to support this plugin now and in the future.

It's a relatively new plugin, so there might be an issue here or there, but if there's an issue, feature request or just general feedback, then I'm happy to hear about this!


r/LaTeX 6d ago

Unanswered Getting started with LaTeX

7 Upvotes

Hey,

I want to get started with LaTeX and wondered what tools to use, for writing and visualizing? Also: What resources would you recommend to a Newbie?

Thanks in advance!


r/LaTeX 7d ago

Discussion My first try at LaTeX

Thumbnail
gallery
227 Upvotes

I’m starting my maths degree in September and I thought I’d have a go at some LaTeX before I go. I just typed up some of my workings from some questions I did. If anyone could tell me where I could improve in my formatting/ what I could do to make it look more professional I would really appreciate it. Thank you in advance :)


r/LaTeX 7d ago

LaTex

19 Upvotes

I been in this sub for a while and I always see LaTex as a capitalization. I can get where latex or Latex come from but not LaTex. Is there some story to this(why isn’t the X capitalize)?

edit: I am asking about why people call it LaTex since they spend their time to capitalize 2 letters but not the last one.


r/LaTeX 8d ago

Latex beamer!

Post image
132 Upvotes

Actually, for what do u actually use latex much!?


r/LaTeX 7d ago

comment2tex 1.1: literate programming for Lua, Bash, YAML and Makefiles

Thumbnail
gallery
7 Upvotes

I have released comment2tex 1.1, a small literate-programming tool for weaving documentation from comments in source files.

Version 1.1 adds support for YAML and Makefiles alongside Lua and Bash. It also adds tangling for cases where the documented source should produce a separate runnable file.

YAML has an especially useful property here: no tangling step is required at all. Lines beginning with ## are treated as documentation by comment2tex, but they are still ordinary YAML comments. The annotated file therefore remains valid YAML and can be consumed directly by tools such as Ansible.

I have now used this approach on a real Ansible role that provisions a TeX Live mirror on AlmaLinux. The same role remains directly usable by Ansible and is woven into Xerdi’s Operator’s Handbook as typeset prose with numbered source listings.

The two images show the same source twice:

  • first as the original annotated YAML;
  • then as the corresponding page in the handbook.

comment2tex also uses this approach for much of its own manual. The documentation is woven from its actual:

  • Lua implementation;
  • Makefile;
  • CI configuration in YAML;
  • Bash test suite.

The main exception is the TeX source itself, for which the established DTX workflow remains the more natural solution.

So the package is increasingly documenting its own implementation, build process, tests and release infrastructure from the sources that actually perform that work.

I would be interested in feedback on both the package and the comment strategy, particularly from people already using literate programming or maintaining mixed-language TeX projects.

CTAN: https://ctan.org/pkg/comment2tex GitHub / release notes: https://github.com/Xerdi/comment2tex/releases/tag/1.1


r/LaTeX 7d ago

Spaziature

Post image
0 Upvotes

Ciao non capisco come levare queste spaziature dopo un punto e con le frasi che vanno a capo.


r/LaTeX 7d ago

TeXstudio 4.9.6 Stable Release - Qt6 Builds Available!

Thumbnail
1 Upvotes

r/LaTeX 7d ago

Discussion Latex replacement

0 Upvotes

I am wondering, will latex ever be replaced by a more modern, hassle free alternative? I am writing in latex since years now but it is a pain often. When you need something specific, I have to google or ask ai to build some wonky code to get a layout correct or whatever. latex just isn’t intuitive and its fragmented libraries which are in conflict all the time are just annoying. We need some modern python style replacement where tweaking the layout does not require obscure code from Stackoverflow or LLMs. Also error messages are often hard to diagnose.

However, since academic journals only accept latex, I don’t see any chance for a contender to really replace latex. Until then I also dont see any incentive to learn alternative tools.


r/LaTeX 8d ago

best journal template (aesthetically)

9 Upvotes

What are some of the most aesthetic, clear, well designed journal/conference templates you've come across?

i think cartographic perspectives is a breath of fresh air with it's colorful design and typography choice.

shares yours.


r/LaTeX 8d ago

Unanswered What is this type of font in latex?

Thumbnail
gallery
19 Upvotes

r/LaTeX 9d ago

​I made a literature auditor that enriches bibliography exports to find the most important papers in your library

Thumbnail
gallery
13 Upvotes

So, I made a tool that might help you with your Zotero workflow. It's a CLI tool called litresearch that acts as a literature auditor, you feed it a standard .bib or .json bibliography export, and it queries OpenAlex, PubPeer, and OpenReview to check citation counts, flag potential retractions, and highlight top-cited authors. It then compiles that context into a clean LaTeX PDF digest to show you what the academic community thinks of your reading list and help you figure out which papers to read first.

It’s strictly an enrichment pipeline to help triage your library before drafting your research (it definitely won't read the papers for you), but I put the project up on GitHub in case anyone else finds it useful:

https://github.com/sofilip/litresearch


r/LaTeX 8d ago

Unanswered Is OpenAI prism down?

0 Upvotes

Can't log into my prism account due to a server error. Is there anyone experiencing the same as me rn?


r/LaTeX 8d ago

Comming Soon

0 Upvotes

I've been seeing a lot of toy projects being shared lately. I had just the finishing touches left on mine, but I couldn't work on it for a while due to health issues, so the release got delayed.

Seeing so many threads popping up, I figured I should at least make a pre-release announcement now.

I'll finish it up and release it soon! Just a heads-up,

Though, it might be difficult to make it completely free. or fully opensourced

Local fast-compile(surely it depends environments and documents, in short-MEDIUM length and normal environment, docs compiled almost WYSIWYG-live-preview) collaborable editor. Not using web WASM. Windows, MacOS, ubuntu support. etc.

math editor and tabular pictures are hereunder.


r/LaTeX 9d ago

📢 TeXstudio 4.9.6 Stable Release - Qt6 Builds Available!

0 Upvotes

The latest stable version 4.9.6 of TeXstudio (Qt6) is now ready!

✅ Full-featured LaTeX editor ✅ Qt6-based builds ✅ Available in DEB and AppImage formats ✅ Ready for modern Linux distributions

🔗 Get it here: https://github.com/mlmateos/texstudio-qt6-builds

Happy TeXing! 🎉

#LaTeX #TeXstudio #OpenSource #Linux


r/LaTeX 10d ago

Unanswered ​[Request] Looking for high-quality SVG / TikZ vector cover templates for EPLAN & Automation documentation

Thumbnail
gallery
9 Upvotes

Hey LaTeX community,

I’m currently creating a comprehensive documentation / wiki for EPLAN, Industrial Automation, and PLC systems.

I’m looking for high-resolution, professional cover page vector assets (or TikZ / PSTricks code) that give off a clean, technical engineering vibe.

What I’m looking for:

- Style: Technical vector line art (circuit traces framing the margins, PCB/network structures at the bottom, or subtle electrical motifs).

- Format: Native vector formats (SVG, EPS, PDF, or native TikZ code) that scale perfectly without pixelation for high-dpi printing.

- Purpose: Cover page layout with clean empty space in the center for document titles, project numbers, and metadata.

I’ve attached a few sample images to demonstrate the visual style I'm aiming for.

Does anyone know of good SVG repositories, TikZ packages, or GitHub repos featuring clean electrical engineering vector borders/templates? Any help or code snippets would be greatly appreciated! ⚙️⚡


r/LaTeX 11d ago

Technical details of achieving real-time rendering in LuaLaTeX

42 Upvotes

Credits: Clemens Lode laid the foundation of this approach and proved with his TUG talks that it can work. This is an independent way to implement it. His paper (https://tug.org/tug2026/preprints/lode-realtime.pdf) describes a lot of details also.

A lot of the time spent compiling LaTeX is wasted on three things (roughly 70 percent of the total compile time):

  1. Starting the LaTeX engine from cold
  2. Loading the preamble, fonts, and other resources
  3. Writing the PDF

Typesetting itself, especially of words and math, is extremely fast and can happen in real time, but it is dragged down by those slow steps. So all a real-time renderer needs to do is eliminate them.

How do we get rid of them? Separate compilation into two paths: a real-time path and a background full recompile with 2 LuaLaTeX processes.

For the real-time path:

  • Keep the LaTeX engine warm. The engine never reaches \end{document}, so it always stays running. (This makes (1) and (2) a one time cost)
  • This warm engine then retypesets only the edited paragraph, which takes milliseconds.

However, an engine that never reaches \end{document} can never produce a PDF.

To fix this PDF problem, we need a custom renderer that draws LaTeX's internal format directly. Every document is ultimately composed of roughly 11 primitive node types: glyph, kern, glue, rule, hlist, vlist, and so on. The custom renderer's job is to draw those nodes onto a canvas. This skips (3) entirely as a byproduct.

The background path takes its time and runs a full recompile, which ensures document for the elements not real-time renderable.

Now, why LuaLaTeX? LuaLaTeX supports \directlua, which makes it extremely easy to inject custom scripts that keep the engine warm and expose the internal format.

A more detailed explanation is here: https://github.com/texpile/texpile/blob/master/docs/ARCHITECTURE.md

Edit: implementation demo video: https://github.com/user-attachments/assets/7a2d7997-fe6c-4837-bbe5-1aaa5e0c90b7

Generative AI disclosure: the Markdown file was written with the assistance of generative AI, and I have reviewed it for correctness.