Debian Codegraph @

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

raw
1 %%
2 %% This is file `factura-ejemplo-factura04.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% factura.dtx (with options: `factcuatro')
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 %% (filas) Totalización en modo de filas
44 %% (duc) Primero la descripción, luego el precio unitario, luego la cantidad
45 %% (sinlineasvi) Sin líneas verticales internas
46 %% (sinlineahtit) Sin línea horizontal interna después del título de las columnas
47 %% (expandecuadro) Expande el cuadro de la factura con espacio en blanco
48 %% (linea) Con línea para inutilizar el espacio en blanco
49 %% (G) Escribiendo una letra ‘G’ en los ítems gravados con IVA general así sea el único gravamen a facturar
50 %% Usando \Nombre y \CI en lugar de \RazonSocial y \RIF
51 %% Sin especificar la persona de contacto
52 %% Sin especificar el e-mail del cliente
53 %% (\Fecha*) Suministrando la fecha según formato de datetime2 sin alterar cómo sale escrita
54 %% (\SepItemsExtra) Agregando una separación extra entre los ítems en la factura
55 %% Sin resumen
56 %% (\NotaPrevia) Con nota previa
57 %% Sin nota final
58 %% (\ItemX) Agregando un ítem sin precio
59 %% (\Descripcion) Con descripción larga
60 %%</desc>
61 %%
62 \documentclass[
63 filas,
64 duc,
65 sinlineasvi,
66 sinlineahtit,
67 expandecuadro,
68 linea,
69 G,
70 ]{factura}
71
72 \input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo.
73 \usepackage[utf8]{inputenc}
74
75 \Num{1}
76 \Nombre{Jacinto de Ayala y San Vicente}
77 \CI{V-987.654.321}
78 \Direccion{Av. Ayala, Galpón San Vicente, Sector Arauca, Apure, Venezuela}
79 \Telefono{+58 (987) 654.32.10}
80
81 \Fecha*{2022}{07}{02}
82
83 \SepItemsExtra{5pt}
84
85 \NotaPrevia{\hfill Esta es la nota previa}
86
87 \begin{document}
88
89 \begin{factura}
90 \Item{1}{ítem con IVA general}{1000}
91 \Item{4}{otro ítem con IVA general}{100}
92 \ItemX{1}{línea sin precio}
93 \end{factura}
94
95 \Descripcion{Esta es la descripción larga}
96
97 %% Este es un comando auxiliar suministrado por factura-ejemplo-aux.tex para escribir el detalle del ejemplo en la última hoja.
98 \Ejemplo
99
100 \end{document}
101 %%
102 %%
103 %% End of file `factura-ejemplo-factura04.tex'.