Seite 1 von 1

Fehlermeldung "missing number, treated as zero"

Verfasst: Di 10. Nov 2020, 07:50
von joana_4

Hallo zusammen :)
Kann mir jemand helfen? Wieso kommt bei dieser Tabelle immer die Meldung "missing number, treated as zero" in jeder Zeile? Ausserdem, wie schaffe ich es, dass die Tabelle automatisch so breit, wie die Seite wird und sich der Text der Spaltenbreite anpasst, ohne einfach über die Linie hinaus zu schreiben?

\begin{tabbing}
\small
\begin{tabular}{|p{2,2cm\textwidth}|p{2,6cm\textwidth}|p{5,1cm\textwidth}|p{1,1cm\textwidth}|p{2,5cm\textwidth}|p{1cm\textwidth}|}
\hline
\textbf{Name} & \textbf{Function} & \textbf{E-Mail} & \textbf{Phone Office} & \textbf{Phone Private} & \textbf{Room}\\
\hline
Fritz Muster & Lehrstuhlinhaber & \href{mailto:muster@muster.ch}{muster@muster.ch} & 1 11 11 & 044 111 11 11 // 076 111 11 11 & 4.A.01\\
\hline
Franz Muster & Forschungs-koordinator & \href{mailto:m.muster@muster.ch}{m.muster@muster.ch} & 2 22 22 & 079 222 22 22 & 4.A.02\\
\hline
Heidi Muster & Oberassistentin & \href{mailto:s.muster@muster.ch}{s.muster@muster.uzh.ch} & 3 33 33 & 076 333 33 33 & 4.A.03\\
\hline
\end{tabular}
\end{tabbing}

Vielen Dank für eure Antworten!


Verfasst: Di 10. Nov 2020, 08:26
von Gast

Verfasst: Di 10. Nov 2020, 08:32
von Gast

Bemühe dich außerdem bitte, ein vollständiges Minimalbeispiel zu erstellen.