Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

momentum arrow tips change size with line width #33

Open
mreininghaus opened this issue Oct 15, 2016 · 1 comment
Open

momentum arrow tips change size with line width #33

mreininghaus opened this issue Oct 15, 2016 · 1 comment
Labels
Milestone

Comments

@mreininghaus
Copy link

mreininghaus commented Oct 15, 2016

When I draw a diagram with specific line widths for the edges and a momentum arrow alongside, I notice that the size of the arrow tip increases together with that line width, as shown in the example below. I guess this behaviour is not intended, is it?

\documentclass[tikz]{standalone}
\usepackage[compat=1.1.0]{tikz-feynman}

\begin{document}
\begin{tikzpicture}
\begin{feynman}
    \diagram {
    f1 -- [fermion, momentum'=$p_1$, ultra thin] v1;
    f2 -- [anti fermion, momentum=$p_2$, ultra thick] v1;
    p1 -- [photon, momentum=$p_3$, line width=3pt] v1;
    };
\end{feynman}
\end{tikzpicture}
\end{document}

@JP-Ellis
Copy link
Owner

This is a scenario which I had not envisaged. I'm not quite sure why it is happening, but it is indeed unintended. I'll have a look at it once I have some more time.

@JP-Ellis JP-Ellis added the bug label Oct 16, 2016
@mreininghaus mreininghaus changed the title montentum arrow tips change size with line width momentum arrow tips change size with line width Oct 18, 2016
@JP-Ellis JP-Ellis added this to the v1.1.1 milestone Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants