2

This is code generated from Quiver. Overleaf doesn't like the curve command for some reason. It gives the error message in the title.

\begin{tikzcd}
    && {(AB)C} \\
    & {A(BC)} \\
    AB && {(AB)C}
    \arrow["{h_2}"', dashed, from=1-3, to=2-2]
    \arrow["{f_1}"', from=2-2, to=3-1]
    \arrow["h", from=1-3, to=3-3]
    \arrow["{f_1 \circ h_2}"', curve={height=30pt}, from=1-3, to=3-1]
    \arrow["{p_{AB}}", from=3-3, to=3-1]
\end{tikzcd}

It shows up fine on Quiver

enter image description here

But looks like this when I put it in Overleaf

enter image description here

1
  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. Dec 15, 2022 at 21:55

1 Answer 1

4

I guess Overleaf doesn't like it because it doesn't exist in TikZ/tikz-cd. From a quick search in the Quiver source code it appears that Quiver has a small LaTeX package which defines this style. So you need to upload quiver.sty to your Overleaf project, and have \usepackage{quiver} in the preamble of your document.

1
  • Thanks so much!
    – ngc1300
    Dec 16, 2022 at 3:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .