# Startup with LaTeX preview

**URL:** <https://org-roam.discourse.group/t/startup-with-latex-preview/585>\
**Category:** How To\
**Created:** [July 30, 2020, 11:28pm UTC](https://org-roam.discourse.group/t/startup-with-latex-preview/585 "2020-07-30T23:28:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcncm](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mcncm](https://org-roam.discourse.group/u/mcncm)\
**Post date:** [July 30, 2020, 11:28pm UTC](https://org-roam.discourse.group/t/startup-with-latex-preview/585/1 "2020-07-30T23:28:56Z")

</div>

Hi everyone,

I would quite like for my Org-roam buffers to open with latex snippets already previewed. One way to achieve this is to to manually add `#+startup: latexpreview` to the beginning of each file. That’s a bit clunky. Another would be to write some little hook that adds this line to the beginning of an Org-roam file when it’s created. I imagine there might be other ways to achieve this, as well, but I’m not at all sure what the “correct” approach would be, if Org-roam is opinionated about it! Has anyone gotten around to doing this for themselves? Could you imagine what an easy and straightforward approach would look like?

Thanks very much!

---

<div class="post-metadata">

**Author:** ![jethro](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jethro](https://org-roam.discourse.group/u/jethro)\
**Post date:** [July 31, 2020, 5:45am UTC](https://org-roam.discourse.group/t/startup-with-latex-preview/585/2 "2020-07-31T05:45:41Z")

</div>

You can find your options in this thread, depending on how often you want your latex fragments to be rerendered:

> <https://emacs.stackexchange.com/questions/38198/automatically-preview-latex-in-org-mode-as-soon-as-i-finish-typing>

---

<div class="post-metadata">

**Author:** ![mcncm](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@mcncm](https://org-roam.discourse.group/u/mcncm)\
**Post date:** [July 31, 2020, 4:31pm UTC](https://org-roam.discourse.group/t/startup-with-latex-preview/585/3 "2020-07-31T16:31:59Z")

</div>

Ah! I didn’t find `org-startup-with-latex-preview` when I was looking around earlier. So it’s best handled at the level of Org-mode, rather than Org-roam. Great, thanks so much @jethro!
