Changes

Jump to navigation Jump to search
737 bytes added ,  11:50, 27 April 2005
no edit summary
== Scarso luigi personal pages ==
 
'''WARNING THIS CODE DOES NOT WORK!!'''
<textcode>
% AutoScaled: not what I really want, but
% sometimes works
%
\def\AutoScaled#1#2#3#4#5{%
% #1 horiz. limit
% #2 unused (maybe vert. limit)
% #3 horiz. scale
% #4 vert. scale
% #5 text
\setbox800=\hbox{\color[black]{\scale[sx=#3,sy=#4]{\bf #5}}}%
\newdimen\ScaleX \ScaleX=#3pt \newdimen\ScaleY \ScaleY=#4pt %%
\newdimen\LimitX \LimitX=#1 %
\ifdim\wd800 > \LimitX %
\edef\Ratio{\withoutpt{\the\dimexpr( (2\LimitX/(\wd800 /32768))) }}%
\edef\XSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleX ) }}%
\edef\YSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleY ) }}%
\setbox800=\hbox{\color[black]{\scale[sx=\XSCALE,sy=\YSCALE]{\bf #5}}}%
\fi%
\box800\relax%
}%%enddef \Autoscaled
</textcode>
 
----
 
 
I have download preprint of EUROTEX 2005
[http://www.gutenberg.eu.org/EuroTeX2005/]

Navigation menu