我正在尝试制作如下 MWE 所示的先决条件图表。我遇到的问题是我只得到了线条而不是箭头。这是我的代码:
\documentclass{article}
\usepackage{geometry}
%\geometry{noheadfoot,vmargin=1.0in, hmargin=0.5in}
\usepackage{prerex}
\usepackage{helvet}
\begin{document}
\Huge{MTH 251+ Pre-Requisite FlowChart}
\Large
\thispagestyle{empty}
\setcounter{diagheight}{50}
\begin{chart}
\reqhalfcourse 40,45:{251}{Calculus I}{}
\reqhalfcourse 40,35:{252}{Calulus II}{}
\prereq 40,45,40,35:
\reqhalfcourse 20,25:{261}{Linear Algebra}{}
\prereq 40,35,20,25:
\reqhalfcourse 60,25:{253}{Calculus III}{}
\prereq 40,35,60,25:
\reqhalfcourse 60,15:{254}{Calculus IV}{}
\prereq 60,25,60,15:
\reqhalfcourse 20,15:{256}{Differential Equations}{}
\prereq 20,25,20,15:
\recomm 60,15,20,15:
\end{chart}
\begin{center}
\begin{minipage}{6.0in}
A solid arrow \solidarrow\ indicates a required prerequisite and a
dashed arrow \dashedarrow\ indicates a recommended prerequisite.
\end{minipage}
\end{center}
\end{document}