]> git.lyx.org Git - lyx.git/blob - lib/examples/FeynmanDiagrams.lyx
12ea5ab43138c6933d6e1ee821baa2d9d95ae939
[lyx.git] / lib / examples / FeynmanDiagrams.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
7 \textclass scrartcl
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the file prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % if pdflatex is used
19 \usepackage{ifpdf}
20 \ifpdf
21
22 % set fonts for nicer pdf view
23 \IfFileExists{lmodern.sty}
24  {\usepackage{lmodern}}{}
25
26 \fi % end if pdflatex is used
27
28 % used to have extra space in table cells
29 \@ifundefined{extrarowheight}
30  {\usepackage{array}}{}
31 \setlength{\extrarowheight}{5pt}
32 \end_preamble
33 \use_default_options true
34 \maintain_unincluded_children false
35 \language english
36 \language_package default
37 \inputencoding auto
38 \fontencoding global
39 \font_roman "default" "default"
40 \font_sans "default" "default"
41 \font_typewriter "default" "default"
42 \font_math "auto" "auto"
43 \font_default_family default
44 \use_non_tex_fonts false
45 \font_sc false
46 \font_osf false
47 \font_sf_scale 100 100
48 \font_tt_scale 100 100
49 \graphics default
50 \default_output_format default
51 \output_sync 0
52 \bibtex_command default
53 \index_command default
54 \paperfontsize 12
55 \spacing single
56 \use_hyperref true
57 \pdf_title "Feynman Diagrams"
58 \pdf_author "LyX Team, Uwe Stöhr, Ronen Abravanel"
59 \pdf_bookmarks false
60 \pdf_bookmarksnumbered false
61 \pdf_bookmarksopen false
62 \pdf_bookmarksopenlevel 1
63 \pdf_breaklinks false
64 \pdf_pdfborder true
65 \pdf_colorlinks false
66 \pdf_backref false
67 \pdf_pdfusetitle false
68 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
69 \papersize default
70 \use_geometry false
71 \use_package amsmath 1
72 \use_package amssymb 1
73 \use_package cancel 0
74 \use_package esint 1
75 \use_package mathdots 1
76 \use_package mathtools 0
77 \use_package mhchem 1
78 \use_package stackrel 0
79 \use_package stmaryrd 0
80 \use_package undertilde 0
81 \cite_engine basic
82 \cite_engine_type default
83 \biblio_style plain
84 \use_bibtopic false
85 \use_indices false
86 \paperorientation portrait
87 \suppress_date true
88 \justification true
89 \use_refstyle 0
90 \notefontcolor #0000ff
91 \index Index
92 \shortcut idx
93 \color #008000
94 \end_index
95 \secnumdepth 3
96 \tocdepth 3
97 \paragraph_separation skip
98 \defskip medskip
99 \quotes_language english
100 \papercolumns 1
101 \papersides 1
102 \paperpagestyle default
103 \tracking_changes false
104 \output_changes false
105 \html_math_output 0
106 \html_css_as_file 0
107 \html_be_strict false
108 \end_header
109
110 \begin_body
111
112 \begin_layout Title
113 Feynman Diagrams
114 \end_layout
115
116 \begin_layout Standard
117 \begin_inset Note Note
118 status open
119
120 \begin_layout Plain Layout
121 authors: Uwe Stöhr and Ronen Abravanel
122 \end_layout
123
124 \end_inset
125
126
127 \end_layout
128
129 \begin_layout Standard
130 To be able to create 
131 \noun on
132 Feynman
133 \noun default
134  diagrams, the \SpecialChar LaTeX
135 -package 
136 \series bold
137 feyn
138 \series default
139  must be installed.
140  A 
141 \noun on
142 Feynman
143 \noun default
144  diagram is created by inserting the command 
145 \series bold
146
147 \backslash
148 Diagram
149 \series default
150  in a formula.
151  Then you are able to add new matrix columns and rows like a normal matrices.
152  
153 \end_layout
154
155 \begin_layout Standard
156 As matrix entry, one can enter commands that act as 
157 \begin_inset Quotes eld
158 \end_inset
159
160 particles
161 \begin_inset Quotes erd
162 \end_inset
163
164  or 
165 \begin_inset Quotes eld
166 \end_inset
167
168 propagators
169 \begin_inset Quotes erd
170 \end_inset
171
172 , for example:
173 \end_layout
174
175 \begin_layout Standard
176 \align center
177 \begin_inset Tabular
178 <lyxtabular version="3" rows="7" columns="4">
179 <features booktabs="true" tabularvalignment="middle">
180 <column alignment="center" valignment="middle" width="28col%">
181 <column alignment="center" valignment="middle" width="20col%">
182 <column alignment="center" valignment="middle" width="25col%">
183 <column alignment="center" valignment="middle" width="20col%">
184 <row>
185 <cell alignment="center" valignment="top" topline="true" usebox="none">
186 \begin_inset Text
187
188 \begin_layout Plain Layout
189 Commands
190 \end_layout
191
192 \end_inset
193 </cell>
194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
195 \begin_inset Text
196
197 \begin_layout Plain Layout
198 Description
199 \end_layout
200
201 \end_inset
202 </cell>
203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
204 \begin_inset Text
205
206 \begin_layout Plain Layout
207 Example
208 \end_layout
209
210 \end_inset
211 </cell>
212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
213 \begin_inset Text
214
215 \begin_layout Plain Layout
216 Result
217 \end_layout
218
219 \end_inset
220 </cell>
221 </row>
222 <row>
223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
224 \begin_inset Text
225
226 \begin_layout Plain Layout
227 f,g,h
228 \end_layout
229
230 \end_inset
231 </cell>
232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
233 \begin_inset Text
234
235 \begin_layout Plain Layout
236 \noindent
237 \align left
238 fermion, photon or ghost propagator
239 \end_layout
240
241 \end_inset
242 </cell>
243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
244 \begin_inset Text
245
246 \begin_layout Plain Layout
247 \begin_inset Tabular
248 <lyxtabular version="3" rows="1" columns="3">
249 <features tabularvalignment="middle">
250 <column alignment="center" valignment="top">
251 <column alignment="center" valignment="top">
252 <column alignment="center" valignment="top">
253 <row>
254 <cell alignment="center" valignment="top" rightline="true" usebox="none">
255 \begin_inset Text
256
257 \begin_layout Plain Layout
258 f
259 \end_layout
260
261 \end_inset
262 </cell>
263 <cell alignment="center" valignment="top" rightline="true" usebox="none">
264 \begin_inset Text
265
266 \begin_layout Plain Layout
267 g
268 \end_layout
269
270 \end_inset
271 </cell>
272 <cell alignment="center" valignment="top" usebox="none">
273 \begin_inset Text
274
275 \begin_layout Plain Layout
276 h
277 \end_layout
278
279 \end_inset
280 </cell>
281 </row>
282 </lyxtabular>
283
284 \end_inset
285
286
287 \end_layout
288
289 \end_inset
290 </cell>
291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
292 \begin_inset Text
293
294 \begin_layout Plain Layout
295 \begin_inset Formula $\Diagram{f & g & h}
296 $
297 \end_inset
298
299
300 \end_layout
301
302 \end_inset
303 </cell>
304 </row>
305 <row>
306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
307 \begin_inset Text
308
309 \begin_layout Plain Layout
310 fu,fd,fv (gu,gd,gv)
311 \end_layout
312
313 \end_inset
314 </cell>
315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
316 \begin_inset Text
317
318 \begin_layout Plain Layout
319 \noindent
320 \align left
321 fermion/photon, going up/down/vertical
322 \end_layout
323
324 \end_inset
325 </cell>
326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
327 \begin_inset Text
328
329 \begin_layout Plain Layout
330 \begin_inset Tabular
331 <lyxtabular version="3" rows="2" columns="3">
332 <features tabularvalignment="middle">
333 <column alignment="center" valignment="top">
334 <column alignment="center" valignment="top">
335 <column alignment="center" valignment="middle">
336 <row>
337 <cell alignment="center" valignment="top" usebox="none">
338 \begin_inset Text
339
340 \begin_layout Plain Layout
341 fd
342 \end_layout
343
344 \end_inset
345 </cell>
346 <cell alignment="center" valignment="top" leftline="true" usebox="none">
347 \begin_inset Text
348
349 \begin_layout Plain Layout
350
351 \end_layout
352
353 \end_inset
354 </cell>
355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
356 \begin_inset Text
357
358 \begin_layout Plain Layout
359 gu
360 \end_layout
361
362 \end_inset
363 </cell>
364 </row>
365 <row>
366 <cell alignment="center" valignment="top" topline="true" usebox="none">
367 \begin_inset Text
368
369 \begin_layout Plain Layout
370
371 \end_layout
372
373 \end_inset
374 </cell>
375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
376 \begin_inset Text
377
378 \begin_layout Plain Layout
379 fv
380 \end_layout
381
382 \end_inset
383 </cell>
384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
385 \begin_inset Text
386
387 \begin_layout Plain Layout
388
389 \end_layout
390
391 \end_inset
392 </cell>
393 </row>
394 </lyxtabular>
395
396 \end_inset
397
398
399 \end_layout
400
401 \end_inset
402 </cell>
403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
404 \begin_inset Text
405
406 \begin_layout Plain Layout
407 \begin_inset Formula $\Diagram{fd &  & gu\\
408  & fv
409 }
410 $
411 \end_inset
412
413
414 \end_layout
415
416 \end_inset
417 </cell>
418 </row>
419 <row>
420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
421 \begin_inset Text
422
423 \begin_layout Plain Layout
424 fA,fV
425 \end_layout
426
427 \end_inset
428 </cell>
429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
430 \begin_inset Text
431
432 \begin_layout Plain Layout
433 \noindent
434 \align left
435 A and V are modifiers to produce arrow going left/up or right/down
436 \end_layout
437
438 \end_inset
439 </cell>
440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
441 \begin_inset Text
442
443 \begin_layout Plain Layout
444 \begin_inset Tabular
445 <lyxtabular version="3" rows="2" columns="3">
446 <features tabularvalignment="middle">
447 <column alignment="center" valignment="top">
448 <column alignment="center" valignment="top">
449 <column alignment="center" valignment="middle">
450 <row>
451 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
452 \begin_inset Text
453
454 \begin_layout Plain Layout
455 fdA
456 \end_layout
457
458 \end_inset
459 </cell>
460 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
461 \begin_inset Text
462
463 \begin_layout Plain Layout
464
465 \end_layout
466
467 \end_inset
468 </cell>
469 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
470 \begin_inset Text
471
472 \begin_layout Plain Layout
473 fuV
474 \end_layout
475
476 \end_inset
477 </cell>
478 </row>
479 <row>
480 <cell alignment="center" valignment="top" rightline="true" usebox="none">
481 \begin_inset Text
482
483 \begin_layout Plain Layout
484
485 \end_layout
486
487 \end_inset
488 </cell>
489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
490 \begin_inset Text
491
492 \begin_layout Plain Layout
493 gvV
494 \end_layout
495
496 \end_inset
497 </cell>
498 <cell alignment="center" valignment="top" usebox="none">
499 \begin_inset Text
500
501 \begin_layout Plain Layout
502
503 \end_layout
504
505 \end_inset
506 </cell>
507 </row>
508 </lyxtabular>
509
510 \end_inset
511
512
513 \end_layout
514
515 \end_inset
516 </cell>
517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
518 \begin_inset Text
519
520 \begin_layout Plain Layout
521 \begin_inset Formula $\Diagram{fdA &  & fuV\\
522  & gvV
523 }
524 $
525 \end_inset
526
527
528 \end_layout
529
530 \end_inset
531 </cell>
532 </row>
533 <row>
534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
535 \begin_inset Text
536
537 \begin_layout Plain Layout
538 fl,glB,glS,fl1,gl2, etc.
539 \end_layout
540
541 \end_inset
542 </cell>
543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
544 \begin_inset Text
545
546 \begin_layout Plain Layout
547 \noindent
548 \align left
549 fermions/photons loop
550 \end_layout
551
552 \end_inset
553 </cell>
554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
555 \begin_inset Text
556
557 \begin_layout Plain Layout
558 \begin_inset Tabular
559 <lyxtabular version="3" rows="2" columns="3">
560 <features tabularvalignment="middle">
561 <column alignment="center" valignment="top">
562 <column alignment="center" valignment="top">
563 <column alignment="center" valignment="middle">
564 <row>
565 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
566 \begin_inset Text
567
568 \begin_layout Plain Layout
569 f
570 \end_layout
571
572 \end_inset
573 </cell>
574 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
575 \begin_inset Text
576
577 \begin_layout Plain Layout
578 gl
579 \end_layout
580
581 \end_inset
582 </cell>
583 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
584 \begin_inset Text
585
586 \begin_layout Plain Layout
587
588 \end_layout
589
590 \end_inset
591 </cell>
592 </row>
593 <row>
594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
595 \begin_inset Text
596
597 \begin_layout Plain Layout
598
599 \end_layout
600
601 \end_inset
602 </cell>
603 <cell alignment="center" valignment="top" rightline="true" usebox="none">
604 \begin_inset Text
605
606 \begin_layout Plain Layout
607 f
608 \end_layout
609
610 \end_inset
611 </cell>
612 <cell alignment="center" valignment="top" usebox="none">
613 \begin_inset Text
614
615 \begin_layout Plain Layout
616 f
617 \end_layout
618
619 \end_inset
620 </cell>
621 </row>
622 </lyxtabular>
623
624 \end_inset
625
626
627 \end_layout
628
629 \end_inset
630 </cell>
631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
632 \begin_inset Text
633
634 \begin_layout Plain Layout
635 \begin_inset Formula $\Diagram{f & gl\\
636  & f & f
637 }
638 $
639 \end_inset
640
641
642 \end_layout
643
644 \end_inset
645 </cell>
646 </row>
647 <row>
648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
649 \begin_inset Text
650
651 \begin_layout Plain Layout
652
653 \backslash
654 momentum{ch}{text}
655 \end_layout
656
657 \end_inset
658 </cell>
659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
660 \begin_inset Text
661
662 \begin_layout Plain Layout
663 \noindent
664 \align left
665 particle-momentum specification
666 \end_layout
667
668 \end_inset
669 </cell>
670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
671 \begin_inset Text
672
673 \begin_layout Plain Layout
674 \begin_inset Formula $\backslash{\textrm{momentum}}\{fA\}\{\vec{p\}}$
675 \end_inset
676
677
678 \end_layout
679
680 \end_inset
681 </cell>
682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
683 \begin_inset Text
684
685 \begin_layout Plain Layout
686 \begin_inset Formula $\Diagram{\momentum{fA}{\vec{p}}}
687 $
688 \end_inset
689
690
691 \end_layout
692
693 \end_inset
694 </cell>
695 </row>
696 <row>
697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
698 \begin_inset Text
699
700 \begin_layout Plain Layout
701
702 \backslash
703 vertexlabel{p}{text}
704 \end_layout
705
706 \end_inset
707 </cell>
708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
709 \begin_inset Text
710
711 \begin_layout Plain Layout
712 \noindent
713 \align left
714 the vertex label 
715 \emph on
716 p
717 \emph default
718  is either '^' or '_' for labeling above or below the vertex
719 \end_layout
720
721 \end_inset
722 </cell>
723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
724 \begin_inset Text
725
726 \begin_layout Plain Layout
727 \begin_inset Tabular
728 <lyxtabular version="3" rows="2" columns="1">
729 <features tabularvalignment="middle">
730 <column alignment="center" valignment="top">
731 <row>
732 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
733 \begin_inset Text
734
735 \begin_layout Plain Layout
736 \begin_inset Formula $\backslash{\textrm{vertexlabel}}^{e^{+}}fA$
737 \end_inset
738
739
740 \end_layout
741
742 \end_inset
743 </cell>
744 </row>
745 <row>
746 <cell alignment="center" valignment="top" usebox="none">
747 \begin_inset Text
748
749 \begin_layout Plain Layout
750 \begin_inset Formula $fglS\backslash{\textrm{vertexlabel}}_{\gamma}$
751 \end_inset
752
753
754 \end_layout
755
756 \end_inset
757 </cell>
758 </row>
759 </lyxtabular>
760
761 \end_inset
762
763
764 \end_layout
765
766 \end_inset
767 </cell>
768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
769 \begin_inset Text
770
771 \begin_layout Plain Layout
772 \begin_inset Formula $\Diagram{\vertexlabel^{{\textrm{e^{+}}}}fA\\
773 fglS\vertexlabel_{\gamma}
774 }
775 $
776 \end_inset
777
778
779 \end_layout
780
781 \end_inset
782 </cell>
783 </row>
784 </lyxtabular>
785
786 \end_inset
787
788
789 \end_layout
790
791 \begin_layout Standard
792 These are just some of the features of thepackage 
793 \series bold
794 feyn
795 \series default
796  whose user manual can be found in 
797 \begin_inset CommandInset citation
798 LatexCommand cite
799 key "Feyn"
800
801 \end_inset
802
803 .
804 \end_layout
805
806 \begin_layout Standard
807 \begin_inset Note Greyedout
808 status open
809
810 \begin_layout Plain Layout
811
812 \series bold
813 Note:
814 \series default
815  If you have an index list in your document and use one of the AMS theorem
816  modules, you have to add the option 
817 \series bold
818 noglobalbang
819 \series default
820  to the document class options in the document settings.
821  This enables the usage of the '!' character in index entries (necessary
822  for subentries) but might cause troubles with the align environments (which
823  are described in section 
824 \begin_inset Quotes eld
825 \end_inset
826
827 Align Environments
828 \begin_inset Quotes erd
829 \end_inset
830
831  of \SpecialChar LyX
832 's Math manual).
833 \end_layout
834
835 \end_inset
836
837
838 \end_layout
839
840 \begin_layout Bibliography
841 \begin_inset CommandInset bibitem
842 LatexCommand bibitem
843 key "Feyn"
844
845 \end_inset
846
847
848 \begin_inset CommandInset href
849 LatexCommand href
850 name "Documentation"
851 target "http://mirror.ctan.org/fonts/feyn/feyn.pdf"
852
853 \end_inset
854
855  of the \SpecialChar LaTeX
856  package 
857 \series bold
858 feyn
859 \end_layout
860
861 \end_body
862 \end_document