
답변1
너가 선호한다면 tcolorbox
:
\documentclass{article}
\usepackage[most]{tcolorbox}
\begin{document}
\begin{tcolorbox}[
sharp corners, boxsep=5mm, boxrule=.5mm,
colback=brown, width=5cm,
halign upper=left, valign upper=top,
halign lower=right, valign lower=bottom,
enhanced, segmentation empty,
underlay = {
\begin{tcbclipinterior}
\filldraw[fill=orange, draw=tcbcolframe, line width=.5mm] (frame.south west)--++(90:1cm) to [out=5, in=185] ([yshift=-1cm]frame.north east)|-cycle;
\end{tcbclipinterior}
}]
A
\tcblower
B
\end{tcolorbox}
\end{document}
답변2
TeX.SE에 오신 것을 환영합니다. 다음부터는 컴파일 가능한 MWE를 추가해 보세요. 그러면 더 많은 사용자가 귀하의 질문에 답할 수 있을 것입니다.
(테두리)부터 시작할 수 있습니다.
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw [black] (3, 2) --(3,0)--(0,0) plot [smooth, tension=2] coordinates { (0,0) (1,1) (2, 1) (3, 2)};
\filldraw [red] (3, 2) --(0,2)--(0,0) plot [smooth, tension=2] coordinates { (0,0) (1,1) (2, 1) (3, 2)};
\draw[yellow, thick] (0,0)--(0,2)--(3,2)--(3,0)--cycle;
\end{tikzpicture}
\end{document}
얻으려면 :
나머지 사용자 정의 작업은 여러분이 하도록 남겨두겠습니다 ;)
.