# [Tex/LaTex] Aligning paragraph inside a tabular

biditables

Consider the following code:

\documentclass{article}

\begin{document}

\begin{tabular}{|p{5cm}|}
\hline
\textbf{item 1:} These are some texts to just fill in the first line.
\tabularnewline
this is the second Item which still needs to be indented
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\\ \hline
\end{tabular}

\end{document}


when you run this you will get a table with one cell. My question is

How can I align the paragraph rows inside tabular except for the first line to start from a specified margin? Said otherwise, how can I have a paragraph indented for every line except for the first (say indented for 1 cm)?

if it matters, my actual code has p{\textwidth}. And BTW I have a itemize in the cell which I'd like to keep.
Please do consider that I am using a right to left language (bidi package is used) and solutions that statically add margin to left are not useful. Actually I need the spacing in the right portion of text not the left.

Due to technical reasons (or let's say bidirectional typesetting bugs of XeTeX), you need to put list-like environment inside \parbox or minipage environment. Therefore the solution is:

\documentclass{article}
\usepackage{bidi}
\setRTL
\begin{document}

\begin{tabular}{|p{5cm}|}
\hline
\textbf{item 1:} These are some texts to just fill in the first line.
\tabularnewline
this is the second Item which still needs to be indented
\parbox{5cm}{\leavevmode%
\begin{itemize}
\item item 1
\item item 2
\end{itemize}}
\\ \hline
\end{tabular}

\end{document}


or

\documentclass{article}
\usepackage{bidi}
\setRTL
\begin{document}

\begin{tabular}{|p{5cm}|}
\hline
\textbf{item 1:} These are some texts to just fill in the first line.
\tabularnewline
this is the second Item which still needs to be indented
\begin{minipage}{5cm}
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\end{minipage}
\\ \hline
\end{tabular}

\end{document}