Amélioration des abbréviations sur 2 colonnes

This commit is contained in:
Cléo Baras 2021-04-10 10:49:22 +02:00
parent 0d7cc5875e
commit 6247885300
4 changed files with 381 additions and 204 deletions

View File

@ -28,6 +28,7 @@
\usepackage{array} \usepackage{array}
\usepackage{fontawesome} \usepackage{fontawesome}
\usepackage{amssymb} \usepackage{amssymb}
\usepackage{multicol}
\setlist{leftmargin=1em,topsep=0pt,partopsep=0pt,itemsep=0pt,itemindent=0em} \setlist{leftmargin=1em,topsep=0pt,partopsep=0pt,itemsep=0pt,itemindent=0em}
@ -192,6 +193,8 @@
\section{Abbréviations} \section{Abbréviations}
\begin{multicols}{2}
\input{synthese/abbreviations.tex} \input{synthese/abbreviations.tex}
\end{multicols}
\end{document} \end{document}

View File

@ -1,190 +1,372 @@
\begin{tabular}{rp{6.5cm}p{0.5cm}rp{6.5cm}} \begin{tabular}{rp{6.5cm}}
\texttt{ACL} & Access Control List \makebox[1.5cm][r]{\texttt{ACL}} & Access Control List\\
& & \end{tabular}
\texttt{MOOC} & Massive Open Online Course
\\ \begin{tabular}{rp{6.5cm}}
\texttt{ADSL} & Asymmetric Digital Subscriber Line \makebox[1.5cm][r]{\texttt{ADSL}} & Asymmetric Digital Subscriber Line\\
& & \end{tabular}
\texttt{NAS} & Network Attached Storage
\\ \begin{tabular}{rp{6.5cm}}
\texttt{ALU} & Arithmetic and Logic Unit \makebox[1.5cm][r]{\texttt{ALU}} & Arithmetic and Logic Unit\\
& & \end{tabular}
\texttt{NAT} & Network Address Translation
\\ \begin{tabular}{rp{6.5cm}}
\texttt{ANSSI} & Agence nationale de la sécurité des systèmes d'information \makebox[1.5cm][r]{\texttt{ANSSI}} & Agence nationale de la sécurité des systèmes d'information\\
& & \end{tabular}
\texttt{NDP} & Neighbor Discovery Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{API} & Application Programming Interface \makebox[1.5cm][r]{\texttt{API}} & Application Programming Interface\\
& & \end{tabular}
\texttt{NTP} & Network Time Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{APC} & Approche Par Compétence \makebox[1.5cm][r]{\texttt{APC}} & Approche Par Compétence\\
& & \end{tabular}
\texttt{OS} & Operating System
\\ \begin{tabular}{rp{6.5cm}}
\texttt{ARP} & Address Resolution Protocol \makebox[1.5cm][r]{\texttt{ARP}} & Address Resolution Protocol\\
& & \end{tabular}
\texttt{OSPF} & Open Shortest Path First
\\ \begin{tabular}{rp{6.5cm}}
\texttt{BDD} & Base De Données \makebox[1.5cm][r]{\texttt{BDD}} & Base De Données\\
& & \end{tabular}
\texttt{PABX} & Private Automatic Branch Exchange
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CAN} & Convertisseur Analogique-Numérique \makebox[1.5cm][r]{\texttt{CAN}} & Convertisseur Analogique-Numérique\\
& & \end{tabular}
\texttt{PAT} & Port Address Translation
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CC} & Copie Carbone \makebox[1.5cm][r]{\texttt{CC}} & Copie Carbone\\
& & \end{tabular}
\texttt{PC} & Personnal Computer
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CCi} & Copie Carbone invisible \makebox[1.5cm][r]{\texttt{CCi}} & Copie Carbone invisible\\
& & \end{tabular}
\texttt{PERT} & Program Evaluation and Review Technology
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CEM} & Compatibilité ÉlectroMagnétique \makebox[1.5cm][r]{\texttt{CEM}} & Compatibilité ÉlectroMagnétique\\
& & \end{tabular}
\texttt{PME} & Petite et Moyenne Entreprise
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CNA} & Convertisseur Numérique-Analogique \makebox[1.5cm][r]{\texttt{CNA}} & Convertisseur Numérique-Analogique\\
& & \end{tabular}
\texttt{PoE} & Power over Ethernet
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CNIL} & Commission Nationale de l'Informatique et des Libertés \makebox[1.5cm][r]{\texttt{CNIL}} & Commission Nationale de l'Informatique et des Libertés\\
& & \end{tabular}
\texttt{POP} & Post Office Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CIDR} & Classless Inter-Domain Routing \makebox[1.5cm][r]{\texttt{CIDR}} & Classless Inter-Domain Routing\\
& & \end{tabular}
\texttt{PPP} & Projet Professionnel et Personnel
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CSS} & Cascading Style Sheets \makebox[1.5cm][r]{\texttt{CSS}} & Cascading Style Sheets\\
& & \end{tabular}
\texttt{PXE} & Pre-boot eXecution Environment
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CSV} & Comma-Separated Values \makebox[1.5cm][r]{\texttt{CSV}} & Comma-Separated Values\\
& & \end{tabular}
\texttt{QCM} & Questionnaire à Choix Multiples
\\ \begin{tabular}{rp{6.5cm}}
\texttt{CV} & Curriculum Vitae \makebox[1.5cm][r]{\texttt{CV}} & Curriculum Vitae\\
& & \end{tabular}
\texttt{RGPD} & Règlement Général pour la Protection des Données
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DDoS} & Distributed Denial of Service \makebox[1.5cm][r]{\texttt{DDoS}} & Distributed Denial of Service\\
& & \end{tabular}
\texttt{RSTP} & Rapid Spanning Tree Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DHCP} & Dynamic Host Configuration Protocol \makebox[1.5cm][r]{\texttt{DHCP}} & Dynamic Host Configuration Protocol\\
& & \end{tabular}
\texttt{RTP} & Real-Time Transport Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DMZ} & DeMilitarized Zone \makebox[1.5cm][r]{\texttt{DMZ}} & DeMilitarized Zone\\
& & \end{tabular}
\texttt{SGBD} & Système de Gestion de Bases de Données
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DNS} & Domain Name System \makebox[1.5cm][r]{\texttt{DNS}} & Domain Name System\\
& & \end{tabular}
\texttt{SMTP} & Simple Mail Transfer Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DOM} & Document Object Model \makebox[1.5cm][r]{\texttt{DOM}} & Document Object Model\\
& & \end{tabular}
\texttt{SQL} & Structured Query Language
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DSI} & Direction des Systèmes d'Information \makebox[1.5cm][r]{\texttt{DSI}} & Direction des Systèmes d'Information\\
& & \end{tabular}
\texttt{SSH} & Secure SHell
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DSP} & Densité Spectrale de Puissance \makebox[1.5cm][r]{\texttt{DSP}} & Densité Spectrale de Puissance\\
& & \end{tabular}
\texttt{STP} & Spanning Tree Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DAB} & Digital Audio Broadcasting \makebox[1.5cm][r]{\texttt{DAB}} & Digital Audio Broadcasting\\
& & \end{tabular}
\texttt{TELNET} & TELecommunication NETwork
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DVB-S} & Digital Video Broadcasting Satellite \makebox[1.5cm][r]{\texttt{DVB-S}} & Digital Video Broadcasting Satellite\\
& & \end{tabular}
\texttt{TCP} & Transmission Control Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{DVB-T} & Digital Video Broadcasting Terrestre \makebox[1.5cm][r]{\texttt{DVB-T}} & Digital Video Broadcasting Terrestre\\
& & \end{tabular}
\texttt{TDM} & Time Division Multiplexing
\\ \begin{tabular}{rp{6.5cm}}
\texttt{EMILE} & Enseignement d'une Matière par l'Intégration d'une Langue Etrangère \makebox[1.5cm][r]{\texttt{EMILE}} & Enseignement d'une Matière par l'Intégration d'une Langue Etrangère\\
& & \end{tabular}
\texttt{TFTP} & Trivial File Transfer Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{FFT} & Fast Fourier Transform \makebox[1.5cm][r]{\texttt{FFT}} & Fast Fourier Transform\\
& & \end{tabular}
\texttt{ToIP} & Telephony over Internet Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{FM} & Frequency Modulation \makebox[1.5cm][r]{\texttt{FM}} & Frequency Modulation\\
& & \end{tabular}
\texttt{TV} & TéléVision
\\ \begin{tabular}{rp{6.5cm}}
\texttt{FO} & Fibre Optique \makebox[1.5cm][r]{\texttt{FO}} & Fibre Optique\\
& & \end{tabular}
\texttt{UDP} & User Datagram Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{FOVI} & Faux Ordres de Virements Internationaux \makebox[1.5cm][r]{\texttt{FOVI}} & Faux Ordres de Virements Internationaux\\
& & \end{tabular}
\texttt{UML} & Unified Modeling Language
\\ \begin{tabular}{rp{6.5cm}}
\texttt{FTP} & File Transfer Protocol \makebox[1.5cm][r]{\texttt{FTP}} & File Transfer Protocol\\
& & \end{tabular}
\texttt{URL} & Uniform Resource Locator
\\ \begin{tabular}{rp{6.5cm}}
\texttt{GBF} & Générateur de Basses Fréquences \makebox[1.5cm][r]{\texttt{GBF}} & Générateur de Basses Fréquences\\
& & \end{tabular}
\texttt{USB} & Universal Serial Bus
\\ \begin{tabular}{rp{6.5cm}}
\texttt{GPIO} & General Purpose Input/Output \makebox[1.5cm][r]{\texttt{GPIO}} & General Purpose Input/Output\\
& & \end{tabular}
\texttt{VLAN} & Virtual Local Area Network
\\ \begin{tabular}{rp{6.5cm}}
\texttt{HiFi} & High Fidelity \makebox[1.5cm][r]{\texttt{HiFi}} & High Fidelity\\
& & \end{tabular}
\texttt{VLSM} & Variable-Length Subnet Masking
\\ \begin{tabular}{rp{6.5cm}}
\texttt{HTML} & HyperText Markup Language \makebox[1.5cm][r]{\texttt{HTML}} & HyperText Markup Language\\
& & \end{tabular}
\texttt{VM} & Virtual Machine
\\ \begin{tabular}{rp{6.5cm}}
\texttt{HTTP} & Hypertext Transfer Protocol \makebox[1.5cm][r]{\texttt{HTTP}} & Hypertext Transfer Protocol\\
& & \end{tabular}
\texttt{VRF} & Virtual Routing Forwarding
\\ \begin{tabular}{rp{6.5cm}}
\texttt{ICMP} & Internet Control Message Protocol \makebox[1.5cm][r]{\texttt{ICMP}} & Internet Control Message Protocol\\
& & \end{tabular}
\texttt{VTP} & VLAN Trunking Protocol
\\ \begin{tabular}{rp{6.5cm}}
\texttt{IMAP} & Internet Message Access Protocol \makebox[1.5cm][r]{\texttt{IMAP}} & Internet Message Access Protocol\\
& & \end{tabular}
\texttt{xDSL} & x Digital Subscriber Line
\\ \begin{tabular}{rp{6.5cm}}
\texttt{IP} & Internet Protocol \makebox[1.5cm][r]{\texttt{IP}} & Internet Protocol\\
& & \end{tabular}
\texttt{XML} & eXtensible Markup Language
\\ \begin{tabular}{rp{6.5cm}}
\texttt{IPBX} & Internet Protocol Private Branch eXchange \makebox[1.5cm][r]{\texttt{IPBX}} & Internet Protocol Private Branch eXchange\\
& & \end{tabular}
\texttt{XSS} & cross-Site Scripting
\\ \begin{tabular}{rp{6.5cm}}
\texttt{JSON} & JavaScript Object Notation \makebox[1.5cm][r]{\texttt{JSON}} & JavaScript Object Notation\\
& & \end{tabular}
\texttt{2D} & deux Dimensions
\\ \begin{tabular}{rp{6.5cm}}
\texttt{LAN} & Local Area Network \makebox[1.5cm][r]{\texttt{LAN}} & Local Area Network\\
& & \end{tabular}
\texttt{3D} & trois Dimensions
\\ \begin{tabular}{rp{6.5cm}}
\texttt{LED} & Light-Emitting Diode \makebox[1.5cm][r]{\texttt{LED}} & Light-Emitting Diode\\
& & \end{tabular}
\texttt{4G} & 4th Generation
\\ \begin{tabular}{rp{6.5cm}}
\texttt{MAC} & Media Access Control \makebox[1.5cm][r]{\texttt{MAC}} & Media Access Control\\
& & \end{tabular}
&
\\ \begin{tabular}{rp{6.5cm}}
\end{tabular} \makebox[1.5cm][r]{\texttt{MOOC}} & Massive Open Online Course\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{NAS}} & Network Attached Storage\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{NAT}} & Network Address Translation\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{NDP}} & Neighbor Discovery Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{NTP}} & Network Time Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{OS}} & Operating System\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{OSPF}} & Open Shortest Path First\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PABX}} & Private Automatic Branch Exchange\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PAT}} & Port Address Translation\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PC}} & Personnal Computer\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PERT}} & Program Evaluation and Review Technology\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PME}} & Petite et Moyenne Entreprise\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PoE}} & Power over Ethernet\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{POP}} & Post Office Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PPP}} & Projet Professionnel et Personnel\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{PXE}} & Pre-boot eXecution Environment\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{QCM}} & Questionnaire à Choix Multiples\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{RGPD}} & Règlement Général pour la Protection des Données\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{RSTP}} & Rapid Spanning Tree Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{RTP}} & Real-Time Transport Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{SGBD}} & Système de Gestion de Bases de Données\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{SMTP}} & Simple Mail Transfer Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{SQL}} & Structured Query Language\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{SSH}} & Secure SHell\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{STP}} & Spanning Tree Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{TELNET}} & TELecommunication NETwork\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{TCP}} & Transmission Control Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{TDM}} & Time Division Multiplexing\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{TFTP}} & Trivial File Transfer Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{ToIP}} & Telephony over Internet Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{TV}} & TéléVision\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{UDP}} & User Datagram Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{UML}} & Unified Modeling Language\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{URL}} & Uniform Resource Locator\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{USB}} & Universal Serial Bus\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{VLAN}} & Virtual Local Area Network\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{VLSM}} & Variable-Length Subnet Masking\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{VM}} & Virtual Machine\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{VRF}} & Virtual Routing Forwarding\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{VTP}} & VLAN Trunking Protocol\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{xDSL}} & x Digital Subscriber Line\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{XML}} & eXtensible Markup Language\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{XSS}} & cross-Site Scripting\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{2D}} & deux Dimensions\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{3D}} & trois Dimensions\\
\end{tabular}
\begin{tabular}{rp{6.5cm}}
\makebox[1.5cm][r]{\texttt{4G}} & 4th Generation\\
\end{tabular}

