[texhax] text inside box

Sridhar M.A. mas at mylug.org
Sun Aug 16 12:12:53 CEST 2009


On Sun, Aug 16, 2009 at 11:46:55AM +0800, bill lam wrote:
   > I want to write a template for invoice in latex.  The invoice looks
   > like this:
   > 
   > Billing Address     Delivery Address
   > +----------------+  +-----------------+
   > + ABC            +  + ABC             +
   > + CCCCCCCCC      +  + CCCCCCCCCC      +
   > +                +  +                 +
   > +                +  +                 +
   > +                +  +                 +
   > +----------------+  +-----------------+
   > 
Here is what worked for me :

  \documentclass[11pt]{article}

  \begin{document}

  \fbox{\parbox{.3\textwidth}{%
  Mr. No Name \\
  Door No. \\
  Street \\
  City}}
  \fbox{\parbox{.3\textwidth}{%
  Mr. No Name \\
  Door No. \\
  Street \\
  City}}

  \end{document}

The other table as you said can be done using tabular.

Regards,

-- Sridhar M.A.                                 GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

Expect the worst, it's the least you can do.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://tug.org/pipermail/texhax/attachments/20090816/7d091907/attachment.bin>


More information about the texhax mailing list