LaTeX forum ⇒ 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, ...)
vuahieusuat
Posts: 1
Joined: Thu Jun 13, 2019 6:07 am

located character in end of 3rd rows of each item

Postby vuahieusuat » Thu Jun 13, 2019 6:35 am

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

  1. \documentclass{article}
  2. \usepackage{tikz}
  3. \usepackage{tcolorbox}
  4. \tcbuselibrary{poster}
  5.  
  6. \usepackage{bbding}
  7. \usepackage{pifont}
  8. \usepackage{enumitem}
  9.  
  10. \begin{document}
  11. \begin{tcbposter}[
  12. poster = {
  13. columns=1,
  14. rows=2,
  15. spacing=3mm,
  16. height=14cm,
  17. width=12cm,
  18. },
  19. ]
  20.  
  21. \posterbox[colframe=red,width=4cm,height=4cm]{column=1}{
  22. \begin{itemize}[leftmargin=1em]
  23. \item \tikz[baseline={(x.base)}] {
  24. \node[text width=\linewidth,%draw,
  25. inner sep=0pt,
  26. text depth=\baselineskip,
  27. align=justify] (x) {a1};
  28. \node[inner sep=0pt,
  29. anchor=base east,
  30. font=\color{blue}] at (x.south east) {x x x};
  31. }
  32. \item \tikz[baseline={(x.base)}] {
  33. \node[text width=\linewidth,
  34. inner sep=0pt,
  35. text depth=\baselineskip,
  36. align=justify] (x) {This will break to three lines};
  37. \node[inner sep=0pt,
  38. anchor=base east,
  39. font=\color{red}] at (x.south east) {x x x};
  40. }
  41. \item \tikz[baseline={(x.base)}] {
  42. \node[text width=\linewidth,
  43. inner sep=0pt,
  44. text depth=\baselineskip,
  45. align=justify] (x) {cccc2 ccccc cccc ccc};
  46. \node[inner sep=0pt,
  47. anchor=base east,
  48. font=\color{green}] at (x.south east) {x x x};
  49. }
  50. \end{itemize}
  51. }
  52. \end{tcbposter}
  53. \end{document}


Please help
Thanks
2 rows.png
2 rows.png (11.41 KiB) Viewed 85 times

User avatar
Johannes_B
Site Moderator
Posts: 4038
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jun 13, 2019 7:20 am

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


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 2 guests