Debian Codegraph @

texmf-dist/doc/latex/factura/factura-ejemplo-reporte1.tex

raw
1 %%
2 %% This is file `factura-ejemplo-reporte1.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% factura.dtx (with options: `repuno')
8 %%
9 %% Copyright 2022 Emilio Augusto Lazo Zaia <[email protected]>
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either
13 %% version 1.3c of this license or (at your option) any later
14 %% version. This version of this license is in
15 %% http://www.latex-project.org/lppl/lppl-1-3c.{html|txt|tex|pdf}
16 %% and the latest version of this license is in
17 %% http://www.latex-project.org/lppl.txt
18 %% and version 1.3c or later is part of all distributions of
19 %% LaTeX version 2008/05/04 or later.
20 %%
21 %% This work has the LPPL maintenance status `maintained'.
22 %%
23 %% The Current Maintainer of this work is Emilio Augusto Lazo Zaia.
24 %%
25 %% This work consists of the files README and factura.dtx
26 %% with its derived files factura.ins, factura.cls, factura.def,
27 %% factura-ejemplo-aux.tex, factura-ejemplo-firma.tex,
28 %% factura-ejemplo-fondo.tex, factura-ejemplo-membrete.tex,
29 %% factura-ejemplo-notadecredito.tex, factura-ejemplo-notadedebito.tex,
30 %% factura-ejemplo-cotizacion.tex, factura-ejemplo-prefactura.tex,
31 %% factura-ejemplo-factura01.tex, factura-ejemplo-factura02.tex,
32 %% factura-ejemplo-factura03.tex, factura-ejemplo-factura04.tex,
33 %% factura-ejemplo-factura05.tex, factura-ejemplo-factura06.tex,
34 %% factura-ejemplo-factura07.tex, factura-ejemplo-factura08.tex,
35 %% factura-ejemplo-factura09.tex, factura-ejemplo-factura10.tex,
36 %% factura-ejemplo-reporte1.tex, factura-ejemplo-reporte2.tex,
37 %% factura-ejemplo-reporte3.tex, factura-ejemplo-reporte4.tex
38 %% and factura-beispiel-rechnung.tex.
39 %%
40 %% Descripción de este ejemplo:
41 %%<desc>
42 %% Escribimos una factura
43 %% Escribimos en el reverso de la factura
44 %% Escribimos un reporte
45 %% (sinreverso) Escribimos el reverso de la factura pero sólo producimos su anverso
46 %% (conreporte) Generamos factura y reporte
47 %% (\Emisor) Especificando el nombre del emisor de la factura
48 %% Sin especificar el proveedor, así toma el emisor de la factura como el nombre del proveedor
49 %% (\FondoReporte) Especificamos el fondo o membrete del reporte, sólo para la primera página
50 %% (\InicioReporte) Estableciendo un margen superior distinto para la primera página del reporte por presencia de membrete
51 %% (\TituloReporte) Establecemos el título del reporte sin que salga en las cabeceras ni pies de página
52 %% Sin resumen
53 %% (\NotaFinal) Con nota final
54 %% (\Descripcion) Con descripción larga
55 %% (\FirmaReporte) Agregando en el reporte la línea para firmar a mano
56 %%</desc>
57 %%
58 \documentclass[
59 sinreverso,
60 conreporte,
61 ]{factura}
62
63 \input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo.
64 \usepackage[utf8]{inputenc}
65
66 \Num{1}
67 \RazonSocial{Ayala San Vicente Usureros}
68 \RIF{Y-12.345.678-9}
69 \Contacto{Jacinto de Ayala}
70 \Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela}
71 \Telefono{+58 (987) 654.32.10}
72 \Email{[email protected]}
73 \Emisor{Lázaro de la Vega}
74
75 \Fecha{02-07-2022}
76
77 \FondoReporte{factura-ejemplo-membrete}
78 \InicioReporte{2.2cm}
79 \TituloReporte{El título del reporte}
80 % \EstiloPagina{soloabajo}
81 % \EstiloPagina[soloabajo]{plain}
82 % \EstiloPagina[empty]{plain}
83 % \EstiloPagina[empty]{soloarriba}
84 % \EstiloPagina{solonumpag}
85 % \EstiloPagina[solonumpag]{plain}
86 % \EstiloPagina[solonumpag]{soloarriba}
87
88 \NotaFinal{Esta es la nota final}
89
90 \begin{document}
91
92 \begin{factura}
93 \Item{1}{ítem con IVA general}{1000}
94 \end{factura}
95
96 \Descripcion{Esta es la descripción larga}
97
98 \begin{reverso}
99 esquina superior izquierda del reverso\hfill esquina superior derecha del reverso\par
100 \vfill
101 esquina inferior izquierda del reverso\hfill esquina inferior derecha del reverso
102 \end{reverso}
103
104 \begin{reporte}
105 El reporte - página 1\newpage El reporte - página 2 \newpage El reporte - página 3.
106 \vspace{1.5cm}\FirmaReporte
107 \end{reporte}
108
109 %% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja.
110 \Ejemplo
111
112 \end{document}
113 %%
114 %%
115 %% End of file `factura-ejemplo-reporte1.tex'.