I'm looking for a way (maybe it works out of the box) or package to create a page for conventions used within a paper. Up until now my search yielded only results about typographic conventions in LaTeX and not how to create them...
Here is an example how it could look like (from here):
Not sure if this would be a itemize or a tabular environment (maybe the latter due to multiline) I started with tabular and this is the code:
\documentclass{article}
% surround the \dotfill by a bit of blank space
\newcommand{\spaceddotfill}{\phantom{i}\dotfill\phantom{e}}
\begin{document}
\begingroup
\setlength\tabcolsep{0pt}
\begin{tabular}{p{3.2cm}p{8.8cm}}
\textsf{package}\spaceddotfill & Paketbezeichner verwenden zur Darstellung die Schriftart \textsf{Sans Serif}. \[1em]
\texttt{file}\spaceddotfill & Datei- und Programmnamen verwenden zur Darstellung die Schriftart \texttt{Typewriter}. \[1em]
\texttt{\textbackslash{}macro}\spaceddotfill & Makros, respektive Kommandos, werden mit einem umgekehrten Schrägstrich (backslash) eingeleitet und verwenden zur Darstellung die Schriftart \texttt{Typewriter}.\[1em]
\texttt{environment}\spaceddotfill & Umgebungen verwenden zur Darstellung die Schriftart \texttt{Typewriter}. \[1em]
\texttt{option}\spaceddotfill & Optionen verwenden zur Darstellung die Schriftart \texttt{Type-writer}. \[1em]
\textit{defval}\spaceddotfill & Standardwerte verwenden zur Darstellung die Schriftart \textit{Italics}. \[1em]
\textit{$\langle meta \rangle$}\spaceddotfill & Metadaten, also Platzhalter für Informationen jeglicher Art, verwenden zur Darstellung die Schriftart \textit{Italics} und sind zusätzlich noch in spitzen Klammern eingeschlossen. \[1em]
\ttfamily${$\textit{$\langle mustarg \rangle$}$}$\spaceddotfill & Pflichtparameter werden in geschweiften Klammern einge-schlossen und verwenden zur Formatierung der Daten die Darstellung \textit{$\langle meta \rangle$}. \[1em]
{[\textit{$\langle optarg \rangle$}]}\spaceddotfill & Optionale Parameter werden in eckigen Klammern einge-schlossen und verwenden zur Formatierung der Daten die Darstellung \textit{$\langle meta \rangle$}. \[1em]
\end{tabular}
\endgroup
\end{document}
Wondering though if there are better ways to do this.


\spaceddotfillin the column definition. Thanks for pointing out\setlength\extrarowheight{1em}, I didn't know about it and it is very usefull for other places, too. – ViToni Nov 08 '20 at 21:03