r/LaTeX

▲ 3 r/LaTeX+1 crossposts

Is Grammarly now in TeXstudio?

I opened and updated TeXstudio for Windows today, and Grammarly can now correct my text. Is this a new feature of TeXstudio or Grammarly? Either way, I am over the moon about it.

One odd problem: Grammarly doesn't always underline the section it is about to correct.

reddit.com
u/Icy-Ad4805 — 5 days ago
▲ 15 r/LaTeX

My favorite fonts

Garamond Math, Cambria Math, Computer and Latin Modern, STIX, XITS and Asana Math is my favorite math fonts, mostly Cambria Math

reddit.com
u/Hot_Efficiency6691 — 7 days ago
▲ 83 r/LaTeX+1 crossposts

LaTeX IDE Is Now a Standalone APK

So, guys, the LaTeX IDE is now a standalone APK, with no need for Termux.

I’d like to thank the Termux community for all the support and for the amazing project. If anyone needs the LaTeX engine compiled to run on pure ARM64, feel free to DM me.

u/Warm_Ad1115 — 10 days ago
▲ 9 r/LaTeX+1 crossposts

My Fully Local LaTeX IDE — GitHub Release & Feedback

Hey everyone! As promised, here’s the link to the GitHub repository for my fully local IDE for compiling LaTeX documents.
Please give it a try and let me know what you think! I’d really appreciate your feedback, suggestions, and any issues you come across.
Link: https://github.com/jkestavivo/latex-termux-ide/tree/main

reddit.com
u/Warm_Ad1115 — 8 days ago
▲ 49 r/LaTeX

How do you prefer to write LaTeX: locally vs online?

Personally, I prefer local setup where I can take advantage of the whole vscode ecosystem.

View Poll

reddit.com
u/DungAkira — 11 days ago
▲ 0 r/LaTeX

A codex prism since prism.openai.com has been in degraded mode for too long

Hello! I had become addicted to writing most of my scientific, science-oriented and even business documents with OpenAI prism. I do prefer to run tools locally, but for some reason prism was perfect for my reasoning flow.

It's been in degraded mode for weeks now, affecting my work.

So based on the *excellent* https://github.com/delibae/claude-prism I've worked a codex-based version, that can be found here if this is of interest to others:

https://github.com/beniz/codex-prism

To be honest, as CS person, I have the feeling we won't be looking at straight Latex code for long anymore. So as I'm fitting this tool to my own usage as well, I've deactivated the Latex code panel by default. I might tighten the git support and some other experimental features. I use this tool daily.

Interested in having thoughts of other people on the future of writing docs.

u/pilooch — 7 days ago
▲ 0 r/LaTeX+1 crossposts

can't knit to pdf because of error(latex)

this is my first time using LaTex for school work and I have no idea whats causing error.... Any help appreciated thank you

