emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* conditionally color/format heading
@ 2014-02-13 23:04 Andreas Leha
  2014-02-14  8:18 ` Sebastien Vauban
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2014-02-13 23:04 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

is it possible to dynamically change the color / typeface of headings?
I would be interested to have all my headings with :noexport: tag to be
darker, for instance.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: conditionally color/format heading
  2014-02-13 23:04 conditionally color/format heading Andreas Leha
@ 2014-02-14  8:18 ` Sebastien Vauban
  2014-02-14  9:00   ` Andreas Leha
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2014-02-14  8:18 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Andreas,

Andreas Leha wrote:
> is it possible to dynamically change the color / typeface of headings?
> I would be interested to have all my headings with :noexport: tag to be
> darker, for instance.

You could be inspired by
http://article.gmane.org/gmane.emacs.orgmode/80850.

If not, a fallback solution consists in highlighting differently that
particular tag:

--8<---------------cut here---------------start------------->8---
  (setq org-tag-faces
        '(("noexport"
           (:slant italic
            :foreground "#8774AF" :background "#DED0EA"))))
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: conditionally color/format heading
  2014-02-14  8:18 ` Sebastien Vauban
@ 2014-02-14  9:00   ` Andreas Leha
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2014-02-14  9:00 UTC (permalink / raw)
  To: emacs-orgmode

Hi Sebastien,

"Sebastien Vauban" <sva-news@mygooglest.com>
writes:

> Hi Andreas,
>
> Andreas Leha wrote:
>> is it possible to dynamically change the color / typeface of headings?
>> I would be interested to have all my headings with :noexport: tag to be
>> darker, for instance.
>
> You could be inspired by
> http://article.gmane.org/gmane.emacs.orgmode/80850.
>

Thanks a bunch.  That has exactly the inspiration I was looking for.

> If not, a fallback solution consists in highlighting differently that
> particular tag:
>
>   (setq org-tag-faces
>         '(("noexport"
>            (:slant italic
>             :foreground "#8774AF" :background "#DED0EA"))))
>

Thank for this as well, although I'll try to come up with sth from the
post you linked to above.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-14  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 23:04 conditionally color/format heading Andreas Leha
2014-02-14  8:18 ` Sebastien Vauban
2014-02-14  9:00   ` Andreas Leha

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).