Text Formattinglocated character in end of 3rd rows of each item

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
vuahieusuat
Posts: 1
Joined: Thu Jun 13, 2019 6:07 am

located character in end of 3rd rows of each item

Post by vuahieusuat »

Hi,
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}
Please help
Thanks
2 rows.png
2 rows.png (11.41 KiB) Viewed 1528 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

located character in end of 3rd rows of each item

Post by Johannes_B »

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply