diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-12 22:35:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-12 22:35:59 +0000 |
commit | cf142719d340fd8fd648781340d6bcbb9db6820d (patch) | |
tree | f9775b68dc7218633f780617ded0eec8a9889c08 /Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex | |
parent | 6f713318f87f97bac590e57b86ed2a58bc4e7a25 (diff) |
factura (12dec17)
git-svn-id: svn://tug.org/texlive/trunk@46053 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex b/Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex new file mode 100644 index 00000000000..3cc1fa4949e --- /dev/null +++ b/Master/texmf-dist/doc/latex/factura/factura-ejemplo-factura08.tex @@ -0,0 +1,114 @@ +%% +%% This is file `factura-ejemplo-factura08.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% factura.dtx (with options: `factocho') +%% +%% Copyright 2017 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-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: +%%<desc> +%% Escribimos una factura +%% Escribimos factura y reporte, pero sólo producimos la factura +%% (sinexpandir) Sin expandir el cuadro de la factura ni la descripción +%% (siniva) Sin IVA +%% (csv) Escribe un archivo CSV con la información numérica de la factura +%% Sin especificar fecha para que tome la del día +%% Redefiniendo el formato de la fecha (redefiniendo macros \@@Fecha y \@EstiloFecha) +%% (\Descuento*) Con descuentos totales en moneda aplicables por igual a todos los tipos de elementos existentes +%% (\Letra***) Cambiando varias de las tipografías +%% (\Condiciones) Con condiciones del documento +%% (\Resumen) Con resumen +%% (\NotaInterna) Con nota interna +%% (\Descripcion) Con descripción larga +%% (\FirmaReporte) Agregando la firma escaneada en el reporte +%%</desc> +%% +\documentclass[ +sinexpandir, +siniva, +csv, +]{factura} + +\input{factura-ejemplo-aux.tex}% Se incluye para efectos del ejemplo, así tendremos disponible la macro \Ejemplo. +\usepackage[utf8]{inputenc} + +\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} + +% \Fecha{06-11-2017} + +\makeatletter + \renewcommand{\@@Fecha}{\slshape FECHA:} + \renewcommand{\@EstiloFechas}{\@LetraFecha\bfseries\@@Fecha\space{\color{blue}\@Fecha}} +\makeatother + +\Descuento*{300} +\LetraItems{\fontsize{20}{30}} +\LetraNumeros{\fontsize{20}{30}} +\LetraTipoIVA{\fontsize{20}{30}\bfseries} +\LetraTitTotales{\fontsize{20}{30}\slshape} +\LetraNumTotales{\fontsize{20}{30}} +\LetraTitColumnas{\fontsize{15}{20}} +\LetraTitTotal{\fontsize{20}{30}\bfseries\slshape} +\LetraNumTotal{\fontsize{20}{30}\bfseries} +\tabcolsep7pt + +\Condiciones{Las condiciones del documento...} +\Resumen{El resumen opcional} +\NotaInterna{LA NOTA INTERNA} + +\begin{document} + +\begin{factura} + \Item{1}{ítem con IVA general}{1000} + \Item{10}{otro ítem con IVA general (descripción larga para mostrar el cambio de línea)}[otro ítem con IVA general (esta descripción es sólo para el .csv)]{1000}{20} +\end{factura} + +\Descripcion{La descripción larga} + +\begin{reporte} + El reporte - página 1\newpage El reporte - página 2 \newpage El reporte - página 3. + \FirmaReporte[\includegraphics[width=5cm]{factura-ejemplo-firma}][0pt][21pt] +\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-factura08.tex'. |