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