Given this dotted line functionality:
\newcommand{\adot}[1]{\tikz[baseline=(todotted.base)]{\node[inner sep=0pt,outer sep=0pt] (todotted) {#1};\draw[dotted, thick,inner sep=0pt,transform canvas={yshift=-2pt}] (todotted.south west) -- (todotted.south east);}}
I'm wondering how to sort of create a table that looks like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
foo ............. ............. .............
hello ............. ............. .............
asdf ............. ............. .............
something ............. ............. .............
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
That is, the table is centered, and there is space between the rows, the first column is dynamically sized based on the largest string, while the others are fixed size but they fill up the remaining space of the page, while leaving a small gap on each side.
My first attempt starts at this:
\begin{center}
\begin{tabular}{ c c c }
\adot{foo} & \adot{foo} & \adot{foo} \\
\adot{foo} & \adot{foo} & \adot{foo} \\
\adot{foo} & \adot{foo} & \adot{foo}
\end{tabular}
\end{center}
But it leaves a lot out. The rows are a fixed width in this example, which I would like to instead be dynamic width (with a minimum size set perhaps).
