I would really like boxes to surround remarks or course refreshers and I want them to take up the whole page width (remarks that arise during an exercise but need to be visually accessible for later use). I would also like to be able to colour them according to category (remark, refresher, proof, example, etc...). Basically fcolorbox does the job, but since there seem to be so many possibilities I was wondering whether I could additionally have the option to adjust horizontal alignment of particular lines without having to affect the whole box content, which doesn't seem to work with fcolorbox. I found mdframe and tcolorbox online where given examples seemed to fit my aspirations but when I try them myself they don't work :
\documentclass{article}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage{tcolorbox}
\begin{document}
\begin{mdframed}[linecolor=blue,backgroundcolor=blue!5,everyline=true]
mdframed
\end{mdframed}
\begin{tcolorbox}
tcolorbox
\end{tcolorbox}
\end{document}
mdframed
produces a missing left edge except when I zoom in, and tcolorbox
does nothing.
Here is some info about my setup : MiKTeX: 2.9.7380 GitInfo: 1cd259c / 2020-04-04 13:37:26 OS: Windows 10 Home, 32-bit, build 18363 SharedSetup: no LinkTargetDirectory: C:\Users\Daniel\Desktop\Dan\Nerdy stuff\Latex OpenClassrooms\Latex\miktex\bin PathOkay: yes LastUpdateCheck: 2020-04-09 10:22:06 LastUpdate: 2020-04-09 10:26:40