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

[horizontal=a to b] not working #57

Open
T0ky0Cat opened this issue May 30, 2018 · 7 comments
Open

[horizontal=a to b] not working #57

T0ky0Cat opened this issue May 30, 2018 · 7 comments

Comments

@T0ky0Cat
Copy link

Hi! I already have an issue with the very first diagram. I am just trying to copy paste

\feynmandiagram [horizontal=a to b]
{ i1 -- [fermion] a -- [fermion] i2, a -- [photon] b,
f1 -- [fermion] b -- [fermion] f2,
};

But instead of a-b being horizontal I always get i1-a-i2 horizontal. Substituting horizontal with vertical or with horizontal' gives the exact same diagram. I don't know what I could possibly be doing wrong at this point.

@Turgon-Aran-Gondolin
Copy link

Did you choose xelatex as your compiler?

@T0ky0Cat
Copy link
Author

Yes, I did.

@Turgon-Aran-Gondolin
Copy link

I never figured out how to use it with xelatex, but lualatex works fine.

@T0ky0Cat
Copy link
Author

I switched to lualatex and now it works fine for me as well. Thank you!

@liuyonghao156
Copy link

East Asian font type-setting actually relies on XeLaTeX, so using LuaLaTeX instead will not be an option for most of those works.

@JP-Ellis
Copy link
Owner

@liuyonghao156 Would some of the solutions described in some of the links below suit?

@liuyonghao156
Copy link

@liuyonghao156 Would some of the solutions described in some of the links below suit?

Thanks for your reply! Yes, for those who're interested in using CJK with this package, luatexja is indeed a CJK interface for LuaLaTeX, but to my specific case, many templates we use are written for XeLaTeX due to its prevalence. I notice that XeLaTeX has limited support for TikZ features which is extensively used in this package, so I will definitely ticket my school's template maintainer on supporting LuaLaTeX in the future!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants