목록 항목 내용을 동일한 수준으로 정렬

목록 항목 내용을 동일한 수준으로 정렬

다음을 달성하는 가장 좋은 방법은 무엇입니까? 표 형식을 사용하고 있습니까?

\hfill나는 그것을 사용하고 줄 끝까지 밀고 싶지 않습니다 .

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

좀 더 일반적인 방법으로

• 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

답변1

이 같은?

여기에 이미지 설명을 입력하세요

\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}

관련 정보