![如何在tcolorbox中绘制彩色注释框](https://linux22.com/image/447676/%E5%A6%82%E4%BD%95%E5%9C%A8tcolorbox%E4%B8%AD%E7%BB%98%E5%88%B6%E5%BD%A9%E8%89%B2%E6%B3%A8%E9%87%8A%E6%A1%86.png)
我想制作一个记事本,以便为我的学生记录关键想法。我有以下代码:MWE
\documentclass[openany]{book}
\usepackage[many]{tcolorbox}
\newtcolorbox{mynote}{%
enhanced, left=1cm, breakable,
colback=yellow!20, colbacktitle=yellow!20, colframe=yellow!20,
sharp corners,
width=90mm,
fonttitle=\Large\bfseries,
title=\textcolor{green!70!black}{Note},
overlay={\draw[dashed,line width=2pt,green!70!black] ([yshift=5pt,xshift=1.2cm]frame.west)--([yshift=5pt]frame.east);}, drop fuzzy shadow=gray!50 }
\begin{document}
\begin{mynote}
The letter I is often used for the point (1,0).
\end{mynote}
\end{document}
但我需要的是如下内容:
提前感谢社区的任何帮助
答案1
\documentclass[openany]{book}
\usepackage[many]{tcolorbox}
\newtcolorbox{mynote}{%
enhanced, left=1cm, breakable,
colback=yellow!20, colbacktitle=yellow!20, colframe=yellow!20,
sharp corners,
width=90mm,
fonttitle=\Large\bfseries,
title=\textcolor{green!70!black}{Note},
overlay={\draw[dashed,line width=2pt,green!70!black] ([yshift=5pt,xshift=1.2cm]frame.west)--([yshift=5pt]frame.east);
\fill[green!70!black](frame.north west)--++(-90:4mm)--++(-45:3mm)--++(45:3mm)|-cycle;}, drop fuzzy shadow=gray!50 }
\begin{document}
\begin{mynote}
The letter I is often used for the point (1,0).
\end{mynote}
\end{document}