aboutsummaryrefslogtreecommitdiffstats
path: root/subsurfacetemplate.tex
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-08-08 15:59:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-10 09:08:02 -0700
commitd5d97870c3b0c09693697be8c37b205fbea99acd (patch)
treeb199cedb65c20dbc34a32a3603e01737cfec8d57 /subsurfacetemplate.tex
parent0c426c37b24d058c086450a221a9ee32ddc68761 (diff)
downloadsubsurface-d5d97870c3b0c09693697be8c37b205fbea99acd.tar.gz
Move the decision how to typeset unit to TeX-style file
This way, the user can adopt those once and for all for all her dives. This includes the space between number and unit symbol. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'subsurfacetemplate.tex')
-rw-r--r--subsurfacetemplate.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/subsurfacetemplate.tex b/subsurfacetemplate.tex
index 9662d9068..2441aa32e 100644
--- a/subsurfacetemplate.tex
+++ b/subsurfacetemplate.tex
@@ -9,6 +9,20 @@
\parindent=1cm
%\offinterlineskip
\long\def\page{
+%% Unit symbols, add spaces in front if you prefer
+\def\unitmeter{m}
+\def\unitft{ft}
+\def\unitkg{kg}
+\def\unitlb{lb}
+\def\unitbar{bar}
+\def\unitpsi{psi}
+\def\unitcentigrate{${}^\circ$C}
+\def\unitfahrenheit{${}^\circ$F}
+\def\unitliter{$\ell$}
+\def\unitcuft{cuft}
+\def\unitmeterpermin{m/min}
+\def\unitftpermin{ft/min}
+%
$$\vbox{\hrule % upper cutting line
\vskip 2.0cm % upper whitespace
\vrule % left cutting line