From f7d5b05dcfc9b0b1a5c3d847f32cab7b8caeceda Mon Sep 17 00:00:00 2001
From: Aada
Date: Tue, 18 Jun 2024 18:25:26 +0200
Subject: Use standalone instead of article for heidelberg

---
 rnv/heidelberg.tex | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

(limited to 'rnv/heidelberg.tex')

diff --git a/rnv/heidelberg.tex b/rnv/heidelberg.tex
index b4a33f8..b48cecd 100644
--- a/rnv/heidelberg.tex
+++ b/rnv/heidelberg.tex
@@ -1,6 +1,4 @@
-\documentclass[a4paper]{article}
-
-\usepackage[left=0pt, right=0pt, top=0pt, bottom=0pt]{geometry}
+\documentclass[tikz]{standalone}
 
 \usepackage{tikz}
 \usepackage{fontspec}
@@ -29,11 +27,6 @@
 
 \input{../shapes.tex}
 
-\begin{document}
-\begin{center}
-\hspace{0pt}
-\vfill
-
 \pgfdeclarelayer{bg}
 \pgfdeclarelayer{lines}
 \pgfdeclarelayer{stops}
@@ -43,7 +36,7 @@
 
 \contourlength{.2ex}
 
-\def\offsetanchor#1#2{\pgfmathparse{#2*tan(#1/2)}\pgfmathresult}
+\begin{document}
 
 \begin{tikzpicture}[
     river/.style = {
@@ -123,8 +116,8 @@
   % \end{pgfonlayer}
 
   \begin{pgfonlayer}{bg}
-    \draw[help lines, color=gray!10] (-10, -15) grid[step=0.1] (10, 10);
-    \draw[help lines, color=gray!50] (-10, -15) grid (10, 10);
+    % \draw[help lines, color=gray!10] (-10, -15) grid[step=0.1] (10, 10);
+    % \draw[help lines, color=gray!50] (-10, -15) grid (10, 10);
     \draw[river] (10,1.5) -- (-1.5, 1.5) -- ++(-5.5,5.5);
   \end{pgfonlayer}
 
@@ -506,10 +499,5 @@
   \end{pgfonlayer}
 
 \end{tikzpicture}
-
-\vfill
-\hspace{0pt}
-\end{center}
 \end{document}
-
 % vim: nospell conceallevel=0
-- 
cgit v1.2.3

