From: Zeljko Vrba <mordor@fly.srk.fer.hr>
Subject: problem: long descriptions
Date: Sat, 9 Nov 2002 09:06:16 +0100 [thread overview]
Message-ID: <20021109080616.GA1623@fly.srk.fer.hr> (raw)
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?
next reply other threads:[~2002-11-09 8:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-09 8:06 Zeljko Vrba [this message]
2002-11-09 17:23 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021109080616.GA1623@fly.srk.fer.hr \
--to=mordor@fly.srk.fer.hr \
--cc=ntg-context@ref.ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).