Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 2

10 Déc '18, 20:57

blub's gravatar image

blub
2265

\documentclass[tikz]{standalone} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[light, largesmallcaps]{kpfonts} \documentclass[tikz,border=5mm]{standalone} \usetikzlibrary{arrows.meta} \usetikzlibrary{positioning,decorations.text} \begin{document} \fontfamily{jkpss}\selectfont{} \begin{tikzpicture} \draw [<->, > = stealth, red] (0, 0) -- (2, 0) node [midway, fill = white] {1} ; [ \draw [yshift yshift = -12, >-< , > = stealth, red, shorten >=-3pt, % <- changement shorten <=-3pt] <=-3pt, % <- changement ] (0, 0) -- (2, 0) node [midway, fill = white] {2} ; \draw [yshift = -24, >-<, > = stealth, red] (-0.1, 0) -- (2.1, 0) node [midway, fill = white] {3} ; \draw [line width = 0.1] (0, 0.1) -- (0, -1) ; \draw [line width = 0.1] (2, 0.1) -- (2, -1) ; \draw [densely dotted, line width = 0.1] (0.1, -0.3) -- (0.1, -0.6) ; \draw [densely dotted, line width = 0.1] (1.9, -0.3) -- (1.9, -0.6) ; \end{tikzpicture} \end{document}\end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/document.png
cliquez ici pour masquer/afficher la révision 1

10 Déc '18, 20:54

blub's gravatar image

blub
2265

\documentclass[tikz]{standalone} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[light, largesmallcaps]{kpfonts} \usetikzlibrary{arrows.meta} \usetikzlibrary{positioning,decorations.text} \begin{document} \fontfamily{jkpss}\selectfont{} \begin{tikzpicture} \draw [<->, > = stealth, red] (0, 0) -- (2, 0) node [midway, fill = white] {1} ; \draw [yshift = -12, >-< , > = stealth, red, shorten >=-3pt, shorten <=-3pt] (0, 0) -- (2, 0) node [midway, fill = white] {2} ; \draw [yshift = -24, >-<, > = stealth, red] (-0.1, 0) -- (2.1, 0) node [midway, fill = white] {3} ; \draw [line width = 0.1] (0, 0.1) -- (0, -1) ; \draw [line width = 0.1] (2, 0.1) -- (2, -1) ; \draw [densely dotted, line width = 0.1] (0.1, -0.3) -- (0.1, -0.6) ; \draw [densely dotted, line width = 0.1] (1.9, -0.3) -- (1.9, -0.6) ; \end{tikzpicture} \end{document}