如何设计这样的盒子

如何设计这样的盒子

A 如何设计这样的盒子 B 如何设计这样的盒子
C 如何设计这样的盒子 D 如何设计这样的盒子 E 如何设计这样的盒子

在此处输入图片描述

答案1

第一个问题...所以下次,请做一个最小工作示例...;-)

    \documentclass[11pt,a4paper]{article} % use larger type; default would be 10pt
\usepackage{tikz}

%%%% Onderzoeksvragen van het labo
\tikzstyle{mybox} = [draw=black, fill=blue!10, very thick, rectangle, rounded corners, inner sep=15pt, inner ysep=15pt]
\tikzstyle{fancytitle} =[draw=black, fill=blue, rounded corners, text=white, inner xsep=10pt, inner ysep=6pt, font=\sc]



\begin{document}


\begin{tikzpicture}
\node [mybox] (box){%
    \begin{minipage}{0.95\textwidth}
    blblbbblblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbbblblbbblblbb blblbbblblbb
    \end{minipage}
};
\node[fancytitle, right=10pt] at (box.north west) {title};
\node[fancytitle, rotate=90, rounded corners] at (box.east) {something};
\end{tikzpicture}

\end{document}

导致 :

在此处输入图片描述

相关内容