View File

@ -95,7 +95,7 @@ for sem in ["S1", "S2"]:
print(f"Export de {fichierlatex}") print(f"Export de {fichierlatex}")
## Export latex divers ## Export latex divers
if True: if False:
# Export latex des ressources # Export latex des ressources
for sem in ressources: for sem in ressources:
for r in ressources[sem]: for r in ressources[sem]:

View File

@ -688,17 +688,9 @@ def str_latex_abbreviations():
"""Renvoie le code latex d'un tableau pour les abbréviations""" """Renvoie le code latex d'un tableau pour les abbréviations"""
liste = [ [cle, DATA_ABBREVIATIONS[lettre][cle]] for lettre in DATA_ABBREVIATIONS for cle in DATA_ABBREVIATIONS[lettre]] liste = [ [cle, DATA_ABBREVIATIONS[lettre][cle]] for lettre in DATA_ABBREVIATIONS for cle in DATA_ABBREVIATIONS[lettre]]
nbre_abbreviations = len(liste) nbre_abbreviations = len(liste)
moitie = nbre_abbreviations // 2 chaine = ""
if nbre_abbreviations % 2 == 1: for i in range(nbre_abbreviations):
moitie += 1 chaine += "\\begin{tabular}{rp{6.5cm}} \n"
chaine = "\\begin{tabular}{rp{6.5cm}p{0.5cm}rp{6.5cm}} \n" chaine += "\makebox[1.5cm][r]{\\texttt{" + liste[i][0] + "}} & " + liste[i][1] + "\\\\ \n"
for i in range(moitie): chaine += "\\end{tabular}\n\n"
chaine += "\\texttt{" + liste[i][0] + "} & " + liste[i][1] + "\n"
chaine += " & & \n"
if moitie + i < len(liste):
chaine += "\\texttt{" + liste[moitie + i][0] + "} & " + liste[moitie + i][1] + "\n"
else:
chaine += " & \n"
chaine += "\\\\ \n"
chaine += "\\end{tabular}"
return chaine return chaine