Skip to content

Conflict with package tikz-qtree about \Edge #23

@NewStorm-0

Description

@NewStorm-0

Here is my code:

\usepackage{tikz-network}
\usepackage{tikz-qtree}

\begin{document}
\begin{tikzpicture}[sibling distance=0.6em]
    \Tree [.A [.B ] \edge[draw=none]; {} ]
    \Vertex[label=A]{A}
    \Vertex[label=B,x=1]{B}
    \Edge[label=6](A)(B)
\end{tikzpicture}
\end{document}

A error occured when I compiled it with xelatex.
Here is a part of output:

e:/.../mwe.tex:10: Use of \@edge doesn't match its definition.
\\Edge [#1]->\@edge [
                     #1]
l.10     \Edge[label=6]
                       (A)(B)
? 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions