is it possible to add lengths?
Is it possible to add lengths in ConTexT? backspace= 55m + 1in Thanks Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
On Sat, 2005-07-09 at 01:53 -0400, Paul Tremblay wrote:
Is it possible to add lengths in ConTexT?
backspace= 55m + 1in
I don't know enough about ConTeXt to declare this The Right Way(tm), but
here's one way that Works For Me(tm):
\starttext
\newdimen\mydimen
\mydimen=1in
\hbox{\framed[height=\mydimen,width=1in]{before}
\advance\mydimen by 55mm
\framed[height=\mydimen,width=1in]{after}}
\stoptext
--
Stuart Jansen
Mikael Persson wrote:
On 7/9/05, Paul Tremblay
wrote: Is it possible to add lengths in ConTexT?
backspace= 55m + 1in
Thanks
Paul
Hello Paul,
I think backspace=\dimexpr(55mm+1in) should work.
better: \dimexpr 55mm+1in\relax ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Mikael Persson wrote:
On 7/9/05, Paul Tremblay
wrote: Is it possible to add lengths in ConTexT?
backspace= 55m + 1in
Thanks
Paul
Hello Paul,
I think backspace=\dimexpr(55mm+1in) should work.
This sometimes works but correct syntax is backspace=\dimexpr 55mm+1in \relax vit
Best regards, Micke P _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ======================================================= Ing. Vít Zýka, Ph.D. TYPOkvítek database publishing databazove publikovani data maintaining and typesetting in typographic quality priprava dat a jejich sazba v typograficke kvalite tel.: (+420) 777 198 189 www: http://typokvitek.com =======================================================
On Sat, Jul 09, 2005 at 10:52:47AM +0200, Vit Zyka wrote:
Mikael Persson wrote:
On 7/9/05, Paul Tremblay
wrote: Is it possible to add lengths in ConTexT?
backspace= 55m + 1in
Thanks
Paul
Hello Paul,
I think backspace=\dimexpr(55mm+1in) should work.
This sometimes works but correct syntax is
backspace=\dimexpr 55mm+1in \relax
vit
Thanks. This works very nicely. Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************
participants (5)
-
Hans Hagen
-
Mikael Persson
-
Paul Tremblay
-
Stuart Jansen
-
Vit Zyka