aboutsummaryrefslogtreecommitdiff
path: root/giraf.sty
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-12-08 15:35:30 +0100
committertomsmeding <hallo@tomsmeding.nl>2015-12-08 15:35:30 +0100
commit64d4a7a16ddf05ad1ccbfdfa10646fd28d2901fb (patch)
tree63201e31138caec40d3ae0117941ef13bd8f7930 /giraf.sty
parent3f892ec7a841bbf816e0160d270d8a44b86f351d (diff)
Add gsection
Diffstat (limited to 'giraf.sty')
-rw-r--r--giraf.sty14
1 files changed, 14 insertions, 0 deletions
diff --git a/giraf.sty b/giraf.sty
index 7475cf8..83e5132 100644
--- a/giraf.sty
+++ b/giraf.sty
@@ -81,3 +81,17 @@
\raisebox{-3pt}{\includegraphics[height=0.4cm]{speculaas.pdf}}%
\hspace{3pt}%
}
+
+
+\newcommand\gsection[1]{%
+ \par\vspace{3ex}%
+ \raisebox{.8ex}{\makebox[\linewidth]{%
+ \hfill%
+ \rule{1.5cm}{.4pt}\hspace{4mm}%
+ \raisebox{-.8ex}{\Large\textbf{#1}}%
+ \hspace{4mm}\rule{1.5cm}{.4pt}%
+ \hfill%
+ }}\nopagebreak%
+
+ \vspace{-\parskip}%
+}