Debian Codegraph @

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

raw
1 %%
2 %% This is file `factura-ejemplo-reporte3.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% factura.dtx (with options: `reptres')
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 %% No escribimos factura ni usamos las macros que definen valores para su uso
43 %% Escribimos un reporte
44 %% (soloreporte) Generamos solamente el reporte
45 %% (twoside) El reporte se imprime en las dos caras del papel
46 %% (sinencabezadoreporte) Pedimos que el reporte no tenga encabezado
47 %% (\Proveedor) Especificando el nombre del proveedor para el encabezado y/o firma en el reporte
48 %% Sin especificar fondo de reporte
49 %% (\TituloReporte*) Establecemos el título del reporte para que salga en las cabeceras o pies de página
50 %% (\EstiloPagina) Cambiamos el estilo de página para que la información del reporte aparezca como pie de página
51 %% (\EncabezadoReporte) Estableciendo el formato para el encabezado del reporte
52 %% (\FirmaReporte) Agregando la firma escaneada en el reporte
53 %% Con \FirmaReporte, ajustando el corrimiento en “y” de la firma respecto a la línea
54 %% Con \FirmaReporte, cambiando la ubicación en “x” de la línea de la firma y cambiando la longitud de la línea hacia los lados
55 %% Con \FirmaReporte, cambiando el nombre de la persona que va a firmar
56 %%</desc>
57 %%
58 \documentclass[
59 soloreporte,
60 twoside,
61 sinencabezadoreporte,
62 ]{factura}
63
64 \input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo.
65 \usepackage[utf8]{inputenc}
66
67 \RazonSocial{Ayala San Vicente Usureros}
68 \Proveedor{Lázaro de la Vega y San Román}
69
70 \Fecha{02-07-2022}
71
72 \TituloReporte*{El título del reporte}
73 % \EstiloPagina{soloarriba}
74 % \EstiloPagina{soloabajo}
75 % \EstiloPagina[soloabajo]{plain}
76 % \EstiloPagina[empty]{plain}
77 % \EstiloPagina[empty]{soloabajo}
78 \EstiloPagina[empty]{soloarriba}
79 % \EstiloPagina{plain}
80 % \EstiloPagina{solonumpag}
81 % \EstiloPagina{soloabajo}
82 % \EstiloPagina[solonumpag]{plain}
83 % \EstiloPagina[solonumpag]{soloarriba}
84 % \EstiloPagina[solonumpag]{soloabajo}
85 % \EstiloPagina[empty]{soloarriba}
86 \EncabezadoReporte{\framebox{\parbox{\linewidth-2\fboxsep-2\fboxrule}{Aquí el usuario puede diseñar su encabezado del reporte para establecer la información que allí aparece según un diseño propio.}}}
87
88 \begin{document}
89
90 \begin{reporte}
91 El reporte - página 1\newpage El reporte - página 2 \newpage El reporte - página 3.
92 \FirmaReporte[\includegraphics[width=4.5cm]{factura-ejemplo-firma}][0pt][17pt][3cm][3cm]
93 \end{reporte}
94
95 %% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja.
96 \Ejemplo
97
98 \end{document}
99 %%
100 %%
101 %% End of file `factura-ejemplo-reporte3.tex'.