on the way to one universal LaTeX header.tex-file

I have modified my LaTeX Header.tex to be used in both, beamer-presentations and normal Documents (article or whatever). You can just test if beamer was used as documentsclass and in that case do some more specific stuff. See:

% if beamer-presentation do do some more
	% which themes do i have installed? 
        % ~$ for theme in beameroutertheme beamerinnertheme beamertheme beamercolortheme; do
        %       echo "For $theme you can use the following:";
        %       echo $(locate $theme|awk -F"$theme"'|.sty' '{print $2}');
        %       echo "";
        %    done
	% Torino AnnArbor Antibes Bergen Berkeley Berlin Boadilla CambridgeUS Copenhagen Darmstadt Dresden Frankfurt Goettingen Hannover Ilmenau JuanLesPins Luebeck Madrid Malmoe Marburg Montpellier PaloAlto Pittsburgh Rochester Singapore Szeged Warsaw boxes default bars classic compatibility lined plain shadow sidebar split tree JLTree bidiJLTree
	% infolines miniframes shadow sidebar smoothbars smoothtree split tree decolines
	% circles inmargin rectangles rounded, fancy
        \definecolor{mygreen}{rgb}{0.2, 0.58, 0.19}
        % quoted citation command \zitat[heading]{citation}
	% subfigure counter resets every frame
	% Insert a table of contents slide on every new section
	% here would be everything that has to be loaded not in beamer-, but only in normal latex-documents

Have a nice weekend!


Peter Pan. Kann fliegen mit Feenstaub.

Tagged with: ,
Posted in LaTeX, Technik
One comment on “on the way to one universal LaTeX header.tex-file
  1. […] bit longer is the piece of code that you have to add to your Header.tex file. But note, that you only need LaTeX-code here. Customization does not involve bibtex-style […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Posts by topic…
…by month
Have a look at…

%d bloggers like this: