You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
710 B

9 months ago
  1. \def\XBOXSHIFT{2.5mm}
  2. \def\YBOXSHIFT{-2mm}
  3. \def\BOXRULE{1pt}
  4. \newtcolorbox{solutionBox}{enhanced,
  5. title=Solution,%
  6. coltitle=black,%
  7. colback=white,%
  8. colframe=black,%
  9. sharp corners,%
  10. attach boxed title to top left= {xshift=\XBOXSHIFT,yshift=\YBOXSHIFT},%
  11. boxrule=\BOXRULE,%
  12. boxed title style={boxrule=\BOXRULE, colframe=black, colback=white, sharp corners}%
  13. }%
  14. \newtcolorbox{breakableSolutionBox}{enhanced,breakable,%
  15. title=Solution,%
  16. coltitle=black,%
  17. colback=white,%
  18. colframe=black,%
  19. sharp corners,%
  20. attach boxed title to top left= {xshift=\XBOXSHIFT,yshift=\YBOXSHIFT},%
  21. boxrule=\BOXRULE,%
  22. boxed title style={boxrule=\BOXRULE, colframe=black, colback=white, sharp corners}%
  23. }%