summaryrefslogtreecommitdiffstats
path: root/subsurfacelatextemplate.tex
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-01-22 20:25:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-26 07:10:29 -0800
commit7b95229f51fa4dbac11116dd7016b15ab08d1b04 (patch)
tree5f8f5674b01585eeb6c2524c3517feb43c210975 /subsurfacelatextemplate.tex
parent08b679eacb5018871adc526e7f1d3607cf4b63f7 (diff)
downloadsubsurface-7b95229f51fa4dbac11116dd7016b15ab08d1b04.tar.gz
Add a template/stylefile for LaTeX export
Signed-off-by: Pedro Neves <nevesdiver@gmail.com> Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'subsurfacelatextemplate.tex')
-rw-r--r--subsurfacelatextemplate.tex276
1 files changed, 276 insertions, 0 deletions
diff --git a/subsurfacelatextemplate.tex b/subsurfacelatextemplate.tex
new file mode 100644
index 000000000..b2476a638
--- /dev/null
+++ b/subsurfacelatextemplate.tex
@@ -0,0 +1,276 @@
+\def\ssrfunitmeter{m}
+\def\ssrfunitft{ft}
+\def\ssrfunitkg{kg}
+\def\ssrfunitlb{lb}
+\def\ssrfunitbar{bar}
+\def\ssrfunitpsi{psi}
+\def\ssrfunitcelsius{}
+\def\ssrfunitcentigrate{${}^\circ$C}
+\def\ssrfunitfahrenheit{${}^\circ$F}
+\def\ssrfunitliter{$\ell$}
+\def\ssrfunitcuft{cuft}
+\def\ssrfunitmeterpermin{m/min}
+\def\ssrfunitftpermin{ft/min}
+\def\myplot{\includegraphics[width=12.7cm,height=7.3cm]{\ssrfprofilename}}
+\documentclass{article}
+\usepackage[a4paper,margin=1cm]{geometry}
+\usepackage[utf8]{inputenc}
+\usepackage[portuguese]{babel}
+\usepackage[T1]{fontenc}
+\usepackage{graphicx}
+\usepackage{xcolor}
+\usepackage{helvet}
+\usepackage{textcomp}
+\usepackage{tikz}
+\newcommand{\myfont}{\sffamily\scriptsize}
+\tikzset{every picture/.style={/utils/exec={\myfont}}}
+
+
+\newcommand\ssrfpage{
+
+
+
+
+
+\begin{tikzpicture}[remember picture, overlay, y=0.85pt, x=0.85pt, yscale=-3.6, xscale=3.6, inner sep=0pt, outer sep=0pt]
+\begin{scope}[shift={(0,-87.0)}]
+ \path[draw=black,miter limit=10.00,nonzero rule,line width=0.207pt,rounded
+ corners=0.0000cm] (0.2764,86.8769) rectangle (147.7171,296.3175);
+ \path[fill=black] (0.0000,0.0000) node[above right] (flowRoot4524) {};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (294.3900,96.4443) node[above right] (text4770-2) {};
+ \path[fill=black,line width=0.212pt] (295.5916,96.4856) node[above right]
+ (text1077) {};
+\end{scope}
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (112.3405,95.8836) node[above right] (text4733) {Date};
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (110.6852,90.7715) -- (147.7015,90.7715) -- (147.7015,108.3254) --
+ (110.6852,108.3254) -- cycle;
+ \path[shift={(0,-87.0)},draw=black,line join=miter,line cap=butt,miter
+ limit=4.00,even odd rule,line width=0.400pt] (110.8013,98.4555) --
+ (147.7015,98.4555);
+ \path[draw=black,line join=miter,line cap=butt,miter limit=4.00,even odd
+ rule,line width=0.400pt] (130.1209,11.4555) -- (130.1209,21.3254);
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (111.6620,14.4265) node[above right] (text4758) {Max depth};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (130.5523,14.7016) node[above right] (text4762) {Dive time};
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (20.4075,90.7715) -- (33.9393,90.7715) -- (33.9393,98.7961) --
+ (20.4075,98.7961) -- cycle;
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (35.0892,90.7715) -- (109.4387,90.7715) -- (109.4387,98.7961) --
+ (35.0892,98.7961) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (35.6897,7.3798) node[above right] (text4770) {Location};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.3551,7.3798) node[above right] (text4774) {No:};
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (20.4483,93.6791) --
+ (147.7467,93.6791) -- (147.7467,131.6893) -- (20.4483,131.6893) -- cycle;
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (20.4309,99.9522) -- (109.4832,99.9522) -- (109.4832,109.6564) --
+ (20.4309,109.6564) -- cycle;
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (110.6465,34.4974) --
+ (147.7467,34.4974) -- (147.7467,92.4979) -- (110.6465,92.4979) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (112.3970,38.2627) node[above right] (text4770-1) {Signatures/stamps};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.3522,16.2480) node[above right] (text4770-9) {Buddies};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.1725,96.9371) node[above right] (text4770-0) {Notes};
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (20.4483,219.9589) -- (147.7467,219.9589) -- (147.7467,293.9135) --
+ (20.2185,293.9135) -- cycle;
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (20.4146,48.4321) --
+ (50.6867,48.4321) -- (50.6867,64.2174) -- (20.4146,64.2174) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.2175,51.3059) node[above right] (text4770-0-8-6) {Conditions};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (65.1876,70.8035) --
+ (83.7061,70.8035) -- (83.7061,76.4479) -- (65.1876,76.4479) -- cycle;
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (52.0880,48.5023) --
+ (109.4069,48.5023) -- (109.4069,83.5835) -- (52.0880,83.5835) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (52.9134,51.8125) node[above right] (text4770-1-4) {Equipment};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (52.9698,55.3757) node[above right] (text4770-1-4-4) {Suit};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.0839,68.4975) node[above right] (text4770-1-4-9) {Gases};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (52.9698,63.8888) node[above right=-0.6mm] (text4770-1-4-4-8) {Weight};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (84.5541,51.9167) node[above right] (text4770-1-4-4-85) {Tanks};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (52.8721,88.0971) node[above right] (text4770-1-4-4-2) {Rating};
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.237pt]
+ (25.8511,92.2143) -- (32.9192,92.2143) -- (32.9192,97.3296) --
+ (25.8511,97.3296) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (46.6461,5.0034) --
+ (76.5212,5.0034) -- (76.5212,10.7074) -- (46.6461,10.7074) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (120.9562,91.9200) -- (146.4161,91.9200) -- (146.4161,97.3566) --
+ (120.9562,97.3566) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (112.0476,102.8916) -- (128.9727,102.8916) -- (128.9727,107.0294) --
+ (112.0476,107.0294) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (131.0241,102.8916) -- (146.4161,102.8916) -- (146.4161,107.0294) --
+ (131.0241,107.0294) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (21.3262,104.0935) -- (107.9410,104.0935) -- (107.9410,108.6474) --
+ (21.3262,108.6474) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (21.2369,58.8196) --
+ (30.4140,58.8196) -- (30.4140,63.1953) -- (21.2369,63.1953) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (30.9935,58.8196) --
+ (39.7783,58.8196) -- (39.7783,63.1953) -- (30.9935,63.1953) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (53.2229,56.1967) --
+ (83.7061,56.1967) -- (83.7061,60.9725) -- (53.2229,60.9725) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (63.8714,62.3457) --
+ (83.7061,62.3457) -- (83.7061,67.9901) -- (63.8714,67.9901) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (84.7860,56.0263) --
+ (107.9254,56.0263) -- (107.9254,79.6335) -- (84.7860,79.6335) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (21.8133,98.5368) --
+ (146.3570,98.5368) -- (146.3570,130.5214) -- (21.8133,130.5214) -- cycle;
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (20.3549,65.1769) --
+ (50.6821,65.1769) -- (50.6821,92.4979) -- (20.3549,92.4979) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (21.2787,69.5219) --
+ (34.7830,69.5219) -- (34.7830,90.9781) -- (21.2787,90.9781) -- cycle;
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (52.0318,84.5849) --
+ (109.4306,84.5849) -- (109.4306,92.4979) -- (52.0318,92.4979) -- cycle;
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (69.8440,85.8599) --
+ (107.9254,85.8599) -- (107.9254,91.2163) -- (69.8440,91.2163) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (26.3757,8.2939) node[above right] (text4770-3) {\ssrfnumber};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.9905,20.2139) node[above right] (text4770-53) {\ssrfbuddy};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (48.9968,8.5807) node[above right] (text4770-6) {\ssrfplace};
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (20.4328,34.4973) --
+ (50.6587,34.4973) -- (50.6587,47.2133) -- (20.4328,47.2133) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.2393,38.1932) node[above right] (text4770-5) {Time};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (21.3262,38.8865) --
+ (48.9895,38.8865) -- (48.9895,45.9796) -- (21.3262,45.9796) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (27.6320,44.7196) node[above right] (text4770-12) {\ssrfhour:\ssrfminute};
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (52.1588,34.4973) --
+ (109.4776,34.4973) -- (109.4776,47.3480) -- (52.1588,47.3480) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (53.1042,37.9180) node[above right] (text4770-0-8) {Type};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (60.2784,35.8129) --
+ (107.9410,35.8129) -- (107.9410,46.0945) -- (60.2784,46.0945) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (67.3195,43.3967) node[below right=-5mm,text width=47mm] (text4770-09) {\ssrftype};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (24.8018,61.7094) node[above right] (text4770-60) {\ssrfwatertemp};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (31.6437,61.6199) node[above right] (text4770-61) {\ssrfairtemp};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (53.7828,59.2049) node[right,text width=30mm] (text4770-7) {\ssrfsuit};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (64.3004,65.7119) node[above right] (text4770-02) {\ssrftotalweight};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.7259,72.6977) node[above right] (text4770-59) {\ssrfcylagasname};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (86.0143,58.7748) node[above right] (text4770-36) {\ssrfcyladescription};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (71.4736,88.9620) node[above right] (text4770-19) {\ssrfrating};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.6591,102.2643) node[below right=1mm, text width=13cm] (text4770-361) {\ssrfcomment};
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (127.0870,95.6388) node[above right] (text4770-63) {\ssrfdate};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.612pt]
+ (121.1000,18.6815) node[above right] (text4770-615) {\ssrfmaximumdepth};
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (137.0216,105.7200) node[above right] (text4770-76) {\ssrftime};
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (112.3970,111.4225) node[above right] (text4770-1-4-4-0) {Avg.
+ depth};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (134.7150,24.7146) node[above right] (text4770-1-4-4-1) {SAC};
+ \path[shift={(0,-87.0)},draw=black,miter limit=4.00,line width=0.400pt]
+ (110.6852,108.3254) -- (147.7015,108.3254) -- (147.7015,120.3261) --
+ (110.6852,120.3261) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (112.0476,112.8925) -- (128.9727,112.8925) -- (128.9727,118.1518) --
+ (112.0476,118.1518) -- cycle;
+ \path[shift={(0,-87.0)},fill=ceaeaea,miter limit=4.00,line width=0.240pt]
+ (131.0241,112.8925) -- (146.4161,112.8925) -- (146.4161,118.1518) --
+ (131.0241,118.1518) -- cycle;
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (112.7711,115.8848) node[above right] (text4770-93) {\ssrfmeandepth};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (86.0143,63.2534) node[above right] (text4770-36-4) {\ssrfcylbdescription};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.7259,79.9484) node[above right] (text4770-59-3) {\ssrfcylcgasname};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (86.0143,67.7319) node[above right] (text4770-36-4-7) {\ssrfcylcdescription};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (86.0143,72.2105) node[above right] (text4770-36-4-6) {\ssrfcylddescription};
+ \begin{scope}[shift={(-24.69478,-28.62516)}]
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (47.8009,86.8125) node[above right] (text4770-0-8-7) {Water};
+ \end{scope}
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (34.5456,58.2370) node[above right] (text4770-0-8-7-8) {Air};
+ \begin{scope}[shift={(-28.92506,-29.71932)}]
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (50.4592,84.4211) node[above right] (text4770-0-8-7-9) {Temperature};
+ \begin{scope}[cm={{0.67131,0.0,0.0,0.67131,(40.73125,27.94586)}}]
+ \end{scope}
+ \end{scope}
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (40.9143,54.9082) node[above right] (text4770-0-8-7-9-0) {Visibility};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (40.8367,58.8196) --
+ (49.6215,58.8196) -- (49.6215,63.1953) -- (40.8367,63.1953) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (41.7054,61.7596) node[above right] (text4770-61-0) {\ssrfviz};
+ \path[shift={(0,-87.0)},fill=black,line join=miter,line cap=butt,line
+ width=0.800pt] (132.0813,116.2725) node[above right] (text4770-93-3) {\ssrfsac};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (86.0143,76.6890) node[above right] (text4770-36-4-6-5) {\ssrfcyledescription};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.7259,83.5738) node[above right] (text4770-59-3-3) {\ssrfcyldgasname};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.7259,76.3230) node[above right] (text4770-59-3-7) {\ssrfcylbgasname};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (42.2682,68.4249) node[above right=-2mm] (text4770-1-4-9-3) {Used gas};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (37.7148,72.8534) --
+ (49.4151,72.8534) -- (49.4151,80.8125) -- (37.7148,80.8125) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.7259,87.1991) node[above right] (text4770-59-3-3-2) {\ssrfcylegasname};
+ \path[shift={(0,-87.0)},fill=black,line width=0.212pt] (38.0589,145.7254)
+ node[above right] (text1070) {};
+ \path[fill=black,line width=0.212pt] (38.4868,77.3007) node[above right]
+ (text1074) {\ssrfgasuse};
+ \path[fill=black,line width=0.212pt] (66.4165,74.3607) node[above right]
+ (text1078) {\ssrfcomputer};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (53.0545,72.3016) node[above right] (text4770-1-4-4-7) {Computer};
+ \path[fill=black,line width=0.212pt] (21.5737,138.9376) node[inner sep=0pt] (plot) at (84,169)
+ (text1117) {\myplot};
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (77.2704,7.1215) node[above right] (text4770-367) {Country};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (87.4168,5.0034) --
+ (107.9410,5.0034) -- (107.9410,10.7074) -- (87.4168,10.7074) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (88.3566,8.5807) node[above right] (text4770-6-6) {\ssrfcountry};
+ \path[draw=black,line join=miter,line cap=butt,miter limit=4.00,even odd
+ rule,line width=0.400pt] (130.1209,21.3254) -- (130.1209,33.3261);
+ \begin{scope}[shift={(0.00554,-11.07159)}]
+ \path[draw=black,miter limit=4.00,line width=0.400pt] (20.4254,34.7863) --
+ (109.4776,34.7863) -- (109.4776,44.3977) -- (20.4254,44.3977) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.3467,38.0821) node[above right] (text4770-9-6) {Divemaster/Instructor};
+ \path[fill=ceaeaea,miter limit=4.00,line width=0.240pt] (21.3207,38.9276) --
+ (107.9354,38.9276) -- (107.9354,43.4815) -- (21.3207,43.4815) -- cycle;
+ \path[fill=black,line join=miter,line cap=butt,line width=0.800pt]
+ (21.9849,42.0480) node[above right] (text4770-53-3) {\ssrfdivemaster};
+ \end{scope}
+
+\end{tikzpicture}}
+
+
+\begin{document}
+
+\definecolor{ceaeaea}{RGB}{234,234,234}