Comments (2)
Hi,
I'm glad you're finding Ti_k_Z-Feynman useful!
As you have noticed, the particle
and dot
style are mutually exclusive because they modify the shape of the vertex itself. If you want an annotated dot, you can use the label
directive:
\documentclass[tikz, border=5pt]{standalone}
\usepackage[compat=1.1.0]{tikz-feynman}
\begin{document}
\feynmandiagram [layered layout, horizontal=a to b] {
a [dot, label=180:\(t_{1}\)]
-- [fermion, half left] b [dot, label=0:\(t_{2}\)]
-- [fermion, half left] a,
};
\begin{tikzpicture}
\begin{feynman}
\vertex[dot, label=180:\(t_{1}\)] (a) {};
\vertex[right=of a, dot, label=0:\(t_{2}\)] (b) {};
\diagram* {
(a) -- [fermion, half left] (b),
(b) -- [fermion, half left] (a),
};
\end{feynman}
\end{tikzpicture}
\end{document}
I hope that helps!
from tikz-feynman.
Brilliant, thanks!
from tikz-feynman.
Related Issues (20)
- Thicken propagator line?
- Vertical centering of diagram HOT 2
- Extra vertex shapes
- blob not centered as it should HOT 2
- Compiler cannot find PGF files even though they exist HOT 8
- Many-body feynman diagrams HOT 2
- \usetikzlibrary{feynman} HOT 3
- Export baseline value for an equation from Latex HOT 1
- Externalization of tikz-feynman environment inside math environment spawns multiple figure files HOT 1
- Reuse diagram
- Conflict with pgf 3.15 HOT 1
- How to finish this particle decay channel diagram?
- In what direction is time in by default?
- Global option to disable all LuaTeX warnings
- Funky and backward diagrams in TeX Live 2019/2020. HOT 5
- Feature Request: Compat with MathJax HOT 2
- Trouble angling edges
- Getting funky-looking diagrams using electron-positron scattering example HOT 1
- \feynmandiagram does not work at all anymore in TexShop 4.73 HOT 2
- inline/baseline in feynman environment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tikz-feynman.