使用 schemata 或 tikz 重新创建支撑图

使用 schemata 或 tikz 重新创建支撑图

这是我第一次用 LaTeX 绘制图形,我正在尝试重新创建一本书中发表的图表,需要忠实于原文: 苏里奥

我已经尝试过schemata,但还没有完全实现: 在此处输入图片描述

括号未对齐或大小与原始括号不同。我尝试使用\\quad\hspace来替换括号,但无论值如何,它们都太靠右了。

欢迎反馈!

答案1

使用包的粗略解决方案nicematrix(省略了两个我认为多余的括号):

\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{nicematrix}

\begin{document}
\noindent\footnotesize\renewcommand{\arraystretch}{1.5}
\begin{NiceTabular}{ 
    *{2}{>{\raggedright\arraybackslash}p{9em}} 
    >{\raggedright\arraybackslash}p{12em}
    *{3}{>{\raggedright\arraybackslash}p{9em}} 
}
\Block[l]{5-1}{Representational Art (2nd grade)} 
    & \Block[l]{1-4}{Art that represents material objects \\ as they appear in concrete perception}
    &
    &
    &
    & Figurative Art \\
    & \Block[l]{3-1}{Abstract Art (in proper sense)}
    & \Block[l]{2-1}{Art that evokes isolated elements from its original object and considers them separately}
    & perceptive affective intellectual 
    & \Block[l]{3-1}{Abstract Art (in proper sense)}
    & \Block[l]{5-1}{Non-figurative Art incorrectly called abstract} \\
\vspace*{2em}
    & & & & & \\
\vspace*{2em}
    & & & & & \\
\vspace*{2em}
    & & & & & \\
Non-represen\-tational Art 
    & \Block[l]{1-4}{Art whose works have an intrinsic organization and\\ do not overlay other organizations of sensations \\ intended to represent something} 
    & & & & \\
\CodeAfter
    \SubMatrix\{{1-2}{5-2}.
    \SubMatrix.{1-5}{1-5}\}
    \SubMatrix\{{2-3}{4-3}.
    \SubMatrix\{{2-4}{3-4}.
    \SubMatrix.{2-4}{4-4}\}
    \SubMatrix\{{6-2}{6-2}.
    \SubMatrix.{2-5}{6-5}\}
\end{NiceTabular}
\end{document}

在此处输入图片描述


对于细粒度控制,你也可以切换到 TiZ 绘制括号:

\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{nicematrix, tikz}
\usetikzlibrary{decorations.pathreplacing, calligraphy}

\tikzset{
    brace/.style={
        decorate,
        decoration={calligraphic brace}
    },
    ecarb/.style={
        decorate,
        decoration={calligraphic brace, mirror},
    }
}

\begin{document}
\noindent\footnotesize\renewcommand{\arraystretch}{1.5}
\begin{NiceTabular}{ 
    *{2}{>{\raggedright\arraybackslash}p{9em}} 
    >{\raggedright\arraybackslash}p{12em}
    *{3}{>{\raggedright\arraybackslash}p{9em}} 
}
\Block[l]{5-1}{Representational Art (2nd grade)} 
    & \Block[l]{1-4}{Art that represents material objects \\ as they appear in concrete perception}
    &
    &
    &
    & Figurative Art \\
    & \Block[l]{3-1}{Abstract Art (in proper sense)}
    & \Block[l]{2-1}{Art that evokes isolated elements from its original object and considers them separately}
    & perceptive affective intellectual 
    & \Block[l]{3-1}{Abstract Art (in proper sense)}
    & \Block[l]{5-1}{Non-figurative Art incorrectly called abstract} \\
\vspace*{2em}
    & & & & & \\
\vspace*{2em}
    & & & & & \\
\vspace*{2em}
    & & & & & \\
Non-represen\-tational Art 
    & \Block[l]{1-4}{Art whose works have an intrinsic organization and\\ do not overlay other organizations of sensations \\ intended to represent something} 
    & & & & \\
\CodeAfter
    \begin{tikzpicture}
        \draw[ecarb] ([yshift=-2pt]1 -| 2) -- ([yshift=2pt]6 -| 2);
        \draw[ecarb] ([yshift=-2pt]6 -| 2) -- ([yshift=2pt]7 -| 2);
    \end{tikzpicture}
\end{NiceTabular}
\end{document}

在此处输入图片描述

相关内容