I am needing to create subsection
and subsubsection
titles that have 2 out of 4 sides bordered. One of them is a solid border, the other a dotted border.
Is this possible with LaTeX? I haven't found any examples like this yet.
sectioning
I am needing to create subsection
and subsubsection
titles that have 2 out of 4 sides bordered. One of them is a solid border, the other a dotted border.
Is this possible with LaTeX? I haven't found any examples like this yet.
Best Answer
A 'hack' of the
\@sect
command usingtcolorbox
approach.Since
tcolorbox
provides a lot of configurability, there are much more possibilities.A own
tcbox
designed for this would be better -- I will update my solution.Edit Further improvement, extended to all sectioning commands (except
\part
) and a predefinedtcolorbox
style box for this.