%% %% This is file `factura-ejemplo-reporte1.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% factura.dtx (with options: `repuno') %% %% Copyright 2020 Emilio Augusto Lazo Zaia %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in %% http://www.latex-project.org/lppl/lppl-1-3c.{html|txt|tex|pdf} %% and the latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2008/05/04 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% The Current Maintainer of this work is Emilio Augusto Lazo Zaia. %% %% This work consists of the files README and factura.dtx %% with its derived files factura.ins, factura.cls, factura.def, %% factura-ejemplo-aux.tex, factura-ejemplo-firma.tex, %% factura-ejemplo-fondo.tex, factura-ejemplo-membrete.tex, %% factura-ejemplo-cotizacion.tex, factura-ejemplo-prefactura.tex, %% factura-ejemplo-factura01.tex, factura-ejemplo-factura02.tex, %% factura-ejemplo-factura03.tex, factura-ejemplo-factura04.tex, %% factura-ejemplo-factura05.tex, factura-ejemplo-factura06.tex, %% factura-ejemplo-factura07.tex, factura-ejemplo-factura08.tex, %% factura-ejemplo-factura09.tex, factura-ejemplo-factura10.tex, %% factura-ejemplo-reporte1.tex, factura-ejemplo-reporte2.tex, %% factura-ejemplo-reporte3.tex and factura-beispiel-rechnung.tex. %% %% Descripción de este ejemplo: %% %% Escribimos una factura %% Escribimos en el reverso de la factura %% Escribimos un reporte %% (sinreverso) Escribimos el reverso de la factura pero sólo producimos su anverso %% (conreporte) Generamos factura y reporte %% (\Emisor) Especificando el nombre del emisor de la factura %% Sin especificar el proveedor, así toma el emisor de la factura como el nombre del proveedor %% (\FondoReporte) Especificamos el fondo o membrete del reporte, sólo para la primera página %% (\InicioReporte) Estableciendo un margen superior distinto para la primera página del reporte por presencia de membrete %% (\TituloReporte) Establecemos el título del reporte sin que salga en las cabeceras ni pies de página %% (\NotaFinal) Con nota final %% Sin resumen %% (\Descripcion) Con descripción larga %% (\FirmaReporte) Agregando en el reporte la línea para firmar a mano %% %% \documentclass[ sinreverso, conreporte, ]{factura} \input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo. \usepackage[utf8]{inputenc} \Num{1} \RazonSocial{Ayala San Vicente Usureros} \RIF{Y-12.345.678-9} \Contacto{Jacinto de Ayala} \Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela} \Telefono{+58 (987) 654.32.10} \Email{jacinto@ayala.sv} \Emisor{Lázaro de la Vega} \Fecha{02-07-2020} \FondoReporte{factura-ejemplo-membrete} \InicioReporte{2.2cm} \TituloReporte{El título del reporte} % \EstiloPagReporte{soloabajo} % \EstiloPagReporte[soloabajo]{plain} % \EstiloPagReporte[empty]{plain} % \EstiloPagReporte{solonumpag} % \EstiloPagReporte[solonumpag]{plain} % \EstiloPagReporte[solonumpag]{soloarriba} % \EstiloPagReporte[solonumpag]{soloabajo} % \EstiloPagReporte[empty]{soloarriba} % \EstiloPagReporte{soloarriba} \NotaFinal{La nota final...} \begin{document} \begin{factura} \Item{1}{ítem con IVA general}{1000} \end{factura} \Descripcion{La descripción larga} \begin{reverso} esquina superior izquierda del reverso\hfill esquina superior derecha del reverso\par \vfill esquina inferior izquierda del reverso\hfill esquina inferior derecha del reverso \end{reverso} \begin{reporte} El reporte - página 1\newpage El reporte - página 2 \newpage El reporte - página 3. \vspace{1.5cm}\FirmaReporte \end{reporte} %% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja. \Ejemplo \end{document} %% %% %% End of file `factura-ejemplo-reporte1.tex'.