Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 4
mineure illustration accent sur « Algérie »

26 Mai '20, 18:35

Pathe's gravatar image

Pathe
7.6k49210252

Voici une solution avec `\usetikzlibrary{positioning}` : \documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ mynode/.style={ rectangle, draw, text width=2.5cm, align=center, anchor=center } ] \begin{scope}[xscale=2] % description et nommage des noeuds \node[mynode] (AA) {Air Algérie\\SPA}; \node[below=of AA] (dummy) {}; \node[mynode,left=of dummy] (PAF) {P\^ole \\Administration\\et Finance}; \node[mynode,right=of dummy] (PO) {P\^ole \\Op\'eration}; \node[mynode,below right=of PO.center] (DC) {Division \\Commerciale}; \node[mynode,below=0.2cm of DC] (DP) {Division \\Production}; \node[mynode,below=0.2cm of DP] (DCE) {Division \\Commandement\\d'exploitation}; \node[mynode,dashed, below=7cm of AA] (AAH) {Air Algérie\\Handing}; \node[mynode,dashed, left=of AAH] (AAC) {Air Algérie\\Catering}; \node[mynode,dashed, right=of AAH] (AAM) {Air Algérie\\Maintenance}; %% description des arêtes %% -- arête rectiligne entre les noeuds nommés \draw (AA) -- (AAH); \draw (PAF) -- (PO); %% |- départ vertical arrivée horizontale \draw (PO) |- (DC); \draw (PO) |- (DP); \draw (PO) |- (DCE); %% -| départ horizontal (du noeud de coordonnée (0,1)) arrivée verticale \draw (AAC.north) -- ++(0,0.5) -| (AAM.north); \end{scope} \end{tikzpicture} \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/document_gKm5UxO.png<img src="/upfiles/2alignement-tikz.png" style="width: 100%;"/>
cliquez ici pour masquer/afficher la révision 3
mineure accent sur « Algérie »

26 Mai '20, 18:29

Pathe's gravatar image

Pathe
7.6k49210252

Voici une solution avec `\usetikzlibrary{positioning}` : \documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ mynode/.style={ rectangle, draw, text width=2.5cm, align=center, anchor=center } ] \begin{scope}[xscale=2] % description et nommage des noeuds \node[mynode] (AA) {Air Algerie\\SPA}; Algérie\\SPA}; \node[below=of AA] (dummy) {}; \node[mynode,left=of dummy] (PAF) {P\^ole \\Administration\\et Finance}; \node[mynode,right=of dummy] (PO) {P\^ole \\Op\'eration}; \node[mynode,below right=of PO.center] (DC) {Division \\Commerciale}; \node[mynode,below=0.2cm of DC] (DP) {Division \\Production}; \node[mynode,below=0.2cm of DP] (DCE) {Division \\Commandement\\d'exploitation}; \node[mynode,dashed, below=7cm of AA] (AAH) {Air Algerie\\Handing}; Algérie\\Handing}; \node[mynode,dashed, left=of AAH] (AAC) {Air Algerie\\Catering}; Algérie\\Catering}; \node[mynode,dashed, right=of AAH] (AAM) {Air Algerie\\Maintenance}; Algérie\\Maintenance}; %% description des arêtes %% -- arête rectiligne entre les noeuds nommés \draw (AA) -- (AAH); \draw (PAF) -- (PO); %% |- départ vertical arrivée horizontale \draw (PO) |- (DC); \draw (PO) |- (DP); \draw (PO) |- (DCE); %% -| départ horizontal (du noeud de coordonnée (0,1)) arrivée verticale \draw (AAC.north) -- ++(0,0.5) -| (AAM.north); \end{scope} \end{tikzpicture} \end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/document_gKm5UxO.png
cliquez ici pour masquer/afficher la révision 2

26 Mai '20, 17:54

samcarter's gravatar image

samcarter
8.6k2817

cliquez ici pour masquer/afficher la révision 1

26 Mai '20, 17:53

samcarter's gravatar image

samcarter
8.6k2817

C'est votre première visite ici ? Consultez la FAQ !

×