mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-06-01 22:00:53 +00:00
Base de test
This commit is contained in:
+54
@@ -0,0 +1,54 @@
|
||||
encoding utf-8
|
||||
|
||||
# Copyright (C) 2019 Xavier Robert <xavier.robert***@***ird.fr>
|
||||
# This work is under the Creative Commons Attribution-ShareAlike-NonCommecial License:
|
||||
# <http://creativecommons.org/licenses/by-nc-sa/4.0/>
|
||||
|
||||
|
||||
layout Entrances_coords_CDa
|
||||
# Layout where we define the different variables that contain the text with
|
||||
# the entrance coordinates we want to print in the header.
|
||||
# We need one variable per entrance.
|
||||
|
||||
# This layout is called by the layout Coords_Header below
|
||||
|
||||
code tex-map
|
||||
\def\thjunk{ }
|
||||
\def\thlocationCDa{Karabulak Gypsum Collapses 1 -- Lat. : 37.618034 N ; Long. : 66.352552 E ; Alt. : 350 m
|
||||
Karabulak Gypsum Collapses 2 -- Lat. : 37.617096 N ; Long. : 66.352327 E ; Alt. : 350 m }
|
||||
endcode
|
||||
|
||||
endlayout
|
||||
|
||||
|
||||
layout Coords_Header_CDa
|
||||
# Layout that set the presentation for the entrance coordinates.
|
||||
|
||||
copy Entrances_coords_CDa
|
||||
# it calls the layout above Entrances_coords where we defined the different
|
||||
# variables that contain the text with
|
||||
# the entrance coordinates we want to print in the header.
|
||||
|
||||
code tex-map
|
||||
\def\nostring{}
|
||||
\def\thsizexl{}
|
||||
\def\thsizel{}
|
||||
\def\thsizem{}
|
||||
\ifx\thsizexl\nostring\def\thsizexl{30}\else\fi
|
||||
\ifx\thsizel\nostring\def\thsizel{24}\else\fi
|
||||
\ifx\thsizem\nostring\def\thsizem{12}\else\fi
|
||||
|
||||
\ECoordinates={
|
||||
\edef\tmp{\thjunk} \ifx\tmp\empty \else
|
||||
{\size[\thsizem] \ss\thjunk\vss}
|
||||
\fi
|
||||
\edef\tmp{\thlocationCDa} \ifx\tmp\empty \else
|
||||
{\size[\thsizem]\hskip2cm \ss\thlocationCDa\vss} % The first one should be without hskip
|
||||
\fi
|
||||
}
|
||||
endcode
|
||||
|
||||
endlayout
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user