Typesetting two adress on opposite sides of the page

131 views
Skip to first unread message

James & Nash

unread,
Jan 8, 2009, 6:57:10 PM1/8/09
to latexus...@googlegroups.com
Hi folks,

is there anyway in Latex to typeset two addresses exactly opposite each
other i.e. one on the left hand side of the page and one on the right
please? Also, in the letter class, I assume taht the clsing statement is
left justified?

Thanks

james

jon

unread,
Jan 9, 2009, 12:11:17 AM1/9/09
to LaTeX Users Group
On Jan 8, 6:57 pm, "James & Nash" <james.austin1...@googlemail.com>
wrote:
i've never used the letter class, so i can't answer that, but it is
fairly easy to have things left and right justified on the same line.
maybe the easiest way would be to write

\mbox{left side} \hfill \mbox{right side} % use \mbox to keep things
on the same line

cheers,
jon.

James & Nash

unread,
Jan 9, 2009, 4:48:47 AM1/9/09
to latexus...@googlegroups.com
Thanks John

James & Nash

unread,
Jan 9, 2009, 8:59:06 AM1/9/09
to latexus...@googlegroups.com
Does anyone know how to create letterheads in Latex i.e. both address
opposite each other?

Thank you James
----- Original Message -----
From: "jon" <jonwro...@gmail.com>
To: "LaTeX Users Group" <latexus...@googlegroups.com>
Sent: Friday, January 09, 2009 5:11 AM
Subject: Re: Typesetting two adress on opposite sides of the page



sergio_101

unread,
Jan 10, 2009, 1:50:46 AM1/10/09
to latexus...@googlegroups.com
"James & Nash" <james.au...@googlemail.com> writes:

> Does anyone know how to create letterheads in Latex i.e. both address
> opposite each other?


i have been trying to do exactly this.. with a log and some text on the
left.. and i am having no luck.. i tried doing it with a table, but it's
not working..

i am going to try mbox next..

jon

unread,
Jan 11, 2009, 3:00:52 PM1/11/09
to LaTeX Users Group
On Jan 10, 1:50 am, sergio_101 <sergiol...@village-buzz.com> wrote:
> "James & Nash" <james.austin1...@googlemail.com> writes:
>
> > Does anyone know how to create letterheads in Latex i.e. both address
> > opposite each other?
>
> i have been trying to do exactly this.. with a log and some text on the
> left.. and i am having no luck.. i tried doing it with a table, but it's
> not working..

maybe i don't understand what you need exactly, but parcolumns.sty
might work. it is useful for when you are trying to typeset two
different texts in parallel, but the texts don't line up perfectly,
paragraph by paragraph. this might get you started at least.

if that fails, try ledpar. i use it, along with ledmac, for
typesetting text and translation in parallel.

cheers,
jon.

sergio_101

unread,
Jan 15, 2009, 9:09:39 AM1/15/09
to latexus...@googlegroups.com
"James & Nash" <james.au...@googlemail.com> writes:

> Does anyone know how to create letterheads in Latex i.e. both address
> opposite each other?

okay, just i got this to work on my end... i think i cheated, and i am
sure it's just a kludge.. and i would like to see the REAL way to do
this.. but i ended up using a negative vspace and minipage to get the
address to line up.. i am not sure that i needed minipage after all, as
there this went through a ton of incarnations to get it to work..

once it worked, and nothing looked horribly bad.. i let it roll..

so i made a table with two columns.. one for a logo, and one for the
address.. it looks like this:

\begin{center}
\begin{tabular}[b]{lr}
\includegraphics[scale=0.3]{logo} &
\begin{minipage}{3in}
\begin{flushright}
{\vspace*{-.75in}}Business Name\\ url\\ name, title\\ phone\\ email
\end{flushright}
\end{minipage}
\\
\hline
\end{tabular}
\end{center}

--
___
peace,
sergio
http://www.village-buzz.com

David Owen

unread,
Jul 22, 2009, 2:27:55 PM7/22/09
to latexus...@googlegroups.com
Hi,
I was interested in doing the same thing and I was able to slightly modify Peter Flynn's reply Latexusersgroup Thu 4 2009  to get the following:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[12pt]{letter}

\def\myname{writer's name1}       %%% Definition and goes at the end of the letter.
                            %%%  We could also have used a "newcommand"
%%%%%    1st "newcommand"
\newcommand{\mynameaddress}{\itshape{writer's name1\\addr1 \\ addr2 \\addr3\\country}}
       %%%%%  My name and address,(Writer's name and address), It goes on the RIGHT
                              %%%%%   and I have written it in ITALICS
 %%%%  End of 1st "newcommand"

 %%%%%   2nd "newcommand"
\newcommand{\myletter}[2]{%
\parbox[t]{0.3\linewidth}{{\begin{flushleft} #1
\end{flushleft}}} \hfill \parbox[t]{0.3\linewidth}{\begin{flushright}\mynameaddress
\end{flushright}}
\medskip
\begin{flushright}\itshape
\today                       %%%%%  Date in italics on the right
\end{flushright}
\bigskip\noindent #2,\par\bigskip}
 %%%%    End of 2nd "newcommand"

 %%%%    3rd "newcommand"
\newcommand{\yours}[1]{
\par\bigskip\noindent Yours #1\par\vspace{3\baselineskip}\noindent
\myname\par\vfill}
 %%%%   End of 3rd "newcommand"

 %%%%   4th "newcommand"
\newcommand{\bodyofletter}{Dear, Prof. Higgins, \\ I shall appreciate
it if you will add me to your mailing list. \\ Thank you.}
%%%%    End of 4th "newcommand"

%%%%%  THE ABOVE IS A SLIGHTLY MODIFIED VERSION OF PETER FLYNN'S VERY NICE LAYOUT
%%%%%   LATEXUSERSGROUP THURS,JAN 4, 2009.

\begin{document}

\myletter{recipient's name\\address01\\address02\\country}{\bodyofletter}
 \yours{Sincerely}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Please let me know if it works for you.
Regards,
D.O.

James & Nash

unread,
Jul 22, 2009, 5:48:40 PM7/22/09
to latexus...@googlegroups.com
Thank you, I will definitely try it and let you know. I don't pretend to understand everything you've written, so I'll just copy and paste all your hard work if you don't mind. But i do very much appreciate it.
 
Take care
 
J L N T
----- Original Message -----
From: David Owen
Sent: Wednesday, July 22, 2009 7:27 PM
Subject: Re: Typesetting two adress on opposite sides of the page

Reply all
Reply to author
Forward
0 new messages