frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: What editor for LaTeX notes do you use?

2•quamserena•1h ago
I am looking for a text editor to take LaTeX notes in. What do you all use? Here are my requirements:

1. Document is some plain text format with inline LaTeX support, e.g. Markdown with LaTeX or Org mode.

2. Editor provides a live, inline preview while you are typing, including LaTeX.

3. Plugin available for LaTeX shortcuts.

I am not a fan of side-by-side source and rendered PDF; on large documents it can be hard to find your place in the LaTeX soup. That's why I want the preview to be inline.

I have tried Obsidian, emacs org-mode, and Joplin.

Obsidian: - With the more complicated stuff, MathJax is limiting and not configurable (e.g. lack of diagrams or packages). This is the main reason I want to move away.

- Weird notion of vaults, for some reason Obsidian insists on being special. Why can't I open any file with Obsidian? The file explorer pane is garbage compared to what you'd find in VSCode.

- Latex Suite plugin is nice for custom LaTeX shortcuts.

- I have also had some serious papercuts where everything looked fine in the live preview and then has errors in the PDF export. New problem I've been having is that occasionally on export, some symbols are blank. Exporting again usually fixes it.

emacs org-mode:

- There is no live, inline LaTeX preview. Best I could find was emacs-webkit-katex-render[0], but it's basically creating a webkit widget and rendering KaTeX. It's a completely separate renderer from the rest of org-mode-latex. Again it's not configurable and won't support LaTeX packages. I'm not sure if AUCTeX is even amenable to live previews, might be too slow. org-fragtog hides the fragment while you're editing so no live preview through that plugin either.

- cdlatex looks nice for shortcuts. Probably more powerful and more polished than Latex Suite for Obsidian, but haven't explored it fully yet.

Joplin: - I moved to Obsidian from Joplin originally. I don't think Joplin supports live previews for LaTeX, but this might have changed since I last used it.

So far I haven't found a program that's the best at all 3. As much as I hate bloated Electron apps, it seems as though the web people are the only ones who have figured out how to do live LaTeX previews. Is there better software out there for LaTeX than Obsidian?

[0] https://github.com/fuxialexander/emacs-webkit-katex-render

Comments

perihelions•1h ago
It's only a few lines of Elisp to implement in-line preview according to your preferred style. I DIY'd one myself: my choice is to work a paragraph level, alternating blocks of TeX source with in-line image outputs. All you need to do (at minimum) is slurp a text paragraph, pipe it into a TeX command, and glue the output back in with (insert-image) or one of its friends. All the basic text-editing commands are on hand, because Emacs' API treats image objects (almost) identically to plain text.

Whichever package you use, it should be reasonably simple to edit this aspect of its behavior.

quamserena•1h ago
Cool! I am still new to emacs. Would you be willing to share the elisp? Would be a nice starting point for me :)
karthink•41m ago
> emacs org-mode: There is no live, inline LaTeX preview.

There is, but we haven't managed to merge it into Org mode yet because we (the feature authors) and the Org maintainer have been busy with other things.

Here are some screencasts:

- https://share.karthinks.com/olp-auto-mode-env-1.mp4

- https://share.karthinks.com/olp-auto-mode-inline-1.mp4

Here's a longer explainer (this is part 2/2): https://www.youtube.com/watch?v=u44X_th6_oY

Here are instructions if you want to try the fork of Org mode that provides this feature: https://abode.karthinks.com/org-latex-preview/

Bolsonaro Sentenced to 27 Years in Prison for Plotting Coup

https://www.bloomberg.com/news/articles/2025-09-11/bolsonaro-sentenced-to-27-years-in-prison-for-...
1•JumpCrisscross•2m ago•0 comments

PEP 751: Pylock.toml

https://peps.python.org/pep-0751/
1•thatxliner•2m ago•0 comments

ModStealer cross-platform malware undetected by AV tools targeting developers

https://9to5mac.com/2025/09/11/mosyle-uncovers-new-cross-platform-malware-undetected-by-antivirus...
1•MysticOracle•6m ago•1 comments

Albania appoints first AI-made minister

https://www.politico.eu/article/albania-apppoints-worlds-first-virtual-minister-edi-rama-diella/
1•birriel•6m ago•0 comments

Wind and solar power fuel over one-third of Brazil's electricity for first time

https://apnews.com/article/brazil-wind-solar-power-electricity-renewable-energy-13eef596389803e8b...
2•BiraIgnacio•13m ago•0 comments

