Can I use another character than "*" to start a headline?
[Worg.git] / org-color-themes.org
bloba9330463a24d2918c72e3857557142dd92dba424
1 #+OPTIONS:    H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:nil d:(HIDE) tags:not-in-toc
2 #+STARTUP:    align fold nodlcheck hidestars oddeven lognotestate
3 #+SEQ_TODO:   TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
4 #+TAGS:       Write(w) Update(u) Fix(f) Check(c)
5 #+TITLE:      Org Color Themes
6 #+AUTHOR:     Worg people
7 #+EMAIL:      mdl AT imapmail DOT org
8 #+LANGUAGE:   en
9 #+PRIORITIES: A C B
10 #+CATEGORY:   worg
12 # This file is the default header for new Org files in Worg.  Feel free
13 # to tailor it to your needs.
15 #+MACRO: screenshot #+HTML: <br style="clear:both;"/><div class="figure"><p><img style="float:center;margin:20px 20px 20px 20px;" width="500px" src="$2"/></p><p><a href="http://repo.or.cz/w/Worg.git/blob_plain/HEAD:/color-themes/$1">$1</a></p></div>
17 [[file:index.org][{Back to Worg's index}]]
20 # Contributing Screenshots to this page.
22 # To make an addition to this page
23 # 1) place your screenshot in the /images/screenshots/ directory in the
24 #    base of the worg repository -- or not if you'd rather host the
25 #    image externally
26 # 2) place your color-theme-*.el file in the /color-themes/ file in the
27 #    base of the worg repository
28 # 3) add a macro call like those shown below passing the name of your
29 #    color theme and the link to your screen-shot respectively to the
30 #    =screenshot= macro
32 * Org Colour Themes.
33 A popular way of customizing Emacs colours is to use the color-theme
34 package (see [[http://www.emacswiki.org/emacs/ColorTheme][color-theme emacswiki page]].)
36 Here is a list of color themes that are aware of Org:
37 You can see screen shots of these themes [[file:color-themes-screenshot.org][here]]. Once you have
38 installed a theme it is easy to tweak its appearance by editing the
39 theme's lisp file.
41 Some of these themes are available in Worg in the color-themes
42 directory, whilst others are linked either to the author's site, or to Github.
44 There is a page with screenshots of each of the themes [[file:color-themes-screenshot.org][here]] .
46 ** [[http://www.brockman.se/software/zenburn/zenburn.el][color-theme-zenburn.el]] (maintained by Daniel Brockman)
47 ** [[file:~/Private/Dropbox/Worg/color-themes/color-theme-colorful-obsolescence.el][color-theme-colorful-obsolescence.el]] (Scott Jaderholm)
49 Links to Scott's themes all point directly to his site.
50 ** [[http://jaderholm.com/color-themes/color-theme-wombat.el][color-theme-wombat.el]] (Scott Jaderholm)
52 ** [[http://jaderholm.com/color-themes/color-theme-active.el][color-theme-active.el]] (Scott Jaderholm)
54 ** [[file:color-themes/color-theme-leuven.el][color-theme-leuven.el]] (maintained by Sebastien Vauban)
56 ** [[file:color-themes/color-theme-zenburn.el][color-theme-zenburn.el]] (Daniel Brockman Adrian C., Bastien Guerry)
58 ** [[file:color-themes/color-theme-tangotango.el][color-theme-tangotango.el]] (Julien Barnier)
59 [[http://blog.nozav.org/post/2010/07/12/Updated-tangotango-emacs-color-theme][Link]] to Julien's blog post about tangotango. [[http://github.com/juba/color-theme-tangotango][Link]] to the Github repository.
61 ** [[file:color-themes/color-theme-folio.el][color-theme-folio.el]] color-theme-folio.el (David O'Toole)
63 ** [[file:color-themes/color-theme-manoj.el][color-theme-manoj.el]] (maintained by [[http://www.golden-gryphon.com/blog/manoj/blog/2008/05/26/Theming_Emacs/][Memnon]])
65 ** [[file:color-themes/color-theme-zenash.el][color-theme-zenash.el]] (maintained by Yavuz Arkun)
66 A modified version of zenburn. [[http://github.com/yarkun/zenash][Link]] to the Github repository.
68 ** [[http://github.com/suvayu/.emacs.d/blob/master/lisp/color-theme-dark-emacs.el][color-theme-dark-emacs.el]] (maintained by Suvayu Ali)
69 Based on theme made by the emacswiki user, ZWZ. The original theme can
70 be found [[http://www.emacswiki.org/emacs/zwz][here]] . Suvayu has also made some org-mode font modifications
71 outside of the coloor theme, which can be obtained [[http://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el#L69][here]]. Suvayu's
72 [[http://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el#L69][init.el]] which gives more information on how to use his customizations
73 is available [[http://github.com/suvayu/.emacs.d/blob/master/lisp/org-mode-settings.el#L69][here]].
76 ** Installing Org Colour Themes.
77 First make sure that you have the Emacs color-theme package
78 installed. Copy the lisp files for the themes into a directory in your
79 Emacs load path.
81 If you want to be able to easily cycle between different
82 colour schemes, you need something like the following in your .emacs:
84 #+BEGIN_SRC emacs-lisp
85 (require 'color-theme)
86 (setq color-theme-is-global t)
87 (color-theme-initialize)
89 (load "color-theme-colorful-obsolescence")
90 (load "color-theme-zenburn")
91 (load "color-theme-tangotango")
92 (load "color-theme-railscast")
93 (load "color-theme-leuven")
94 (load "color-theme-folio")
95 (load "color-theme-zenash")
96 (load "color-theme-manoj")
98 (setq my-color-themes (list
99   'color-theme-tangotango
100   'color-theme-colorful-obsolescence 'color-theme-zenburn
101   'color-theme-leuven 'color-theme-folio 
102   'color-theme-manoj 'color-theme-zenash
103   'color-theme-railscast
106 (defun my-theme-set-default () ; Set the first row
107       (interactive)
108       (setq theme-current my-color-themes)
109       (funcall (car theme-current)))
110      
111     (defun my-describe-theme () ; Show the current theme
112       (interactive)
113       (message "%s" (car theme-current)))
114      
115    ; Set the next theme (fixed by Chris Webber - tanks)
116     (defun my-theme-cycle ()            
117       (interactive)
118       (setq theme-current (cdr theme-current))
119       (if (null theme-current)
120       (setq theme-current my-color-themes))
121       (funcall (car theme-current))
122       (message "%S" (car theme-current)))
123     
124     (setq theme-current my-color-themes)
125     (setq color-theme-is-global nil) ; Initialization
126     (my-theme-set-default)
127     (global-set-key [f4] 'my-theme-cycle)
128   
129 #+END_SRC
131 Now you can cycle through the installed themes using the F4 key.