> > Ultimately, this is what I did with lyx since our hp printer refused
> > all directions and orientation information on envelopes.  I can send
> > the lyx or latex versions if anyone wnts them.

> Please ;)

OK, there's two files here, the lyx and the latex it generates.  I 
really know nothing about the latex.

I've put the return address in the LaTeX preamble, so it's not normally 
in my way; i presume you could put the same information in the body.
It's a hard-core, brute-force, hack.  Parkave isn't part of the normal 
latex distribution; i made it from the postscript fonts since it was 
the closest match to my regular letterhead.  The font sizes are 
designed to match this.  Replace them with whatever you want.

The ERT to get the parbox in lyx was necessary for some reason that I 
forget; it may have been that I designed it to work with mailmerge when 
printing over 100 at once.

I'd use lyx; it's much easier :)

rick


#This file was created by <hawk> Tue Apr 13 11:36:03 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\begin_preamble
% 1999, richard e. hawkins
% replace parkave with a font that latex knows, 
% or make it
\usepackage{graphics}
\usepackage{ifthen}
\newfont {\lawoffice}{parkave at  14.0pt}
\newfont {\richard}{parkave at 24.0pt}
\newfont {\adress}{parkave at  14pt}
\newsavebox{\fulladdressbox}
\savebox {\fulladdressbox} { \parbox{3.1in}{
     \begin{center}
    \lawoffice Law Offices of 
   \\ \richard Mortimer T. Schnerd
\\ \adress 123 ABC ST
         \\Anywhere, US 50010
          \\ 123 / 456 -7890
    \end{center} }
  }
\thispagestyle{empty}
\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation landscape
\paperwidth 4in
\paperheight 9.5in
\leftmargin 0.75in
\topmargin 3.75in
\rightmargin 2.25in
\bottommargin 0.25in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
usebox{
\backslash 
fulladdressbox}
\layout Standard


\latex latex 

\backslash 
vspace{.5in}
\layout Standard


\latex latex 

\backslash 
parbox{1in}{} 
\backslash 
hfill 
\backslash 
parbox{4in}{
\layout Standard

Put the Address here
\layout Standard

you get a few lines
\layout Standard

but not too many
\layout Standard
\noindent 

\latex latex 
}
\the_end
%% This LaTeX-file was created by <hawk> Tue Apr 13 11:36:06 1999
%% LyX 1.0 (C) 1995-1999 by Matthias Ettrich and the LyX Team

%% Do not edit this file unless you know what you are doing.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{verbose,landscape,letterpaper,tmargin=3.75in,bmargin=0.25in,lmargin=0.75in,rmargin=2.25in}

\makeatletter


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% 1999, richard e. hawkins
% replace parkave with a font that latex knows, 
% or make it
\usepackage{graphics}
\usepackage{ifthen}
\newfont {\lawoffice}{parkave at  14.0pt}
\newfont {\richard}{parkave at 24.0pt}
\newfont {\adress}{parkave at  14pt}
\newsavebox{\fulladdressbox}
\savebox {\fulladdressbox} { \parbox{3.1in}{
     \begin{center}
    \lawoffice Law Offices of 
   \\ \richard Mortimer T. Schnerd
\\ \adress 123 ABC ST
         \\Anywhere, US 50010
          \\ 123 / 456 -7890
    \end{center} }
  }
\thispagestyle{empty}
\makeatother

\begin{document}

\usebox{\fulladdressbox}

\vspace{.5in}

\parbox{1in}{} \hfill \parbox{4in}{

Put the Address here

you get a few lines

but not too many

\noindent }

\end{document}



Reply via email to