summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex178
1 files changed, 178 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex b/Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex
new file mode 100644
index 00000000000..2b97cf20c03
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/facture-belge-simple-sans-tva/article-facture.tex
@@ -0,0 +1,178 @@
+\documentclass[a4paper,10pt]{article}
+
+%% Au moins 1 argument obligatoire pour babel [french, english, ...]
+%% L'encodage par defaut pour inputenc est utf8, mais vous pouvez utiliser l'option [latin1]
+%% vous pouvez ensuite utiliser \rsEncodage{} pour vérifier l'encodage latin1ou utf8
+%% Exemples d'options (nb: si vous changez les options, compilez 2 fois de suite):
+%\usepackage[latin1, french]{facture-belge-simple-sans-tva} % latin1, français
+%\usepackage[french, english]{facture-belge-simple-sans-tva} % utf8, français, anglais
+\usepackage[french]{facture-belge-simple-sans-tva} % utf8, français
+
+\begin{document}
+
+%% pour vérifier l'encodage UTF-8 ou latin1
+%\rsEncodage{}
+
+%%%%%%%%%%%%%%%%%%%%%
+%% Unité monétaire %%
+%%%%%%%%%%%%%%%%%%%%%
+
+%% permet de choisir l'unité monétaire
+%% \euro (defaut), \pounds (livre anglaise) \$ (dollar américain) \textyen (yen japonais)
+%% Decomenter ci-dessous pour voir les unités
+% \${} \pounds{} \euro{} \textyen{}
+\rsChoisirUniteMonetaire{\euro}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Aération de la facture %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% permet d'aérer la page verticalement; le paramètre est une mesure LaTeX
+%% TeX comprend six unités de mesure :
+%% + pt point = 0,35 mm
+%% + mm millimètre
+%% + ex correspond à la hauteur d'un x dans la fonte courante
+%% + em correspond à la largeur d'un m dans la fonte courante
+%% + cm centimètre
+%% + in pouce = 2,54 cm
+%\rsAerationVerticale{0.3cm}
+%\rsAerationVerticale{1.5cm}
+\rsAerationVerticale{1cm}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Numéro et date de la facture %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%\rsNoDate{<numéro=nombre>}{date=chaine}
+%\rsNoDate{1}{jj mois AAAA}
+\rsNoDate{X}{JJ mois AAAA}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Aération du texte %%
+\vspace{\rsespaceVertical}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Tableau des adresses expédition, facturation, livraison %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% On ouvre l'entête du tableau des adresses; à n'utiliser qu'une seule fois.
+\rsEnteteTableauAdresses{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Entrée d'une ligne d'adresse, dans l'ordre expédition, facturation, livraison
+
+%% 1) Voici un exemple complexe:
+\rsLigneTableauAdresses{Prénom \textsc{Nom}}{ \textsc{Fbg}~\textsc{Bgf}}{Voir facturation}
+\rsLigneTableauAdresses{}{Fédération belge de gong}{}
+\rsLigneTableauAdresses{}{Belgische gong federatie}{}
+\rsLigneTableauAdresses{N\up{o}, rue Delarue1}{DelarueStraat, no}{}
+\rsLigneTableauAdresses{\textsc{CCC1 Ville1}}{\textsc{CCC2 Ville2}}{}
+\rsLigneTableauAdresses{\href{mailto:user@domain.tld}{user@domain.tld}}{\textsc{(Entité)}}{}
+\rsLigneTableauAdresses{+32 684 037 078}{}{}
+
+%% 2) Voici un exemple simple:
+%\rsLigneTableauAdresses{\textsc{Prénom Nom}}{\textsc{Org 1}}{\textsc{Org 2}}
+%\rsLigneTableauAdresses{}{Nom organisation 1}{Nom organisation 2}
+%\rsLigneTableauAdresses{N\up{o}, rue Delarue1}{N\up{o}, rue Delarue2}{N\up{o}, rue Delarue3}
+%\rsLigneTableauAdresses{\textsc{CCC1 Ville1}}{\textsc{CCC2 Ville2}}{\textsc{CCCC Ville3}}
+
+%% 3) et enfin, si vous voulez, des lignes vides:
+%\rsLigneTableauAdresses{}{}{}
+%\rsLigneTableauAdresses{}{}{}
+%\rsLigneTableauAdresses{}{}{}
+%\rsLigneTableauAdresses{}{}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% on ferme le pied du tableau des adresses; à n'utiliser qu'une seule fois.
+\rsPiedTableauAdresses{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Aération du texte %%
+\vspace{\rsespaceVertical}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Tableau des produits, quantité, prix, remise, total produit %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% On ouvre l'entête du tableau des produits; à n'utiliser qu'une seule fois.
+\rsEnteteTableauProduits{}% Ce commentaire bloque un blanc indésirable.
+%% ATTENTION: retirer le commentaire ci-dessus déstabilisera l'affichage !!!
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%s
+%% Entrée d'une ligne de produit; produit, quantité, prix, remise, total produit
+%% Les calculs sont à votre charge !!
+%% Ordre des arguments:
+%% \rsLigneTableauProduits{produit}{quantité}{prix}{remise}{total produit}
+
+\rsLigneTableauProduits{Produit 1}{5}{100,00}{0,00}{500,00}
+\rsLigneTableauProduits{Produit eget luctus nisl}{2}{1.000,00}{0,00}{2.000,00}
+
+%% A terminer obligatoirement par la ligne du total général
+%% \rsLigneTotalTableauProduits{total produit}
+\rsLigneTotalTableauProduits{2.500,00}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% on ferme le pied du tableau des produits; à n'utiliser qu'une seule fois.
+\rsPiedTableauProduits{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Aération du texte %%
+\vspace{\rsespaceVertical}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Texte libre, DEBUT. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\paragraph*{Description du produit:}
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla rhoncus est ac viverra lacinia. Etiam pulvinar tempus rutrum. Maecenas vel metus metus. Quisque tempus tempor metus, vitae interdum purus vehicula ac. Duis purus tortor, ultricies eu nunc eget, aliquet ullamcorper lectus. Duis eget luctus nisl, non molestie quam. Cras volutpat egestas arcu, ac blandit felis scelerisque quis. Morbi vestibulum feugiat facilisis.
+
+Ut sed augue pharetra, viverra sapien in, tincidunt magna. Sed a feugiat tortor. Mauris maximus posuere egestas. Nulla interdum nisl quis ex eleifend, accumsan posuere libero vehicula.
+
+\paragraph*{\'{E}tendue des fournitures:}
+\begin{itemize}
+ \item La livraison du produit 1 s'étend sur 5 semaines, du JJ/MM/AAAA au JJ/MM/AAAA, 1 quantité par semaine;
+ \item La livraison du produit eget luctus nisl s'étend sur 2 mois, du JJ/MM/AAAA au JJ/MM/AAAA, 1 quantité par semaine.
+\end{itemize}
+
+%%%%%%%%%%%%%%%%%%%%%%%
+%% Texte libre, FIN. %%
+%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Entrée du compte bancaire créditeur et de la date limite de paiement. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% \compteBancaireEtDateLimiteDePaiement{n° compte}{JJ mois AAAA}
+\rsCompteBancaireEtDateLimiteDePaiement{BE95 0011 8359 9858}{JJ mois AAAA}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Ajoute les crédits en footer. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\rsCredit{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Ci-dessous, les lignes du haut et du bas %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{figure}[t]
+\begin{center}
+\includegraphics[scale=0.3]{line_haut.png}
+\end{center}
+\end{figure}
+
+
+\begin{figure}[b]
+\begin{center}
+\includegraphics[scale=0.3]{line_bas.png}
+\end{center}
+\end{figure}
+
+\end{document}