source: subsurface/subsurfacetemplate.tex

Last change on this file was 514c298, checked in by Dirk Hohndel <dirk@…>, 12 days ago

More details for TeX export

Include the gasname, get rid of more spaces in front of units,
update the template to use new gas fields.

Signed-off-by: Robert C. Helling <helling@…>

  • Property mode set to 100644
File size: 2.3 KB
Line 
1\input graphicx
2\nopagenumbers
3\font\breit=cmr10 scaled \magstep3
4\font\klein=cmr9
5\font\winzig=cmr5
6\def\slinie{\hrulefill\hskip 3em}
7\def\leer{}
8\overfullrule=0pt
9\def\p{\hskip 0.5cm}  % typical horizontal room
10\parindent=1cm
11%\offinterlineskip
12\long\def\page{
13%% Unit symbols, add spaces in front if you prefer
14\def\unitmeter{m}
15\def\unitft{ft}
16\def\unitkg{kg}
17\def\unitlb{lb}
18\def\unitbar{bar}
19\def\unitpsi{psi}
20\def\unitcentigrate{${}^\circ$C}
21\def\unitfahrenheit{${}^\circ$F}
22\def\unitliter{$\ell$}
23\def\unitcuft{cuft}
24\def\unitmeterpermin{m/min}
25\def\unitftpermin{ft/min}
26%
27$$\vbox{\hrule     % upper cutting line
28\vskip 2.0cm       % upper whitespace
29\vrule             % left cutting line
30$\vbox to 15cm{    % height of box
31\vss\hbox to 3mm{\hrulefill}\vss}$       % middle line
32\hskip 4.0cm       % left white space
33\vrule\vbox to 15cm{    % again height of box
34\hrule depth 2pt   % upper box boundary
35\hbox to 10cm{     % width of box
36\strut\p\date\slinie\vrule$\vcenter to 1.5cm{\vfil\hbox to
371.5cm{\hss\breit\strut\number\hss}\vfil\hrule}\vrule$}
38%
39\hbox{\p{\breit\strut\place} \country\hrulefill}
40\medskip
41\hbox{\p{\breit\strut\spot}\hrulefill}
42\medskip
43\hbox{\p\strut Entrance:\entrance\slinie}
44\bigskip
45\hbox to 10cm{\hss\breit\strut \time \p@\p\hbox to 1.5cm{\hss\depth}\hss}
46\bigskip
47\hbox to 10cm{\klein\p $\Delta p$: \hbox to 1cm{\hrulefill\gasuse}\hss
48SAC: \hbox to 1.5cm{\hrulefill\sac}\hss
49Type: \hbox to 1.2cm{\hrulefill\type}\hss Viz.:
50\hbox to 0.8cm{\hrulefill\viz}\p}
51
52\ifx\cylagasname\leer\else
53\hbox to 10cm{\p\klein
54\cyladescription\ \cylagasname: \cylastartpress\ -- \cylaendpress
55\hss}
56\fi
57\ifx\cylbgasname\leer\else
58\hbox to 10cm{\p\klein
59\cylbdescription\ \cylbgasname: \cylbstartpress\ -- \cylbendpress
60\hss}
61\fi
62\ifx\cylcgasname\leer\else
63\hbox to 10cm{\p\klein
64\cylcdescription\ \cylcgasname: \cylcstartpress\ -- \cylcendpress
65\hss}
66\fi
67\bigskip
68\hbox{\p\hsize = 9cm
69\vbox{\noindent
70\comment
71}\p\hss}
72\leaders\vbox to 0.55cm{\vss\hbox to 10cm{\p\hrulefill\p}}\vfill
73\hbox to 10cm{\hss\plot\hss}
74\vskip 0.5cm
75\hbox to 10cm{\p{\breit Buddy:} \buddy\hrulefill\p}
76
77\vskip 1ex         % room above end of box
78\hrule depth 2pt   % lower boundary
79}\vrule            % right boundary
80\hskip 1.0cm\vrule % right white space
81\par
82\hbox{\hskip 6cm
83\winzig Subsurface dive log http://subsurface-divelog.org}
84\vskip 2.0cm       % lower white space
85\hrule}$$}
Note: See TracBrowser for help on using the repository browser.