1

The order in which boxes in a raster appear is important for me: RTL or LTR.

However, I was not able to find any documentation (in tcolorbox manual or here) of which enables control over this property.

In the following MWE, the first box in the code is on the left. I wish to have control over the order boxes are sorter.

In this example I would like that the right box will be the first written in the code.

MWE:

\documentclass{article}
\usepackage[most]{tcolorbox}
\begin{document}
\begin{tcbitemize}[raster columns=2,]
\tcbitem1
\tcbitem2
\end{tcbitemize}
\end{document}

enter image description here

3
  • The order is always LTR and from top to bottom. If you want to change the appearance order, you have to change declaration order: \tcbitem2 \tcbitem1.
    – Ignasi
    Feb 1 at 10:07
  • If you want to fix a box position with independence of the declaration order, you can use a tcbposter although is not so easy to manage like a tcbraster and it's not breakable.
    – Ignasi
    Feb 1 at 10:09
  • there is a solution. see next post:
    – Morzen
    Feb 1 at 11:26
0

I have found a solution:

enter image description here

\documentclass{article}
\usepackage[most]{tcolorbox}
%:Language
\usepackage{polyglossia}
\setotherlanguage{english}
\AtEndPreamble{
\setmainlanguage{hebrew}
\newfontfamily\hebrewfont[Script=Hebrew]{CMU Serif}
}
\begin{document}
\begin{tcbitemize}[raster columns=2,]
\tcbitem1
\tcbitem2
\end{tcbitemize}
\end{document}  

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.