alinhar o conteúdo dos itens da lista no mesmo nível

alinhar o conteúdo dos itens da lista no mesmo nível

Qual é a melhor maneira de realizar o seguinte? usando tabular?

eu não quero usar \hfille empurrá-los para o fim da linha.

• list-item           i want this
• longggg-item        and this to be aligned
• another-item        at the same level auto

de uma forma mais geral

• some text                  i want this                  same here
• another text               and this to be at the        same here
• not the same length        same level after let say     seconde level here

Responder1

Algo assim?

insira a descrição da imagem aqui

\documentclass{article}
\newcommand\mybullet{{\tiny\raise0.5ex\hbox{\textbullet}\ }} % custom-size "bullet"
\begin{document}

\noindent
\begin{tabular}{@{\mybullet}ll}
list-item & i want this\\
longgg-item & and this to be aligned\\
another-item & at the same level auto\\
\end{tabular}

\bigskip\noindent
\begin{tabular}{@{\mybullet}lll}
some text & i want this & same here\\
some other text & and this to be at the & same here\\
not the same length & same level after let say & seconde level here\\
\end{tabular}

\end{document}

informação relacionada