Guest User

Untitled

a guest
Nov 22nd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{tcolorbox}
  4. tcbuselibrary{theorems}
  5. tcbuselibrary{skins}
  6. newtcbtheorem[number within=section]{coloredtheorem}{Theorem}{colback=red!15{th}
  7.  
  8. begin{document}
  9.  
  10. begin{coloredtheorem}{Pigs}{pig}
  11. Pigs are pink.
  12. end{coloredtheorem}
  13.  
  14. end{document}
  15.  
  16. newtcbtheorem[number within=section]{coloredtheorem}{Theorem}{colback=red!15, sharp corners}{th}
  17.  
  18. Package pgfkeys Error: I do not know the key '/tcb/sharp corners' . . .
  19.  
  20. documentclass{article}
  21.  
  22. usepackage{tcolorbox}
  23. tcbuselibrary{theorems}
  24. tcbuselibrary{skins}
  25. newtcbtheorem[number within=section]{coloredtheorem}{Theorem}{colback=red!15,arc=0pt,outer arc=0pt}{th}
  26.  
  27. begin{document}
  28.  
  29. begin{coloredtheorem}{Pigs}{pig}
  30. Pigs are pink.
  31. end{coloredtheorem}
  32.  
  33. end{document}
Add Comment
Please, Sign In to add comment