summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura2.tex
blob: e79ab406672825efd73f64f235f33bfd587cca51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
%%
%% This is file `factura-ejemplo-factura2.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% factura.dtx  (with options: `dos')
%% 
%% Copyright 2015 Emilio Lazo Zaia <emiliolazozaia@gmail.com>
%% 
%% 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 Lazo Zaia.
%% 
%% This work consists of the files README and factura.dtx
%% with its derived files factura.ins, factura.cls, factura.def,
%% factura-ejemplo-firma.tex, factura-ejemplo-fondo.tex,
%% factura-ejemplo-membrete.tex, factura-ejemplo-cotizacion.tex,
%% factura-ejemplo-prefactura.tex, factura-ejemplo-factura1.tex
%% factura-ejemplo-factura2.tex, factura-ejemplo-factura3.tex,
%% factura-ejemplo-factura4.tex, factura-ejemplo-factura5.tex,
%% factura-ejemplo-factura6.tex, factura-ejemplo-reporte1.tex,
%% factura-ejemplo-reporte2.tex, factura-ejemplo-reporte3.tex,
%% and factura-beispiel-rechnung.tex.
%% 
%% Descripción de este ejemplo:
%%  Hacemos una factura,
%%  Primero la descripción, luego la cantidad, luego el precio unitario (dcu),
%%  Con descuentos individuales (descuentos),
%%  Sin líneas verticales (sinlineasv),
%%  Sólo firma del emisor (unafirma),
%%  Escribe el archivo CSV de valores separados por comas (csv),
%%  Usando \Nombre y \CI en lugar de \RazonSocial y \RIF,
%%  Con resumen (\Resumen),
%%  Alterando la separación mínima vertical entre los elementos (\SepElementos),
%%  Alterando la separación horizontal en el encabezado y la distancia desde el contorno hasta el texto (\SepEncabez),
%%  Alterando la la distancia desde el contorno hasta el texto en la descripción (\SepDescrip),
%%  Alterando la línea de la descripción, la curvatura en la esquina y la sombra (\LineaDescrip),
%%  Con artículos gravados con todos los IVA,
%%  Con descripción larga.
%%
\documentclass[
dcu,
descuentos,
sinlineasv,
unafirma,
csv,
]{factura}

\usepackage[utf8]{inputenc}

\Fecha{01-01-2016}
\Nombre{Jacinto de Ayala y San Vicente}
\CI{V-987.654.321}
\Direccion{Av. Ayala, Galpón Santo Vicente, Sector Arauca, Apure, Venezuela}
\Telefono{+58 (987) 654.32.10}
\Email{jacinto@ayala.sv}
\Emisor{Lázaro de la Vega}
\Condiciones{Las condiciones de pago...}
\Resumen{El resumen opcional}
\SepElementos{1cm}
\SepEncabez{1cm}{16pt}
\SepDescrip{16pt}
\LineaDescrip{1pt}{20pt}{3pt}

\begin{document}

\begin{factura}
 \Item{1}{ítem con IVA general, con descuento}{1000}{8}
 \ItemR{1}{ítem con IVA reducido, con descuento}{1000}{5}
 \ItemA{1}{ítem con IVA adicional, con descuento}{1000}{10}
 \ItemE{1}{ítem exento de impuesto, con descuento}{1000}{8}
 \ItemX{1}{línea sin precio}
\end{factura}

\Descripcion{Descripción larga del servicio}

\end{document}
%% 
%%
%% End of file `factura-ejemplo-factura2.tex'.