Hi! I'm writing reference manual for a C/C++ library and I have the
following problem: When I define a description, long prototypes are not
line-broken. For example, I've set up

\definedescription
  [methref]
  [location=top,headstyle=\tt]

When I have
\startmethref{a very long prototype.........................}
blah blah blah
\stopmethref

the argument is not line-broken and it goes out of the page boundary. The
text shows properly only in the next line. I have something like the following
in mind, but I don't know how to do it:

I'd like the typeset layout to look something like this

a very long prototype proto..  Text describing the method
proto proto proto proto proto  Text describing the method
proto proto                    Text describinb the method
More text describing the method. More text. More text
More text.

Prototype may be framed. The text widths should be 0.5 and 0.5 of textwidth
for both the prototype and the description.

I hope you understood what I want :) I was thinking something like typesetting
prototype in the box and then using floating mechanism (\startXXXleft, would
that work at all?), but is there a more straightforward way?

Another unrelated question: is there a bold typewriter (CM) font somewhere?

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context

Reply via email to