ID-Nummer beschreibende Zeilen

ID-Nummer beschreibende Zeilen

Ich möchte jeden Teil einer ID-Nummer wie folgt beschreiben: Beschreibende Zeilen

Wie würde ich dabei vorgehen? Könnte ich etwas mit Tikz einrichten? Ich möchte IDs unterschiedlicher Länge und Komplexität beschreiben können. Am besten mit einer skriptähnlichen Funktion. Ich bin kein Neuling bei Latex oder Tikz, aber meine Verwendung war immer ziemlich unkompliziert.

Danke schön!

Edit: Nachdem ich mir dieses alte Problem noch einmal angesehen habe, bin ich endlich auf eine Lösung gekommen, mit der ich ganz zufrieden bin. Falls also jemand mit einer ähnlichen Frage darüber stolpert, poste ich sie unten:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows}
\begin{document}

\def\myhbar{1mm}
\def\myvbar{.3mm}
\def\myyshift{0mm}
\def\myxshift{0mm}
\pgfmathsetmacro{\myinnersep}{0.5}

\begin{tikzpicture}[auto,node distance=.5mm,font=\tiny\ttfamily, minimum height={height("Ag")+\myinnersep*1mm},inner sep=\myinnersep*1mm]
    \node [] (a1) at(2,0) {-rw-r--r--};
    \foreach [count=\x from 2] \txt in {\phantom{0}6,michael,admins,4096,Apr 25 13:53,some\_file.txt}{
        \pgfmathparse{\x-1}
        \node [right = of a\pgfmathresult] (a\x) {\txt};
    }
    \node [below = -1mm of a1] (b1) {drwxr-xr-x};
    \draw [] ([yshift=\myhbar+\myyshift,xshift=\myvbar]b1.south west) -- ([yshift=\myyshift,xshift=\myvbar]b1.south west) -- ([yshift=\myyshift,xshift=-\myvbar]b1.south east) -- ([yshift=\myhbar+\myyshift,xshift=-\myvbar]b1.south east);
    \foreach [count=\x from 2] \txt in {22,collins,editor,4096,Apr 25 13:53,some\_folder}{
        \pgfmathparse{\x-1}
        \node [right = of b\pgfmathresult] (b\x) {\txt};
        \draw [] ([yshift=\myhbar+\myyshift,xshift=\myvbar]b\x.south west) -- ([yshift=\myyshift,xshift=\myvbar]b\x.south west) -- ([yshift=\myyshift,xshift=-\myvbar]b\x.south east) -- ([yshift=\myhbar+\myyshift,xshift=-\myvbar]b\x.south east);
    }
    \foreach [count=\y from 1] \desc in {file permissions, number of links, user, group, size, date and time, name}{
        \node [anchor=west](c\y) at (0,-\y*2mm-5mm){\desc};
        \draw [<-,arrows={-[}] (c\y.east) -| ([yshift=\myyshift]b\y.south);
     }
\end{tikzpicture}
\end{document}

Das Ergebnis ist: Bildbeschreibung hier eingeben

verwandte Informationen