[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
! Missing $ inserted.
<inserted text> 
                $
l.168 \sum
          \emph{\{i=1\}\^{}ne\_i =
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Try to find the following text in Question_4.Rmd:
  \sum 

You may need to add $ $ around a certain inline R expression `r ` in Question.Rmd (see the above hint). See https://github.com/rstudio/rmarkdown/issues/385 for more info.
Error: LaTeX failed to compile Question.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Question.log for more info.
Execution halted

$$

\begin{aligned}

\frac{\partial RSS}{\partial \beta_0}

&= -2\sum_{i=1}^n(y_i-\beta_0-\beta_1x_i)\\

&= -2(\sum_{i=1}^n y_i-\sum_{i=1}^n\beta_0-\beta_1\sum_{i=1}^n x_i)\\

&= -2(n\bar{y}-n\beta_0-n\beta_1\bar{x})\\

&= -2(n\bar{y}-n\beta_0-n\beta_1\bar{x})\\

&= (n\bar{y}-n\beta_0-n\beta_1\bar{x})\\

&= (\bar{y}-\beta_0-\beta_1\bar{x})\\

&= \beta_0 = \bar{y}-\beta_1\bar{x}

\end{aligned}

$$

$$

\begin{aligned}

\frac{\partial RSS}{\partial \beta_1}

&= -2\sum_{i=1}^n x_i(y_i-\beta_0-\beta_1x_i)\\

&= -2(\sum_{i=1}^n x_iy_i-\beta_0\sum_{i=1}^n x_i-\beta_1\sum_{i=1}^n x_i^2)\\

&= -2(\sum_{i=1}^n x_iy_i-n\beta_0\bar{x}-\beta_1\sum_{i=1}^n x_i^2)\\

&= -2(\sum_{i=1}^n x_iy_i-n\bar{x}(\bar{y}-\beta_1\bar{x})-\beta_1\sum_{i=1}^n x_i^2)\\

&= -2(\sum_{i=1}^n x_iy_i-n\bar{x}\bar{y}+n\beta_1\bar{x}^2-\beta_1\sum_{i=1}^n x_i^2)\\

&= \sum_{i=1}^n x_iy_i-n\bar{x}\bar{y}+n\beta_1\bar{x}^2-\beta_1\sum_{i=1}^n x_i^2=0\\

&= \beta_1(\sum_{i=1}^n x_i^2-n\bar{x}^2)

=\sum_{i=1}^n x_iy_i-n\bar{x}\bar{y}\\

&= \beta_1S_{xx}=S_{xy}\\

&= \beta_1=\frac{S_{xy}}{S_{xx}}

\end{aligned}

$$

$$

\sum_{i=1}^ne_i

= \sum_{i=1}^n(Y_i-b_0-b_1X_i)\\

= \sum_{i=1}^nY_i-nb_0-b_1\sum_{i=1}^nX_i\\

= \sum_{i=1}^n(b_0+b_1X_1)-nb_0-b_1\sum_{i=1}^nX_i\\

=0

$$

$$

\begin{aligned}

\sum_{i=1}^n e_iX_i

&= \sum_{i=1}^nX_i(Y_i-b_0-b_1X_i)\\

&= \sum_{i=1}^nX_iY_i-\sum_{i=1}^nX_ib_0-\sum_{i=1}^nb_1X_i^2\\

&= \sum_{i=1}^nX_iY_i-\left(b_0\sum_{i=1}^nX_i+b_1\sum_{i=1}^nX_i^2\right)\\

&= \sum_{i=1}^nX_iY_i-\sum_{i=1}^nX_iY_i\\

&= 0

\end{aligned}

$$

u/Potential-Radish-822 — 7 days ago
▲ 0 r/LaTeX

Create mathematics Notes & books in minutes

i've been working on a tool to help you create books & notes with ease

and one of it features is allowing you to write mathematical Equations in Latex

it also has co-author mode which creates any latex equation in seconds with simple prompts

youtu.be
u/Direct_Rub_3041 — 7 days ago
▲ 13 r/LaTeX

Update on texlode (real-time WYSIWYG LaTeX editor for very long documents)

I made a short reel showing where texlode (a real-time WYSIWYG LaTeX editor for very long documents) stands right now.

Since the TUG talk in July, I have spent most of the time optimizing CPU and RAM usage and stress-testing the engine against the documents you sent me. The Kerr paper at https://arxiv.org/abs/1711.07597 was especially useful due to the number of equations. Feel free to send my other examples you would like me to try (ideally under a free license).

Timeline:

  • Oct 7-11: Try the editor yourself at the Frankfurt Book Fair, Hall 4.1, booth F97.
  • Mid October: The beta starts on EU servers, I invite you to join the waiting list at texlode.com
  • Mid November: If all goes well, servers in North America and Asia will follow to reduce latency.

A local version is not on the roadmap, but I am evaluating an API that would allow browser or local plugins (for example, for VS Code).

What is left to do is further tuning the server tiers.

  • My LaTeX book (300 pages) loads in the free tier, barely.
  • The Kerr paper (800 pages, heavy math) sits comfortably in the standard tier.
  • Large proceedings (with thousands of papers) might need a larger machine.

Client-side, it will work on weaker machines as I do not off-load compilation to the client (although I am observing the WebAssembly space), so you can use it on-the-go and review/comment/edit the output in print-quality even on a mobile phone.

I also have new/corrected benchmark numbers (see https://github.com/texlode/luatex-benchmark/issues/1 ), which I will update again in October.

Limitations: texlode is heavily optimized for books, monographs, and proceedings using KOMA document classes. Support for custom papers and other document classes is in progress but will not be ready at launch. Likewise, if you develop LaTeX packages, you will run into walls: texlode is built for authors, not package developers. That being said, especially because you get real-time output, it might be interesting for the development/debugging of some packages. Let me know if you want me to try out yours. As mentioned in my TUG talk, the next step here would be to develop/adapt packages to make use of the real-time aspect for some chapter-wide optimizations of float positioning, better runt/river detection, visual two-page optimization etc.

Disclaimer: While I am evaluating adding LLM support to texlode to improve typesetting, texlode is LLM-free for now (including the docx/idml import).

Feel free to ask questions, I will try to address them over the next 2 weeks!

youtu.be
u/ClemensLode — 11 days ago
▲ 2 r/LaTeX

Patch for imakeidx

Hello,

I compile my documents in a different output directory.

A package I use, imakeidx, does not support this. There are solutions, such as this one, but I grew tired of copy pasting the same workaround across all my documents.

I therefore wrote a patch for imakeidx.sty, and would like to upstream it so anyone can benefit from it.

I tried to contact the maintainer (EG), but it seems they are not available anymore. The last release of the package was 2016 after all.

I'm a bit at loss with what to do next, hence my posting here.

Thank you very much.

reddit.com
u/chloeroform- — 10 days ago
▲ 0 r/LaTeX

Why LaTeX is amazing. And at the same time is not.

Hi guys,

I just published a post telling a little bit of my story with TeX and also telling about something I’ve being working for the last years.

Basically I built an extension of Markdown, plus a transpiler to write in a super easier format, but that generates a .tex and compiles as a Tex file. The ideia is keeping TeX on the background and exposing a more simple version, but you can also edit if needed.

If you want access to the repo,

https://github.com/caiocgomes/terse

Who wants to read the whole story,

https://mrcaiogomes.substack.com/p/why-latex-is-amazing-and-at-the-same

u/FisicoTuristaOficial — 10 days ago
▲ 5 r/LaTeX

LaTeX offline reference manual?

Just wondering if an offline app exists for looking up any LaTeX (or TeX) command and getting a brief description of it.

Or if such reference data was freely available for building a simple tool around. (Or using an existing tool like navi [1].)

[1] https://github.com/denisidoro/navi

u/PercyLives — 11 days ago
▲ 0 r/LaTeX

Give it a Try

CiteTeX.com

My new project CiteTex.com , LaTeX Engine + Academic Search Engine (supported with Ai tools ) , Try and feedback with your ideas , It is free , and has a connector inside Claude .

u/Educational_Fig_5775 — 10 days ago