2

I have a lovely colorbox with a text I want to separate into two columns One with Dung and the other with Labelling and, why not adding a bar in the middle:

enter image description here

Do you know how can I do that ? Many thanks in advance ! Here is the reproducible code at the moment :

\usepackage{tcolorbox}
\begin{document}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=admissible set]
\textbf{Dung}
S is an admissible set 

$\Leftrightarrow

\begin{cases}
S \mbox{ is conflict-free}\\
S \subseteq F(s) \mbox{ : S defends at least itself}
\end{cases}$

\textbf{Labelling}

an admissible labelling is a $\mathbb L$ without argument illegally in and illegally out
\end{tcolorbox}
\end{document}

1 Answer 1

4

You can use the multicol package for an easy solution:

\documentclass[]{article}

\usepackage{amssymb}
\usepackage{tcolorbox}
\usepackage{multicol}
\begin{document}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=admissible set]
  \begin{multicols}{2}
\textbf{Dung}
S is an admissible set 

$\Leftrightarrow
\begin{cases}
S \mbox{ is conflict-free}\\
S \subseteq F(s) \mbox{ : S defends at least itself}
\end{cases}$
\columnbreak

\textbf{Labelling}

an admissible labelling is a $\mathbb L$ without argument illegally in and illegally out
\end{multicols}
\end{tcolorbox}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .