Guest User

Untitled

a guest
Jan 15th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. documentclass[12pt]{article}
  2.  
  3. RequirePackage[most]{tcolorbox}
  4.  
  5. newtcolorbox[auto counter]{Boxone}[1][]{%
  6. enhanced,breakable,
  7. before title={stepcounter{BoxOnecnt}},
  8. toggle left and right,sharp corners,
  9. boxrule=0mm,top=0mm,bottom=0mm,left=0mm,right=0mm,
  10. colframe=white,
  11. colback=black!30,
  12. fonttitle=bfseries,
  13. left=0pt,%%21.5
  14. leftrule=21.5pt,
  15. rightrule=0pt,
  16. width=hsize,
  17. overlay unbroken and first ={%
  18. node[rotate=90,
  19. minimum width=21.5pt,
  20. anchor=south,
  21. font=fontsize{11.5bp}{11.5bp}sffamilybfseries,
  22. yshift=2.5pt,
  23. white]
  24. at (frame.east) {WORKED E.G.~1};
  25. },
  26. }
  27.  
  28.  
  29. begin{document}
  30.  
  31.  
  32. begin{Boxone}%[WORKED E.G. 1.1]
  33. subsection{Addition}
  34. A patient asks you how many medicines they need to swallow to take all their morning medicines. They have the following medicines to take:
  35. begin{itemize}
  36. item 500 mg paracetamol (2 capsules)
  37. item 40 mg frusemide (1 tablet)
  38. item 62.5 mcg digoxin (2 tablets)
  39. end{itemize}
  40. A patient asks you how many medicines they need to swallow to take all their morning medicines. They have the following medicines to take:
  41. end{Boxone}
  42.  
  43. end{document}
Add Comment
Please, Sign In to add comment