i use itemize and i want put character(x1 x1 x1 x1) or (x2 x2 x2 x2) or (x3 x3 x3 x3) that always located in position of Ending of 3.rows.
In My code, these charater located only in position of Ending of 2. rows
Code: Select all
\documentclass{article}
\usepackage{tikz}
\usepackage{tcolorbox}
\tcbuselibrary{poster}
\usepackage{bbding}
\usepackage{pifont}
\usepackage{enumitem}
\begin{document}
\begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=12cm,
},
]
\posterbox[colframe=red,width=4cm,height=4cm]{column=1}{
\begin{itemize}[leftmargin=1em]
\item \tikz[baseline={(x.base)}] {
\node[text width=\linewidth,%draw,
inner sep=0pt,
text depth=\baselineskip,
align=justify] (x) {a1};
\node[inner sep=0pt,
anchor=base east,
font=\color{blue}] at (x.south east) {x x x};
}
\item \tikz[baseline={(x.base)}] {
\node[text width=\linewidth,
inner sep=0pt,
text depth=\baselineskip,
align=justify] (x) {This will break to three lines};
\node[inner sep=0pt,
anchor=base east,
font=\color{red}] at (x.south east) {x x x};
}
\item \tikz[baseline={(x.base)}] {
\node[text width=\linewidth,
inner sep=0pt,
text depth=\baselineskip,
align=justify] (x) {cccc2 ccccc cccc ccc};
\node[inner sep=0pt,
anchor=base east,
font=\color{green}] at (x.south east) {x x x};
}
\end{itemize}
}
\end{tcbposter}
\end{document}
Thanks