User:Luigi.scarso

From Wiki
Jump to navigation Jump to search

Scarso luigi personal pages

WARNING THIS CODE DOES NOT WORK!!

cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html

% 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 


I have download preprint of EUROTEX 2005 [1] It's very interesting.

Also very interesting are colors (here [2])

As soon as possible, I'd like to write something about:

  • Xy-pic (cfr. [3]) REMOVED
  • transforming a xml from a spreadsheet (I'm working on gnumeric) to pdf by context SUSPENDED
  • about python and context (cfr. TeX forever at preprint of EUROTEX 2005);
  • context programming (cfr. Inside_ConTeXt in [4]);