[Tex/LaTex] Wrap text in tabular and itemize

itemizetabularxwrap

I would like to get the following effect without manually using & and \\ to wrap the text (i.e., all the text will be wrapped automatically)

\documentclass[11pt,letterpaper]{article}
% Make lists without bullets and compact spacing
\renewenvironment{itemize}{
\begin{list}{}{
\setlength{\leftmargin}{1.5em}
\setlength{\itemsep}{1pt}
\setlength{\parskip}{0em}
\setlength{\parsep}{0.25em}
}
}{
\end{list}
}

\begin{document}

\section*{Main-Section}
\subsection*{Sub-Section}

   \begin{itemize}
\item \begin{tabular}{@{}ll}  
Title:             &This is not a title, this is perhaps a title, nobody but you know!\\
                    &This is not a title, this is perhaps a title, nobody but you know!\\
                    &This is not a title, this is perhaps a title, nobody but you know!\\
TitleAgain:             &This is not a title, this is perhaps a title, nobody but you know!\\
                    &This is not a title, this is perhaps a title, nobody but you know!\\
                    &This is not a title, this is perhaps a title, nobody but you know!\\
\end{tabular}
\end{itemize}

\end{document}

Best Answer

You could use a tabularx environment and set the required width to \linewidth. The text will wrap automatically in the X-column then. Depending on your use case, a description environment can be more handy. Code:

\documentclass[11pt,letterpaper]{article}
% Make lists without bullets and compact spacing
\newenvironment{myitemize}{
  \begin{list}{}{
      \setlength{\leftmargin}{1.5em}
      \setlength{\itemsep}{1pt}
      \setlength{\parskip}{0em}
      \setlength{\parsep}{0.25em}
    }
  }{
  \end{list}
}

\usepackage{enumitem,tabularx,showframe,calc}

\begin{document}

\section*{Main-Section}
\subsection*{Sub-Section}

\begin{myitemize}
\item
  \begin{tabularx}{\linewidth}[t]{@{}lX@{}}
    Title:  & This is not a title, this is perhaps a title, nobody but
              you know!  This is not a title, this is perhaps a title,
              nobody but you know!  This is not a title, this is
              perhaps a title, nobody but you know!\tabularnewline
    TitleAgain:
            & This is not a title, this is perhaps a title, nobody
              but you know!  This is not a title, this is perhaps a
              title, nobody but you know!  This is not a title, this
              is perhaps a title, nobody but you know! 
  \end{tabularx}
\end{myitemize}

\begin{description}[font=\normalfont,labelindent=1.5em,%
  labelwidth=\widthof{TitleAgain:},leftmargin=!]
\item[Title:] This is not a title, this is perhaps a title, nobody but
  you know!  This is not a title, this is perhaps a title, nobody but
  you know!  This is not a title, this is perhaps a title, nobody but
  you know!
\item[TitleAgain:] This is not a title, this is perhaps a title,
  nobody but you know!  This is not a title, this is perhaps a title,
  nobody but you know!  This is not a title, this is perhaps a title,
  nobody but you know!
\end{description}

\end{document}

enter image description here