grk@sfsup.UUCP (G.R.Kuntz) (03/07/88)
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