1

Self-answered and possibly duplicate. Please see first answer <3

title is so freaking dumb that please someone fix or suggest me an alternative title.

What I want is basically this:

enter image description here

With https://ctan.org/pkg/tcolorbox I only managed to achieve one singular box that I could split in half with horizontally but that is it. I can't replicate a color box like this, even a black/white one. I don't know if I understand this correctly:

enter image description here

If yes or not, how can I make a layout like this?

My furthest attempt:

\documentclass{article}
\usepackage[most]{tcolorbox}
\usepackage{lipsum}  
\usepackage{bookmark}
\newtcolorbox[auto counter,number within=section]{theorem}[1]{
    title={\textbf{Theorem~\thetcbcounter: #1}},
    bookmark={#1}
}


\begin{document}
\section{example box}
\begin{theorem}{example theorem}
  \lipsum[1]
  \tcbsubtitle{example theorem cont.}
  \lipsum[2]

\end{theorem}
\end{document}

which is. literally nothing.

enter image description here

which summarizes my latex skills. help :(

This is not for commercial or any serious book writing I just want my notes look kinda shiny.

7
  • my mspaint skills are unmatchable Commented Mar 1 at 22:02
  • 1
    Do you have any code as a starting point?
    – Paul A
    Commented Mar 1 at 22:10
  • Sure! It is very plain but let me add it. Commented Mar 1 at 22:12
  • 1
    A good place to start could be. tex.stackexchange.com/questions/451457/…
    – Paul A
    Commented Mar 1 at 22:17
  • 1
    Why don't you just use a description list for the stuff inside. E.g. \usepackage{enumitem} \newlist{problem}{description}{1} \setlist*[problem]{leftmargin=2.5cm,labelwidth=!}
    – Alan Munn
    Commented Mar 1 at 22:25

1 Answer 1

1

Turns out to be duplicate of How create these boxes style?, already provides a customizable entrypoint for my problem. Thank you all anyways!

0

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