1

I ran into a problem of drawing an arrow \ruTo(4,2). The following example didn't draw the diagonal arrow, as in

ruTo

However, it works well for \rdTo(4,2) and \ruTo(2,2), as in

rdTo

and

ruto2

I'm really confused and would appreciate it if someone could help me solve this problem. Thank you.

\documentclass[a4paper,11pt]{article}
\usepackage[small,nohug,heads=LaTeX]{diagrams}
\diagramstyle[labelstyle=\scriptstyle]

\begin{document}
\begin{diagram}
    a&\rTo&a&\rTo&a\\
    \dTo&\ruTo(4,2)&&&\dTo\\
    a&\rTo&a&\rTo&a
\end{diagram}
\end{document}
  • 2
    Are you tied to diagrams? – egreg Nov 26 '18 at 10:08
  • I think I found a solution to my problem by replacing the second line of the diagram with \dTo&&&\ruTo(4,2)&\dTo\\ – Pumpkinification Nov 27 '18 at 0:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.