I'm trying to take lecture notes using org-mode
and cdlatex-mode
. The problem I meet is when I try to use Tab
to expand fr
it doesn't expand correctly.
\(fr<Tab>\)
will become \(\begin{frame}[]\frametitle{}\end{frame}\)
instead of \(\frac{}{}\)
and there is a warning saying that Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer MatrixComputation.org> (latex-mode)
.
I'm using doom emacs
and only open org-cdlatex-mode
as a minor mode. How can I fix this problem to make \(fr<Tab>\)
works properly?