0

enter image description here

As you can see, switching to the leuven theme makes my org-mode first level headlines bigger than the rest of the text. I don't like that, where can I change this behaviour? Where is the leuven-code that takes care of this modification? Is this even caused by the leuven theme?

The reason why I don't like this feature is that I'm using my own "first level headline" (see Allgemeines). So as an additional feature: How can I make my own Headings bigger instead of the org-mode headlines? (Maybe the answer to the first question will answer this question too.)

Thanks!

P.S.: I don't want to change the leuven theme, because I like the colors!

2

Fabrice added a variable for this not too long ago: leuven-scale-outline-headlines.

Most importantly, you'll have to set it to nil before the theme is loaded. One way to do that is to it through M-x customize-variable and then restart Emacs.

  • Thank you, this is even better than changing the org-faces, because it eliminates the root-cause. :-) – itmuckel Jun 30 '16 at 7:25
  • How do I make the change in the init.el file? the syntax please. – Stryker Mar 8 '17 at 19:19
1

The code is in leuven-theme.el in /usr/local/share/emacs/24.5/etc/themes dir (if you use linux and version 24.5). I don't know the path for Windows.

To change the org headlines:

M-x customize-group RET org-faces RET, then scroll to Org Level 1, click on the arrow and then on Show All Attributes. Change the height, go to the beginning of the buffer and click Apply. Repeat until you are happy with the result and then Apply and Save.

These changes will be saved in your custom-file. To see the path for this file C-h v custom-file. You can also edit it manually but this is discouraged.

  • Awesome, that did it! Good to know that I don't have to skim through the leuven-theme.el and it is accessible through a menu. Then I'll go on to find out how to highlight my real headings. Thanks for your help! :-) – itmuckel Jun 29 '16 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.