我已经使用 LaTeX 处理文本文档(包括数学和其他内容)一段时间了,但现在我发现自己正在尝试进行一些包含图片类型内容的排版,而我对此没有经验,而且我的阅读对于我正在尝试做的事情也没有什么帮助。
我正在尝试重新创建《埃涅阿斯纪》中的冥界“地图”,但我不知道如何创建如此复杂的图表。
如果有人知道至少从某个地方开始,我可能可以使用文档来弄清楚,我只是找不到一个似乎适合我想要创建的包。
谢谢!
答案1
一个选项是使用TikZ
:
代码:
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{decorations.pathmorphing,decorations.pathreplacing,positioning}
\usepackage{graphicx}
\newcommand\mybox{%
\begin{tikzpicture}
\draw[decoration=coil,decorate,segment length=20pt] (0,0) -- (4,0);
\draw[decoration={coil,mirror},decorate,segment length=20pt] (0,0) -- (4,0);
\end{tikzpicture}%
}
\newcommand\MyDec[3][!]{%
\resizebox{#2}{!}{\parbox{4cm}{\centering\mybox\par\large#3\par\mybox}}%
}
\begin{document}
\begin{tikzpicture}
\draw (0,10pt) -- ++(4,0) -- ++(0,3);
\draw (0,-10pt) -- ++(4,0) -- ++(0,-3);
\node[anchor=west] at (0,0)
{Path from upper world};
\node[anchor=south west,font=\footnotesize] at (0,10pt)
{Entrance};
\node[anchor=north west,font=\footnotesize] at (0,-10pt)
{Vestibulum};
\node[align=left,anchor=west,rotate=90] at (5,-3)
{The unburied\\ Aeneas's helmsman Palinurus};
\node[align=left,anchor=west,rotate=90] at (6.5,-2)
{\MyDec{3cm}{STYX}};
\node[align=left,anchor=west,rotate=90] at (8,-3)
{The mournful fields (see p.~173)\\ Dido};
\node[align=left,anchor=west,rotate=90] at (9.5,-3)
{The farther fields (see p.~174)\\ Deiphobus};
\draw (10.5,-3cm-10pt) -- (10.5,3cm+10pt);
\draw
(10.5,0) -- ++(45:3cm)
node[midway,sloped,align=left,below] {Left-hand road\\ (see p.~176)};
\draw(10.5,0) -- ++(-45:3cm)
coordinate (aux1)
coordinate[pos=0.5] (aux2)
coordinate[pos=0.9] (aux3)
node[midway,sloped,align=left,below,fill=white] {Right-hand road};
\draw ([shift={(-1.3cm,-1.3cm)}]aux1) -- ([shift={(1.3cm,1.3cm)}]aux1)
node[midway,sloped,align=center,below,fill=white,font=\footnotesize]
(lethe)
{
ELYSIUM \\
Seclusum Nemus \\[1ex]
\MyDec{2cm}{LETHE}
};
\node[align=left,rotate=45,anchor=west,font=\footnotesize]
at (14,-1.8)
{Secluded Grove (in Elysium) \\ (Dryden's ``flower vale,'' p.~178)};
\draw
(aux2) -- ++(45:25pt) --
node[align=center,font=\footnotesize,rotate=-45,yshift=-10pt]
(moenia)
{Moenia \\ Ditis}
++(-45:35pt)-- (aux3);
\node[align=left,rotate=45,anchor=west,font=\footnotesize]
at (12.7,-0.8)
{= Walls od Dis (``Pluto's Palace,'' p.~179)};
\draw[decoration={brace,mirror},decorate,line width=1.5pt]
(4.3,-3.5) -- node(brace) {} ++(5.9,0);
\node[below=10pt of brace,align=left,text width=6cm,align=left]
(legend1)
{
Tartarus is the ``maximum security prison'' in the Underworld, reserved
for the worst villains of classical myth
};
\node[below=10pt of legend1,align=left,text width=6cm,align=left]
(legend2)
{
Elysium, where Aeneas meets his father Anchises, is a kind of
``heaven'' within the Underworld
};
\end{tikzpicture}
\end{document}