Skip to content

Trouble angling edges #75

Open
Open
@dbalick

Description

First, many thanks for tikz-feynman, as well as for simpler-wick. I'm using both at the moment and they're relatively intuitive.

However, I'm still getting used to some of the placement options. I'm working on a stochastic field theory where I need directed diagrams and I am having trouble getting vertices to show up at the right angle. For example, I generated a diagram using the following:

\feynmandiagram[scale=0.7] [horizontal=i1 to f1] {
i1 [crossed dot, label=(\mu)]
-- [fermion] a[label=right: (N_3)]
-- [fermion, quarter left] b[dot, label=below:( s)]
-- [fermion, quarter left] c[dot, label=left:( s)]
--[fermion] f1,
a--[fermion, quarter right] d [dot, label=(s) ]--[fermion, quarter right] c,
i2 [crossed dot, label=(\mu), in=45, out=135]--[fermion]b,
i3 [crossed dot, label=below:(\mu), in=45, out=135]--[fermion]d
};

This produces this diagram:
Screen Shot 2021-12-10 at 10 34 23 PM

(This is the same as the diagram produced without the in and out keys for the i2 and i3 vertices. I tried putting the in/out here instead of in the momentum, because doing that resulted in a wiggly edge. Obviously this isn't correct.) What I was hoping to do was angle these vertices so that they are to the left of the s vertices in the loop (due to the temporal flow I am trying to represent). I know the angles I am using are incorrect for the i3 vertex, but no amount of playing around with this seems to work. I made a second diagram using:

\feynmandiagram[scale=0.7] [horizontal=c to f1] {
i1 [crossed dot, label=(\mu)]-- [fermion] a[label=(N_4)]-- [fermion, quarter right] b
-- [fermion, quarter right] c--[fermion] f1,
a--[fermion, quarter left] d [dot, label=below:(s) ]--[fermion, quarter left] c,
i2 [crossed dot, label=(\mu)]--[fermion]b,
i3 [crossed dot, label=below:(\mu)]--[fermion]d,
i4[crossed dot, label=( \mu )]--[fermion]a
};

This one automatically seems to be right justified rather than centered, let alone left justified:
Screen Shot 2021-12-10 at 10 40 01 PM

Is there some way to move the default vertical vertices to the left a bit (or more than a bit)? I tried using the spring electrical layout, the tree layout, using [same layer], and attempted to change a variety of other options without any luck. After scouring the internet with no leads, I decided to ask you directly.

If you have the time, any advice you have would be very much appreciated.

Thanks again for an incredibly useful package!

[PS: I'm also having some issues using \wick with TeXShop on my Mac, if you'd like any feedback. No big deal though.]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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