Changes

Jump to navigation Jump to search
32 bytes removed ,  21:10, 5 August 2022
no edit summary
%% Usage: \Plan[prefix=...,ech=...,mm=...,titre=...,projet=...,auteur=...]
%% prefix: the name of the file is "prefix-mm.{eps,pdf,jpg}"
%% ech: the scale ("scale" didn't work, don't know why...)
%% mm: the width of the image in mm
%% titre: the titel of the page
\def\Plan[#1]{%
\getparameters[PL][#1]
\Width=\the\dimexpr(\the\numexpr(20*\PLmm/\PLech)mm/20) \def\myFig{\externalfigure[\PLprefix-\PLmm][width=\the\Width]}%
\setbox\scratchbox\hbox{\myFig}\Height=\ht\scratchbox
\ifdim\Width>1.2\Height
1

edit

Navigation menu