From 64d4a7a16ddf05ad1ccbfdfa10646fd28d2901fb Mon Sep 17 00:00:00 2001
From: tomsmeding <hallo@tomsmeding.nl>
Date: Tue, 8 Dec 2015 15:35:30 +0100
Subject: Add gsection

---
 giraf.sty | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'giraf.sty')

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}%
+}
-- 
cgit v1.2.3-54-g00ecf

