0

I have this code

\documentclass[12pt, letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{changepage}
\usepackage{lipsum}
\usepackage{hyperref}

\geometry{ left=25mm, right=25mm, bindingoffset=0mm, top=20mm, bottom=20mm }
\begin{document}
\begin{itemize}
  \setlength{\itemindent}{3.5em}
  \item Menggunakan dan mengoperasikan database PostgreSQL
  \item Merubah design interface email reservasi kedalam bentuk PDF menggunakan Thymeleaf
\end{itemize}
\end{document}

And the result is this https://i.stack.imgur.com/rsuUw.png

How can I give the indentation for that overflowing row?

Thank you!

[Solution] Change itemize into enumitem

\documentclass[12pt, letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{fancyhdr}
\usepackage{changepage}
\usepackage{lipsum}
\usepackage{hyperref}
\usepackage{enumitem}

\geometry{ left=25mm, right=25mm, bindingoffset=0mm, top=20mm, bottom=20mm }
\begin{document}
\begin{itemize}
\begin{enumerate}[leftmargin=5em]
  \item Menggunakan dan mengoperasikan database PostgreSQL
  \item Merubah design interface email reservasi kedalam bentuk PDF menggunakan Thymeleaf
\end{enumerate}
\end{document}
  • 1
    As always on the site please post full minimal examples not sniplets. Your choice of preamble and document class often greatly affects the solution. Plus have a look at the enumitem package for easy list adjustment. – daleif Mar 30 at 10:20
  • Thank you @daleif once I use enumitem, the identation is adjusted – Clavianus Juneardo Mar 30 at 10:40
-1

You can add options to 'enumerate' in order to achieve this. Check this at the following link: Enumitem: Indented list where new paragraphs are not indented

| improve this answer | |
  • Thank you! I changed the itemize into enumitem, I'll add the solution above – Clavianus Juneardo Mar 30 at 10:42
  • 1
    You're welcome! Good luck :) – techenthu Mar 30 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.