I want to insert my local address on the left side of the page and my permanent address on the right side of the page. However, I want both address blocks to be left-aligned. Basically, I want something that looks like this:
I originally rendered this with the res
package, which simply asks you to input the address with the \address
command and renders it when you use \begin{resume}...\end{resume}
. The package is not very flexible with how I can render the rest of the page, which is why I want to manually render this.
How do I emulate this behavior? I've tried fiddling around with boxes (particularly the \makebox
and \mbox
commands, which apparently don't support newlines) but I haven't had any luck yet.
Best Answer
There are many ways to do this. The way I would choose to do it is to use a
\minipage
and specify the width of the two minipages:Alternatively, you could also use a
tabular
environment such and usep{3.5in}
to fix the width of the first column:If you really want to use the
\makebox
command, you need to do something like this:The first paramter to
\makebox
specifies the width to be 3.5in, and the[l]
specifies that the text to be placed in that box is to be left aligned. The\noindent
was needed so that TeX does not add the usual indentation of the first paragraph. Instead of\\
at the end you could also have used\par\noindent
.Similarily, there is also the
\parbox
option: