From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: syntax highlighting of inline LaTeX fragments Date: Mon, 03 Nov 2014 08:43:16 +0100 Message-ID: <871tpkzq3v.fsf@gmx.us> References: <87a949gdck.fsf@uw.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlCIZ-00006N-Vi for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 02:43:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlCIT-0006om-Of for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 02:43:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:42499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlCIT-0006of-IF for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 02:43:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XlCIS-0002BG-4C for emacs-orgmode@gnu.org; Mon, 03 Nov 2014 08:43:28 +0100 Received: from 1.97.135.37.dynamic.jazztel.es ([37.135.97.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Nov 2014 08:43:28 +0100 Received: from rasmus by 1.97.135.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Nov 2014 08:43:28 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Brady Trainor writes: > Ilya Shlyakhter 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!