On Sun, 31 Mar 2013, John White wrote:

I have been unable to create a pleading paper template. There is a laTex example at

http://www.latex-community.org/forum/viewtopic.php?f=47&t=22708

However it does not work with lyx 2.0.5.1. And it seems needlessly complex.

John,

  Here are the step-by-step instructions to create a new LyX template based
on the article class and the pleadings code:
<http://blog.oak-tree.us/index.php/2009/11/02/custom-lyx-nih>.

  I've attached the code you referenced as a .lyx file. N.B.: I've not had
to create a template from a .lyx file before or I would have done it with
this code.

Rich
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass extbook
\begin_preamble
\documentclass{article}
% \usepackage{draftwatermark}
\usepackage{geometry}
        \newgeometry{top=.84in, bottom=.7in, left=1in, right=.5in}
        \setlength{\footskip}{15pt}
\usepackage{ulem}
\usepackage{fancyhdr}
        \renewcommand{\headrulewidth}{0pt}
        \renewcommand{\footrulewidth}{0pt}
\usepackage{parskip}
        \setlength{\parskip}{0mm}
\usepackage{pstricks}
\usepackage{quoting}
        \quotingsetup{leftmargin=1in, rightmargin=1in, vskip=-1.5mm}
                \makeatletter
                        \g@addto@macro\quoting\singlespacing
                        \g@addto@macro\quoting{\vspace{-2mm}}
                        \makeatother
                \makeatletter
                        \renewenvironment{quotation}
                                {\list{}{\listparindent=0pt
                                \itemindent    \listparindent
                                \leftmargin=1in
                                \rightmargin=1in
                                \topsep=-1mm
                                \parsep        \z@ \@plus\p@}
                                \item\relax}
                                {\endlist}
                 \makeatother
\usepackage[T1]{pbsi}
\usepackage{times}
        \renewcommand{\rmdefault}{ptm}
        \renewcommand{\normalsize}{\fontsize{14}{14.5}\selectfont}

\newcommand*{\ptm}{
        \fontfamily{ptm} \selectfont
        \fontsize{14}{0}
        \selectfont}

\newcommand*{\bsi}{
        \bsifamily \selectfont
        \fontsize{16}{15}
        \selectfont}

\usepackage{setspace}
        \doublespacing

\raggedright

\newcommand{\tab}{\hspace*{.5in}}

\newenvironment{tightcenter}{%
        \setlength\topsep{0pt}
        \setlength\parskip{0pt}
                \begin{center}
                }{%
                \end{center}
                }

% BEGIN left and right vertical lines, and line numbers.
\usepackage{eso-pic}
\usepackage{calc}
\newlength{\leftruleA}
\setlength{\leftruleA}{3.0\leftmargin-\marginparsep}
\newlength{\leftruleB}
\setlength{\leftruleB}{2.8\leftmargin-\marginparsep}
\newlength{\rightrule}
\setlength{\rightrule}{2.6\leftmargin+\textwidth+\marginparsep}
\AddToShipoutPicture{%
        \AtPageLowerLeft        {%
        \put(\LenToUnit{\leftruleA},0){\rule{1pt}{\paperheight}}  % First rule 
on the left

        \put(\LenToUnit{\leftruleB},0){\rule{1pt}{\paperheight}}  % Second rule 
on the left
        \put(\LenToUnit{\rightrule},0){\rule{1pt}{\paperheight}}  % Rule on the 
right
        \rput(1.6,13.74)                {
                \begin{minipage}[t]{5mm}
                \begin{flushright}
                \begin{doublespace}
                
1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\11\\12\\13\\14\\15\\16\\17\\18\\19\\20\\21\\22\\23\\24\\25\\26\\27\\28
                \end{doublespace}
                \end{flushright}
                \end{minipage}
                                        }
                                }
                        }
% END left and right vertical lines, and line numbers.

% BEGIN footer
\pagestyle{fancy}
\cfoot{\vspace{-1mm} \ptm{-\thepage-} }
\rfoot{\makebox[2in]{\hrulefill}\\INSERT}%
% END footer
\begin{document}

\begin{singlespace*}

INSERT

~\\

Attorney for INSERT,

INSERT

\end{singlespace*}

\vspace*{18mm}

\begin{tightcenter}
SUPERIOR COURT OF THE STATE OF CALIFORNIA \\ FOR THE COUNTY OF LOS ANGELES
\end{tightcenter}

\vspace*{16.25mm}

% BEGIN caption.
            {
\begin{minipage}[t]{3in}

In re the Marriage of

INSERT,

\tab \tab \tab Petitioner,

\tab \tab v.

INSERT,

\tab \tab \tab Respondent,

\makebox[3in]{\hrulefill}

\end{minipage}
        \begin{minipage}[t]{5mm}
                \begin{singlespace*}
                        )\\)\\)\\)\\)\\)\\)\\)\\)\\)\\)
                \end{singlespace*}
        \end{minipage}
\begin{minipage}[t]{3in}

Case Number: ~ INSERT

INSERT


\end{minipage}
        }
% END caption.

\vspace{5mm}

\tab TO THE ABOVE-ENTITLED COURT AND TO THE PARTIES HEREIN AND THEIR ATTORNEYS 
OF RECORD:


\hspace*{3in}Respectfully submitted,\\

~\\
~\\

\begin{singlespace*}

Date: ~ \today \hspace*{30mm} By: ~ \makebox[3in]{\hrulefill}
\hspace*{3.5in}INSERT

\hspace*{3.5in}Attorney for INSERT,

\hspace*{3.5in}INSERT

\end{singlespace*}

\end{document}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman palatino
\font_sans avant
\font_typewriter courier
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_amsmath 1
\use_esint 0
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 0.75in
\topmargin 0.9in
\rightmargin 0.75in
\bottommargin 0.9in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard

\end_layout

\end_body
\end_document

Reply via email to