ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to create a breakable text box inside math equation?
@ 2011-05-06 14:50 Mojca Miklavec
  2011-05-06 20:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2011-05-06 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

This is probably a very trivial question, but I'm not sure how TeX
works in that respect. I'm used to use a macro
   \def\unit#1{{\rm\ #1}
in constructs such as $1\unit{cm^2} \times 2\unit{cm}$. However I
figured out that the contents of \unit{} cannot be broken accross
lines, most probably because this becomes an hbox.

Is there any simple workaround?

Thanks a lot,
    Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-05-10 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 14:50 How to create a breakable text box inside math equation? Mojca Miklavec
2011-05-06 20:33 ` Wolfgang Schuster
2011-05-10 17:03   ` Mojca Miklavec

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).