Fartscroll-Lid: An app that plays fart sounds when opening or closing a MacBook

https://github.com/iannuttall/fartscroll-lid
4•gaws•15m ago•0 comments

Bolsonaro Convicted of Attempting a Coup in Brazil

https://www.nytimes.com/2025/09/11/world/americas/bolsonaro-convicted-coup-attempt.html
6•2OEH8eoCRo0•17m ago•1 comments

Statement on OpenAI's Nonprofit and PBC

https://openai.com/index/statement-on-openai-nonprofit-and-pbc/
3•MaxLeiter•20m ago•1 comments

Danish supermarket chain is setting up "Emergency Stores"

https://swiss.social/@swaldorff/115186445638788782
2•sohkamyung•21m ago•0 comments

The Bill Gates Interview (1994)

https://tech-insider.org/windows/research/1994/07.html
2•ChadNauseam•25m ago•0 comments

Fear and Loathing in America by Hunter S. Thompson

https://www.espn.com/espn/page2/story?id=1250751
2•nabla9•26m ago•1 comments

Active Heat Pump Group Buys / Pre-Negotiated Offers (US, Canada, International)

https://old.reddit.com/r/heatpumps/comments/1nem4j0/active_heat_pump_group_buys_prenegotiated_off...
3•ssuds•26m ago•0 comments

Drug Interaction Checker

https://reference.medscape.com/drug-interactionchecker
1•wjb3•27m ago•0 comments

SHOW HN: I develop the best Website, Mobile(Android/iOS), AI/ML and many more

1•syketdas•28m ago•0 comments

Emacs Bankruptcy

https://irreal.org/blog/?p=13257
2•freediver•30m ago•0 comments

Acoustic emissions dose and blood-brain barrier opening with focused ultrasound

https://www.cell.com/device/fulltext/S2666-9986(25)00207-8
1•PaulHoule•32m ago•0 comments

Thoughts on How to Disagree

https://johnsillings.com/2025/09/11/thoughts-on-how-to-disagree.html
3•johnsillings•33m ago•0 comments

OpenAI's Sam Altman sees a future with a collective 'superintelligence'

https://thenewstack.io/openais-sam-altman-sees-a-future-with-a-collective-superintelligence/
1•MilnerRoute•34m ago•0 comments

Our Diet Is Our Destiny

https://www.medscape.com/viewarticle/our-diet-our-destiny-2025a1000ngw
1•wjb3•34m ago•0 comments

Statistical ­ Nonsignificance in Empirical Economics [pdf]

https://economics.mit.edu/sites/default/files/publications/StatisticalNonsignificanceinEmpiricalE...
1•malshe•34m ago•1 comments

PFM-1 Land Mine

https://en.wikipedia.org/wiki/PFM-1_mine
2•cyanf•35m ago•0 comments

Dissecting Batching Effects in GPT Inference

https://le.qun.ch/en/blog/2023/05/13/transformer-batching/
1•jxmorris12•41m ago•0 comments

Strawberries in Winter

https://www.theatlantic.com/politics/archive/2025/09/charlie-kirk-assassination-civil-war/684181/
3•JumpCrisscross•41m ago•0 comments

In Praise of Passivity [pdf]

https://bazhum.muzhp.pl/media/texts/studia-humana/2012-numer-2/studia_humana-r2012-t-n2-s12-28.pdf
1•b_e_n_t_o_n•42m ago•0 comments

Show HN: Pbar.io – Distributed progress bars that work in terminals and browsers

https://pbar.io
3•clav88•43m ago•0 comments

SEC Moves to Dismiss Case Against Former Nikola CEO Milton

https://www.bloomberg.com/news/articles/2025-09-11/sec-moves-to-dismiss-case-against-former-nikol...
2•JumpCrisscross•44m ago•0 comments

Show HN: Fast Tor Onion Service vanity address generator

https://github.com/AlexanderYastrebov/onion-vanity-address
3•age123456gpg•46m ago•0 comments

Duke, Michigan.gov, CA.gov Compromised in Large-Scale SEO Attack

https://il.ly/blog/parasite-seo-attack-gov-edu
4•illyism•46m ago•3 comments

The ClickFix Attack That Wasn't: From a Fake AnyDesk Installer to MetaStealer

https://www.huntress.com/blog/fake-anydesk-clickfix-metastealer-malware
1•type0•49m ago•0 comments

Architecture by Fashion, Not Fundamentals

https://substack.com/inbox/post/173391778
1•valyala•51m ago•0 comments