From: "Léo Ackermann" <leo.komba@gmail.com>
To: emacs-orgmode@gnu.org
Subject: An org-latex face
Date: Tue, 1 Jun 2021 08:04:47 +0200 [thread overview]
Message-ID: <CAFhsWEiy8BF=o6sz1CevV_rTNTOmo7c_JiQ9d+Dpn2Hwn6xm4A@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 826 bytes --]
Hi,
When it comes to preview inline LaTeX fragments within org-mode, the org
package applies the `org-block` face. It would be nice to *treat inline
latex block specially*, to make integration of the those preview-block
easier when surrounded by plaintext. This feature would allow to have a
theme that highlight blocks (source code, examples) without the background
artifact you can see in attachment when previewing latex fragments.
It seems that a way to adress this is to add another `org-latex` face, as
we already have with `org-quote`. One could also change the
`org-src-font-lock-fontify-block` function to include a subroutine for
inline latex blocks. Nevertheless, the later seems to be harder to
customize...
What do you think of this ?
Thank you for your job on this amazing program!
Have a nice day!
Best,
Leo
[-- Attachment #1.2: Type: text/html, Size: 962 bytes --]
[-- Attachment #2: artifact.png --]
[-- Type: image/png, Size: 13433 bytes --]
next reply other threads:[~2021-06-01 6:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-01 6:04 Léo Ackermann [this message]
2021-06-01 6:44 ` An org-latex face Sébastien Miquel
2021-06-01 8:21 ` Sébastien Miquel
2021-06-01 8:42 ` Timothy
2021-06-07 12:05 ` Léo Ackermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFhsWEiy8BF=o6sz1CevV_rTNTOmo7c_JiQ9d+Dpn2Hwn6xm4A@mail.gmail.com' \
--to=leo.komba@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).