[texhax] Legal documents in latex.

Jesús Guillermo Andrade jgandradev at mac.com
Tue Mar 10 22:23:46 CET 2009


Hello everyone: I am currently in need of producing a massive amount  
of documents abiding to the legal rules implemented in Venezuela.  
However, I find myself unable to set them up properly because of  
(perhaps) an apparent lack of options.
Let me explain:
1. I use latex via Lyx and MacTex latest version.
2. I need to produce a twosided paper format with different margins  
and a different vertical measure of the total body in even and odd  
pages. The size of the full page is 216 width and 330mm height. The  
total body is 24.5cm height in all odd pages and of 28.1cm in all even  
pages. The inner and outer margins should be inverted (as normal with  
the twoside option). My problem is that I dont know how to change the  
total body for the text so it changes between odd and even pages. The  
geometry package does not allow this kind of arrangement.

This is the legal description of the paper I would need (its a rough  
translation from the spanish):

"The legal paper dimensions must be three hundred and thirty (330)  
millimeters long by two hundred and sixteen (216) millimeters wide,  
and must show printed at the top center (heading) the front Coat of  
Arms of the Republic, for the following orlado inscription: "Republic  
of Venezuela, rent, stamp duty. hundredth Two Units Value Tax (0.02  
UT). Also, will show the prints and signs of control may be determined  
by the Tax Administration.
The front (odd) page must have (30) horizontal lines for writing, each  
one hundred and seventy five (175) millimeters in length (wide),  
numbered at both ends of 1-30 on the odd side, and thirty-four (34 )  
horizontal lines for writing, each one hundred and seventy five (175)  
millimeters in length, numbered at both ends of 31 to 64 in every even  
side."

Could you help me please?

This is the tex preamble I currently have in my file (perhaps this  
jsut doesnt work).

%% LyX 1.6.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,twoside,spanish]{paper}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{verbose,paperwidth=216mm,paperheight=330mm,headsep=0in}
\pagestyle{empty}
\usepackage{color}
\usepackage{babel}
\addto\shorthandsspanish{\spanishdeactivate{~<>}}

\usepackage{setspace}
\setstretch{1.79}
\usepackage[unicode=true,
  bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
  breaklinks=false,pdfborder={0 0 1},backref=section,colorlinks=true]
  {hyperref}
\hypersetup{
  pdfauthor={Jes√∫s Guillermo Andrade (Abg.)}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
%---------------------------------------------------------------
% Carga de Paquetes.
%---------------------------------------------------------------
\pagestyle{empty}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footer fields
\usepackage{color}
\usepackage{rotate}
\usepackage{cite}
\usepackage{theorem}
\usepackage{wrapfig}
\usepackage{lineno}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\renewcommand*\oldstylenums[1]{{\fontfamily{fxlj}\selectfont #1}}
\usepackage{titlesec}
\titlespacing*{\section}{-30pt}{1pt}{1pt}
%---------------------------------------------------------------
% Configuracion de Paginas.
%---------------------------------------------------------------
\setlength\headheight{2cm}
\usepackage{geometry}
\geometry{papersize={216mm,330mm}, top=3cm, bottom=2.5cm, left=4cm,  
right=1.6cm, hmargin={4cm,1.6cm}}
\setlength\headsep{0.85cm}
%---------------------------------------------------------------
% ENCABEZADOS DE PAGINA
% Preparacion de latex
%---------------------------------------------------------------
\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[OL]{Asunto: KP02-L-2008-009999}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
% Entrada de fancyhdr y reseteo.
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[RO]{\includegraphics[width=2cm]{amlogo.eps}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[LE,RO]{\thepage}
%\fancyfoot[LO,CE]{From: K. Grant}
%\fancyfoot[CO,RE]{To: Dean A. Smith}


Si un programa es útil, hay que modificarlo. Tercera Ley de  
programación.
------------------------------
Jesús Guillermo Andrade (Abg.)
Gerente de Litigios y Corporativo. EDM. AC. API.
Andrade & Moreno S.C. (http://amlegal.wordpress.com/)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20090310/f3f87166/attachment-0001.html 


More information about the texhax mailing list