Article View: comp.text
Article #4511help with LaTeX over-full hbox
From: G.R.Kuntz
Date: Mon, 07 Mar 1988 15:40
Date: Mon, 07 Mar 1988 15:40
62 lines
2556 bytes
2556 bytes
I am trying to make a banner macro in LaTeX to satisfy
company-mandated memo formats. I need something like the following:
+------------------------------------------------------+
| |
| subject: blah blah blah date: today's date |
| blooh blooh blooh |
| blee blee blee from: J. R. Person |
| netsite!jrp |
| |
| texttexttexttexttexttexttexttexttexttexttextext |
| texttexttexttexttexttexttexttexttexttexttextext |
| texttexttexttexttexttexttexttexttexttexttextext |
| texttexttexttexttexttexttexttexttexttexttextext |
| ... |
| |
+------------------------------------------------------+
|<--------------- line length --------------->|
The banner lines are longer than the current linelength.
The problem: I can't get rid of the ``over-full hbox'' message from
LaTex.
Below is my macro (backslashes changed to /'s so as not to confuse
any mailers along the way):
====================================================================
/setlength{/textwidth}{6in}
/setlength{/oddsidemargin}{0pt}
/newcommand{/banner}[3]{
/begin{flushleft}
/makebox[0.5in][l]{/footnotesize subject:}/nolinebreak
/parbox[t]{3.5in}{/raggedright/bf #1}/nolinebreak
/hspace{0.5in}/nolinebreak
/begin{minipage}[t]{2in}
/setlength{/parindent}{0pt}
/mbox{/footnotesize date:/newline/rule{0pt}{0.35in}}
/begin{minipage}[t]{1.65in}
/raggedright/bf #2//
/end{minipage}/par
/mbox{/footnotesize from:/newline/rule{0pt}{0.35in}}
/begin{minipage}[t]{1.65in}
/raggedright/bf #3//
/end{minipage}
/end{minipage}
/newline
/end{flushleft}
/vspace{0.3in}
}
====================================================================
Any LaTeXperts out there know how to fix this?
Thanks,
Ralph
(grk@attunix.att.com)
--
G. Ralph Kuntz N2HBN grk@attunix.att.com
Technical Details
Message-ID:
<2872@sfsup.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!bloom-beacon!gatech!uflorida!codas!mtune!mtunx!whuts!homxb!mhuxt!mhuxu!mhuxi!mhuhk!mhuxo!ulysses!sfmag!sfsup!grkShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!bloom-beacon!gatech!uflorida!codas!mtune!mtunx!whuts!homxb!mhuxt!mhuxu!mhuxi!mhuhk!mhuxo!ulysses!sfmag!sfsup!grk From: grk@sfsup.UUCP (G.R.Kuntz) Newsgroups: comp.text Subject: help with LaTeX over-full hbox Message-ID: <2872@sfsup.UUCP> Date: 7 Mar 88 15:40:33 GMT Organization: AT&T-IS, Summit N.J. USA Lines: 62