source: subsurface/subsurfacetemplate.tex @ 9b8a040

Last change on this file since 9b8a040 was 9b8a040, checked in by Dirk Hohndel <dirk@…>, 14 months ago

Export to TeX file initialized

This does the basic export as a TeX file including a template.

It still lacks proper location parsing.

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

  • Property mode set to 100644
File size: 1.6 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\overfullrule=0pt
8\def\p{\hskip 0.5cm}  % typical horizontal room
9\parindent=1cm
10%\offinterlineskip
11\long\def\page{
12$$\vbox{\hrule     % upper cutting line
13\vskip 2.0cm       % upper whitespace
14\vrule             % left cutting line
15$\vbox to 15cm{    % height of box
16\vss\hbox to 3mm{\hrulefill}\vss}$       % middle line
17\hskip 4.0cm       % left white space
18\vrule\vbox to 15cm{    % again height of box
19\hrule depth 2pt   % upper box boundary
20\hbox to 10cm{     % width of box
21\strut\p\date\slinie\vrule$\vcenter to 1.5cm{\vfil\hbox to
221.5cm{\hss\breit\strut\number\hss}\vfil\hrule}\vrule$}
23%
24\hbox{\p{\breit\strut\place} \country\hrulefill}
25\medskip
26\hbox{\p{\breit\strut\spot}\hrulefill}
27\medskip
28\hbox{\p\strut Entrance:\entrance\slinie}
29\bigskip
30\hbox to 10cm{\hss\breit\strut \time \p@\p\hbox to 1.5cm{\hss\depth}\hss}
31\bigskip
32\hbox to 10cm{\klein\p $\Delta p$:\hbox to 1cm{\hrulefill\gasuse}\hss
33SAC:\hbox to 1.5cm{\hrulefill\sac}\hss
34Type:\hbox to 1.2cm{\hrulefill\type}\hss Viz.:
35\hbox to 0.8cm{\hrulefill\viz}\p}
36\bigskip
37\hbox{\p\hsize = 9cm
38\vbox{\noindent
39\comment
40}\p\hss}
41\leaders\vbox to 0.55cm{\vss\hbox to 10cm{\p\hrulefill\p}}\vfill
42\hbox to 10cm{\hss\plot\hss}
43\vskip 0.5cm
44\hbox to 10cm{\p{\breit Buddy:} \buddy\hrulefill\p}
45
46\vskip 1ex         % room above end of box
47\hrule depth 2pt   % lower boundary
48}\vrule            % right boundary
49\hskip 1.0cm\vrule % right white space
50\par
51\hbox{\hskip 6cm
52\winzig Subsurface dive log http://subsurface-divelog.org}
53\vskip 2.0cm       % lower white space
54\hrule}$$}
Note: See TracBrowser for help on using the repository browser.