I've been trying to include a figure in my example box, but I keep getting errors. Could someone please assist me?
Here is the code:
Code: Select all
\documentclass[14pt]{article}\renewcommand{\baselinestretch}{1.05}\usepackage{amsmath,amsthm,verbatim,amssymb,amsfonts,amscd, graphicx}\usepackage{graphics}\usepackage{xlop}\usepackage[utf8]{inputenc}\usepackage{xcolor}\usepackage[margin=1in]{geometry}\usepackage{lipsum}\usepackage{mdframed}\usepackage{wasysym}\usepackage{sectsty}\chapterfont{\color{blue}} % sets colour of chapters\sectionfont{\color{blue}} % sets colour of sections\usepackage{tabu,mathtools}\setlength\parindent{0pt}\tabulinesep=_20pt\usepackage[svgnames]{xcolor}\usepackage[most]{tcolorbox}\newcounter{exa}\tcbset{myexample/.style={enhanced,colback=yellow!10!white,colframe=red!50!black,fonttitle=\scshape,titlerule=0pt,title={\refstepcounter{exa}eksempel~\theexa.},title style={fill=yellow!10!white},coltitle=red!50!black,drop shadow,highlight math style={reset,colback=LightBlue!50!white,colframe=Navy}}}\newtcolorbox{texample}{my example}
Thanks in advance.