Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> inline latex with live preview in org-mode

This certainly isn't the default. Could you elaborate more on how you set this up?

Edit: Found my answer. M-x org-preview-latex-fragment, which is bound to C-c C-x C-l.

Edit 2: Hey look, you can get tikz working! Evaluate or add this to your .emacs:

    (add-to-list 'org-latex-packages-alist '("" "tikz" t))
    (setq org-latex-create-formula-image-program 'imagemagick)
Then, type the following into an Org-mode document and press C-c C-x C-l:

    \begin{tikzpicture}[scale=0.1]
    \draw[fill=green] (3,0) circle (9);
    \draw[fill=orange] (1,0) circle (5);
    \draw[fill=blue] (0,0) circle (3);
\end{tikzpicture}


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: