Text FormattingItems alignment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
SlavomirKan
Posts: 1
Joined: Mon Apr 25, 2022 10:21 pm

Items alignment

Post by SlavomirKan »

Hi,

please can someone provide help with my issue ? I am getting struggle with text alignment in "itemize" command. I need to align first column from left and second one from left also like is presented on picture.

Thank you for help.
Screenshot 2022-04-25 at 19.39.24.png
Screenshot 2022-04-25 at 19.39.24.png (40.01 KiB) Viewed 3348 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Items alignment

Post by Bartman »

A proposal using the description environment and the enumitem package to achieve the result shown.

Code: Select all

\documentclass{article}
\usepackage{enumitem}

\begin{document}
\begin{description}[leftmargin=*, widest=Text Text, labelsep=2cm, font=\mdseries]
\item[Text] Text Text Text Text Text Text Text Text Text Text
\item[Text Text] Text Text Text Text Text Text Text
\end{description}
\end{document}
Alternatively, the labeling environment is available if you use a KOMA-Script class or load the scrextend package.
Post Reply