ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Calculating with \measure
@ 2017-03-19 17:06 Marco Patzer
  2017-03-19 17:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2017-03-19 17:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi!

Is it possible to calculate with \measure or do I have to resort to
dimens? Example:

\definemeasure [mymeasure] [4cm]
\newdimen\mydim \mydim4cm

\starttext
  \framed[width=4cm]{Foobar}
  \framed[width=\measure{mymeasure}]{Foobar}
  \framed[width=2\mydim]{Foobar}
  \framed[width=2\measure{mymeasure}]{Foobar}
\stoptext

Marco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-19 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-19 17:06 Calculating with \measure Marco Patzer
2017-03-19 17:18 ` Wolfgang Schuster
2017-03-19 17:47   ` Marco Patzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).