Skip to content

Instantly share code, notes, and snippets.

View titospadini's full-sized avatar

Tito Spadini titospadini

View GitHub Profile
@titospadini
titospadini / latex_command-line_box.tex
Last active May 9, 2024 13:00
A simple box with rounded edges, and with a title, to show command-lines
\usepackage[table, dvipsnames]{xcolor}
\usepackage{changepage}
\usepackage[skins]{tcolorbox}
\newenvironment{coloredterminal}{
\begin{adjustwidth}{10mm}{}
\begin{tcolorbox}[colback=gray!10, boxrule=1pt, title=Terminal, fonttitle=\footnotesize]
}{
\end{tcolorbox}
\end{adjustwidth}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.