I have downloaded the yasnippet package which works very nicely for my Latex files. However, I often use Org mode to write my Latex documents.

The latex snippets from yasnipet dont seem to be "active" in org-mode. i.e. typing begin and pressing tab does not expand into \begin{..} \end{..}

How can I make the Latex yasnippets active in Org mode?


2 Answers 2


Don't know how to do it directly in the org file, but if you are writing LaTeX in export blocks then you can use org-edit-special. For instance, with the point in the following export block

#+begin_export latex
LaTeX snippets 

C-c ' runs the command org-edit-special and in this case a buffer is opened with the content LaTeX snippets and in this buffer you can use all commands and functions that you can use for your LaTeX files.


As answered here you can active snippets for other major-modes with yas-activate-extra-mode

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.