Skip to content
Snippets Groups Projects
Commit 4dc81e64 authored by Laros's avatar Laros
Browse files

Makefile:

- Added better handling of bibliography.
- Added support for gnuplot images.

beamerthemelumc.sty:
- Added support for docking text on the bottom of the page (with \vfill).
- Added miscellaneous commands for typesetting, fonts, etc.
parent ab8c4fbb
No related branches found
No related tags found
No related merge requests found
...@@ -5,31 +5,40 @@ LATEX = latex ...@@ -5,31 +5,40 @@ LATEX = latex
BIBTEX = bibtex BIBTEX = bibtex
DVIPS = dvips DVIPS = dvips
PS2PDF = ps2pdf14 PS2PDF = ps2pdf14
GNUPLOT = gnuplot
PDF = $(addsuffix .pdf, $(basename $(shell grep -l '\\begin{document' *.tex))) PDF = $(addsuffix .pdf, $(basename $(shell grep -l '\\begin{document' *.tex)))
BIB = $(addsuffix .bbl, $(basename $(shell grep -l '\\cite{' *.tex))) BIB = $(addsuffix .bbl, $(basename $(shell grep -l '\\nocite{\|\\cite{' *.tex)))
EPS = $(addsuffix .eps, $(basename $(shell ls *.gnp)))
all: $(BIB) $(PDF) all: $(EPS) $(BIB) $(PDF) clean
clean: clean:
rm -f *.blg *.log *.nav *.out *.snm *.toc *.dvi *.aux rm -f *.blg *.log *.nav *.out *.snm *.toc *.dvi *.aux *.vrb
release: all clean release: all clean
distclean: clean distclean: clean
rm -f $(BIB) $(PDF) rm -f $(BIB) $(PDF) $(EPS)
%.aux %.dvi: %.tex %.aux: %.tex
$(LATEX) $^
$(LATEX) $^
$(LATEX) $^ $(LATEX) $^
rm $(addsuffix .dvi, $(basename $^))
%.bbl: %.aux %.bbl: %.aux
$(BIBTEX) $(basename $^) $(BIBTEX) $(basename $^)
%.dvi: %.tex
$(LATEX) $^
$(LATEX) $^
$(LATEX) $^
%.ps: %.dvi %.ps: %.dvi
$(DVIPS) $^ -o $@ $(DVIPS) $^ -o $@
%.pdf: %.ps %.pdf: %.ps
$(PS2PDF) $^ $(PS2PDF) $^
%.eps: %.gnp
$(GNUPLOT) < $<
...@@ -14,14 +14,25 @@ ...@@ -14,14 +14,25 @@
% For the footer. % For the footer.
\usepackage{tabularx} \usepackage{tabularx}
% Always nice to have.
\usepackage{multirow}
\usepackage{multicol}
\usepackage{ifthen}
% Some defaults for using a bibliography.
\usepackage{bibentry}
\setbeamertemplate{bibliography item}[triangle]
\bibliographystyle{plain}
% Select a nicer font. % Select a nicer font.
\usepackage{newcent} \usepackage{newcent}
\renewcommand{\sfdefault}{pnc} \renewcommand{\sfdefault}{pnc}
\usepackage{eurosym}
% Package for making graphs and automata. % Package for making graphs and automata.
\usepackage{gastex} \usepackage{gastex}
% Spaces around `=' break functionality. % Spaces around `=' break functionality.
\gasset{Nadjust=w, linecolor=white, linewidth=0.5} \gasset{linecolor=white, linewidth=0.5, AHLength=3}
% Custom colours (use the gimp colour picker and divide by 255). % Custom colours (use the gimp colour picker and divide by 255).
\definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039} \definecolor{LUMCBlue}{rgb}{0, 0.11372, 0.38039}
...@@ -37,20 +48,35 @@ ...@@ -37,20 +48,35 @@
% Change the bullets in the itemize environment. % Change the bullets in the itemize environment.
\setbeamertemplate{itemize items}[circle] \setbeamertemplate{itemize items}[circle]
\newcommand{\fakeitem}{\,\ \ \ $\bullet$\ \,}
% Macro for bold text. % Macros for bold text.
\newcommand{\bt}[1]{\texttt{\textbf{#1}}} \newcommand{\bt}[1]{\texttt{\textbf{#1}}} % Bold truetype.
\newcommand{\bs}[1]{\bf{\scriptsize{#1}}} % Bold small.
\newcommand{\bi}[1]{\textit{\textbf{#1}}} % Bold italic.
\newcommand{\bsi}[1]{\textit{\textbf{\scriptsize{#1}}}} % Bold italic small.
\newcommand{\permfoot}[1]{\onslide<1->\bs{#1}}
% Enable numbering of figures and tables. % Enable numbering of figures and tables.
\setbeamertemplate{caption}[numbered] \setbeamertemplate{caption}[numbered]
% % Put a frame title on the slide.
\renewcommand{\frametitle}[1]{ \renewcommand{\frametitle}[1]{
{\it{\textbf{#1}}} {\it{\textbf{#1}}}
\bigskip \bigskip
} }
% A filled frame, use this to make use of the \vfill command.
\newenvironment{fframe}{
\begin{frame}
\vspace{.15cm}
\vbox to 1.15\textheight \bgroup
}{
\egroup
\end{frame}
}
% %
% Settings for displaying code. % Settings for displaying code.
% %
...@@ -76,6 +102,12 @@ ...@@ -76,6 +102,12 @@
numberstyle = \tiny numberstyle = \tiny
} }
% Define an empty language to use only for typesetting.
\lstdefinelanguage{none}{}
% Trick to get out of math mode highlighting.
\newcommand{\rmath}[1]{\phantom{\lstinline!#1!}}
% %
% Settings for the title page. % Settings for the title page.
% %
......
...@@ -18,6 +18,8 @@ ln -s $here/lumc_logo_small.eps $1/ ...@@ -18,6 +18,8 @@ ln -s $here/lumc_logo_small.eps $1/
ln -s $here/ul_logo.eps $1/ ln -s $here/ul_logo.eps $1/
ln -s $here/lgtc_logo.eps $1/ ln -s $here/lgtc_logo.eps $1/
ln -s $here/nbic_logo.eps $1/ ln -s $here/nbic_logo.eps $1/
ln -s $here/nwo_logo_en.eps $1/
ln -s $here/ngi_logo.eps $1/
ln -s $here/gen2phen_logo.eps $1/ ln -s $here/gen2phen_logo.eps $1/
ln -s $here/Makefile $1/ ln -s $here/Makefile $1/
ln -s $here/beamerthemelumc.sty $1/ ln -s $here/beamerthemelumc.sty $1/
......
...@@ -9,12 +9,14 @@ ...@@ -9,12 +9,14 @@
\providecommand{\myCenter}{Center for Human and Clinical Genetics} \providecommand{\myCenter}{Center for Human and Clinical Genetics}
\providecommand{\lastCenterLogo}{ \providecommand{\lastCenterLogo}{
\raisebox{-0.1cm}{ \raisebox{-0.1cm}{
\includegraphics[height = 1cm]{lgtc_logo} %\includegraphics[height = 1cm]{lgtc_logo}
%\includegraphics[height = 0.7cm]{ngi_logo}
} }
} }
\providecommand{\lastRightLogo}{ \providecommand{\lastRightLogo}{
\includegraphics[height = 0.7cm]{nbic_logo} %\includegraphics[height = 0.7cm]{nbic_logo}
%\includegraphics[height = 0.8cm]{nwo_logo_en} %\includegraphics[height = 0.8cm]{nwo_logo_en}
%\hspace{1.5cm}\includegraphics[height = 0.7cm]{gen2phen_logo}
} }
\usetheme{lumc} \usetheme{lumc}
...@@ -30,13 +32,19 @@ ...@@ -30,13 +32,19 @@
% First page of the presentation. % First page of the presentation.
\section{Introduction} \section{Introduction}
\begin{frame} \begin{frame}
\frametitle{Title of this frame.} \frametitle{Title of this frame.}
First line. First line.
\pause
Second line.
\end{frame}
\pause \begin{fframe}
\frametitle{Title of this frame.}
Second line. \vfill
\end{frame} \end{fframe}
\section{Topic2} \section{Topic2}
\begin{frame} \begin{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment