[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] syntax highlighting of inline LaTeX fragments
From: |
Rasmus |
Subject: |
Re: [O] syntax highlighting of inline LaTeX fragments |
Date: |
Mon, 03 Nov 2014 08:43:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
Brady Trainor <address@hidden> writes:
> Ilya Shlyakhter <address@hidden> writes:
>
>> dear org-moders,
>> is it possible to syntax-highlight inline LaTeX fragments,
>> such as $V$ or \cite{smith2012generating} ?
>> I know you can highlight LaTeX code blocks, but I'm looking
>> specifically for highlighting of inline fragments.
>> thanks for help,
>> ilya
>
> :bump:
>
> [feature-request]
The variable `org-highlight-latex-and-related' should allow you to
highlight inline math. For citations, one solution would be something
like [[cite:smith2012generatin][Smith (2012)]].
Hope it helps,
Rasmus
--
When in doubt, do it!