]> git.lyx.org Git - lyx.git/blob - lib/examples/FeynmanDiagrams.lyx
Update docs to latest format.
[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 \begin_inset Separator latexpar
174 \end_inset
175
176
177 \end_layout
178
179 \begin_layout Standard
180 \align center
181 \begin_inset Tabular
182 <lyxtabular version="3" rows="7" columns="4">
183 <features booktabs="true" tabularvalignment="middle">
184 <column alignment="center" valignment="middle" width="28col%">
185 <column alignment="center" valignment="middle" width="20col%">
186 <column alignment="center" valignment="middle" width="25col%">
187 <column alignment="center" valignment="middle" width="20col%">
188 <row>
189 <cell alignment="center" valignment="top" topline="true" usebox="none">
190 \begin_inset Text
191
192 \begin_layout Plain Layout
193 Commands
194 \end_layout
195
196 \end_inset
197 </cell>
198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
199 \begin_inset Text
200
201 \begin_layout Plain Layout
202 Description
203 \end_layout
204
205 \end_inset
206 </cell>
207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
208 \begin_inset Text
209
210 \begin_layout Plain Layout
211 Example
212 \end_layout
213
214 \end_inset
215 </cell>
216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
217 \begin_inset Text
218
219 \begin_layout Plain Layout
220 Result
221 \end_layout
222
223 \end_inset
224 </cell>
225 </row>
226 <row>
227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
228 \begin_inset Text
229
230 \begin_layout Plain Layout
231 f,g,h
232 \end_layout
233
234 \end_inset
235 </cell>
236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
237 \begin_inset Text
238
239 \begin_layout Plain Layout
240 \noindent
241 \align left
242 fermion, photon or ghost propagator
243 \end_layout
244
245 \end_inset
246 </cell>
247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
248 \begin_inset Text
249
250 \begin_layout Plain Layout
251 \begin_inset Tabular
252 <lyxtabular version="3" rows="1" columns="3">
253 <features tabularvalignment="middle">
254 <column alignment="center" valignment="top">
255 <column alignment="center" valignment="top">
256 <column alignment="center" valignment="top">
257 <row>
258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
259 \begin_inset Text
260
261 \begin_layout Plain Layout
262 f
263 \end_layout
264
265 \end_inset
266 </cell>
267 <cell alignment="center" valignment="top" rightline="true" usebox="none">
268 \begin_inset Text
269
270 \begin_layout Plain Layout
271 g
272 \end_layout
273
274 \end_inset
275 </cell>
276 <cell alignment="center" valignment="top" usebox="none">
277 \begin_inset Text
278
279 \begin_layout Plain Layout
280 h
281 \end_layout
282
283 \end_inset
284 </cell>
285 </row>
286 </lyxtabular>
287
288 \end_inset
289
290
291 \end_layout
292
293 \end_inset
294 </cell>
295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
296 \begin_inset Text
297
298 \begin_layout Plain Layout
299 \begin_inset Formula $\Diagram{f & g & h}
300 $
301 \end_inset
302
303
304 \end_layout
305
306 \end_inset
307 </cell>
308 </row>
309 <row>
310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
311 \begin_inset Text
312
313 \begin_layout Plain Layout
314 fu,fd,fv (gu,gd,gv)
315 \end_layout
316
317 \end_inset
318 </cell>
319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
320 \begin_inset Text
321
322 \begin_layout Plain Layout
323 \noindent
324 \align left
325 fermion/photon, going up/down/vertical
326 \end_layout
327
328 \end_inset
329 </cell>
330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
331 \begin_inset Text
332
333 \begin_layout Plain Layout
334 \begin_inset Tabular
335 <lyxtabular version="3" rows="2" columns="3">
336 <features tabularvalignment="middle">
337 <column alignment="center" valignment="top">
338 <column alignment="center" valignment="top">
339 <column alignment="center" valignment="middle">
340 <row>
341 <cell alignment="center" valignment="top" usebox="none">
342 \begin_inset Text
343
344 \begin_layout Plain Layout
345 fd
346 \end_layout
347
348 \end_inset
349 </cell>
350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
351 \begin_inset Text
352
353 \begin_layout Plain Layout
354
355 \end_layout
356
357 \end_inset
358 </cell>
359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
360 \begin_inset Text
361
362 \begin_layout Plain Layout
363 gu
364 \end_layout
365
366 \end_inset
367 </cell>
368 </row>
369 <row>
370 <cell alignment="center" valignment="top" topline="true" usebox="none">
371 \begin_inset Text
372
373 \begin_layout Plain Layout
374
375 \end_layout
376
377 \end_inset
378 </cell>
379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
380 \begin_inset Text
381
382 \begin_layout Plain Layout
383 fv
384 \end_layout
385
386 \end_inset
387 </cell>
388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
389 \begin_inset Text
390
391 \begin_layout Plain Layout
392
393 \end_layout
394
395 \end_inset
396 </cell>
397 </row>
398 </lyxtabular>
399
400 \end_inset
401
402
403 \end_layout
404
405 \end_inset
406 </cell>
407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
408 \begin_inset Text
409
410 \begin_layout Plain Layout
411 \begin_inset Formula $\Diagram{fd &  & gu\\
412  & fv
413 }
414 $
415 \end_inset
416
417
418 \end_layout
419
420 \end_inset
421 </cell>
422 </row>
423 <row>
424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
425 \begin_inset Text
426
427 \begin_layout Plain Layout
428 fA,fV
429 \end_layout
430
431 \end_inset
432 </cell>
433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
434 \begin_inset Text
435
436 \begin_layout Plain Layout
437 \noindent
438 \align left
439 A and V are modifiers to produce arrow going left/up or right/down
440 \end_layout
441
442 \end_inset
443 </cell>
444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
445 \begin_inset Text
446
447 \begin_layout Plain Layout
448 \begin_inset Tabular
449 <lyxtabular version="3" rows="2" columns="3">
450 <features tabularvalignment="middle">
451 <column alignment="center" valignment="top">
452 <column alignment="center" valignment="top">
453 <column alignment="center" valignment="middle">
454 <row>
455 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
456 \begin_inset Text
457
458 \begin_layout Plain Layout
459 fdA
460 \end_layout
461
462 \end_inset
463 </cell>
464 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
465 \begin_inset Text
466
467 \begin_layout Plain Layout
468
469 \end_layout
470
471 \end_inset
472 </cell>
473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
474 \begin_inset Text
475
476 \begin_layout Plain Layout
477 fuV
478 \end_layout
479
480 \end_inset
481 </cell>
482 </row>
483 <row>
484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
485 \begin_inset Text
486
487 \begin_layout Plain Layout
488
489 \end_layout
490
491 \end_inset
492 </cell>
493 <cell alignment="center" valignment="top" rightline="true" usebox="none">
494 \begin_inset Text
495
496 \begin_layout Plain Layout
497 gvV
498 \end_layout
499
500 \end_inset
501 </cell>
502 <cell alignment="center" valignment="top" usebox="none">
503 \begin_inset Text
504
505 \begin_layout Plain Layout
506
507 \end_layout
508
509 \end_inset
510 </cell>
511 </row>
512 </lyxtabular>
513
514 \end_inset
515
516
517 \end_layout
518
519 \end_inset
520 </cell>
521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
522 \begin_inset Text
523
524 \begin_layout Plain Layout
525 \begin_inset Formula $\Diagram{fdA &  & fuV\\
526  & gvV
527 }
528 $
529 \end_inset
530
531
532 \end_layout
533
534 \end_inset
535 </cell>
536 </row>
537 <row>
538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
539 \begin_inset Text
540
541 \begin_layout Plain Layout
542 fl,glB,glS,fl1,gl2, etc.
543 \end_layout
544
545 \end_inset
546 </cell>
547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
548 \begin_inset Text
549
550 \begin_layout Plain Layout
551 \noindent
552 \align left
553 fermions/photons loop
554 \end_layout
555
556 \end_inset
557 </cell>
558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
559 \begin_inset Text
560
561 \begin_layout Plain Layout
562 \begin_inset Tabular
563 <lyxtabular version="3" rows="2" columns="3">
564 <features tabularvalignment="middle">
565 <column alignment="center" valignment="top">
566 <column alignment="center" valignment="top">
567 <column alignment="center" valignment="middle">
568 <row>
569 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
570 \begin_inset Text
571
572 \begin_layout Plain Layout
573 f
574 \end_layout
575
576 \end_inset
577 </cell>
578 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
579 \begin_inset Text
580
581 \begin_layout Plain Layout
582 gl
583 \end_layout
584
585 \end_inset
586 </cell>
587 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
588 \begin_inset Text
589
590 \begin_layout Plain Layout
591
592 \end_layout
593
594 \end_inset
595 </cell>
596 </row>
597 <row>
598 <cell alignment="center" valignment="top" rightline="true" usebox="none">
599 \begin_inset Text
600
601 \begin_layout Plain Layout
602
603 \end_layout
604
605 \end_inset
606 </cell>
607 <cell alignment="center" valignment="top" rightline="true" usebox="none">
608 \begin_inset Text
609
610 \begin_layout Plain Layout
611 f
612 \end_layout
613
614 \end_inset
615 </cell>
616 <cell alignment="center" valignment="top" usebox="none">
617 \begin_inset Text
618
619 \begin_layout Plain Layout
620 f
621 \end_layout
622
623 \end_inset
624 </cell>
625 </row>
626 </lyxtabular>
627
628 \end_inset
629
630
631 \end_layout
632
633 \end_inset
634 </cell>
635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
636 \begin_inset Text
637
638 \begin_layout Plain Layout
639 \begin_inset Formula $\Diagram{f & gl\\
640  & f & f
641 }
642 $
643 \end_inset
644
645
646 \end_layout
647
648 \end_inset
649 </cell>
650 </row>
651 <row>
652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
653 \begin_inset Text
654
655 \begin_layout Plain Layout
656
657 \backslash
658 momentum{ch}{text}
659 \end_layout
660
661 \end_inset
662 </cell>
663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
664 \begin_inset Text
665
666 \begin_layout Plain Layout
667 \noindent
668 \align left
669 particle-momentum specification
670 \end_layout
671
672 \end_inset
673 </cell>
674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
675 \begin_inset Text
676
677 \begin_layout Plain Layout
678 \begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$
679 \end_inset
680
681
682 \end_layout
683
684 \end_inset
685 </cell>
686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
687 \begin_inset Text
688
689 \begin_layout Plain Layout
690 \begin_inset Formula $\Diagram{\momentum{fA}{\vec{p}}}
691 $
692 \end_inset
693
694
695 \end_layout
696
697 \end_inset
698 </cell>
699 </row>
700 <row>
701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
702 \begin_inset Text
703
704 \begin_layout Plain Layout
705
706 \backslash
707 vertexlabel{p}{text}
708 \end_layout
709
710 \end_inset
711 </cell>
712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
713 \begin_inset Text
714
715 \begin_layout Plain Layout
716 \noindent
717 \align left
718 the vertex label 
719 \emph on
720 p
721 \emph default
722  is either '^' or '_' for labeling above or below the vertex
723 \end_layout
724
725 \end_inset
726 </cell>
727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
728 \begin_inset Text
729
730 \begin_layout Plain Layout
731 \begin_inset Tabular
732 <lyxtabular version="3" rows="2" columns="1">
733 <features tabularvalignment="middle">
734 <column alignment="center" valignment="top">
735 <row>
736 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
737 \begin_inset Text
738
739 \begin_layout Plain Layout
740 \begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$
741 \end_inset
742
743
744 \end_layout
745
746 \end_inset
747 </cell>
748 </row>
749 <row>
750 <cell alignment="center" valignment="top" usebox="none">
751 \begin_inset Text
752
753 \begin_layout Plain Layout
754 \begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$
755 \end_inset
756
757
758 \end_layout
759
760 \end_inset
761 </cell>
762 </row>
763 </lyxtabular>
764
765 \end_inset
766
767
768 \end_layout
769
770 \end_inset
771 </cell>
772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
773 \begin_inset Text
774
775 \begin_layout Plain Layout
776 \begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\
777 fglS\vertexlabel_{\gamma}
778 }
779 $
780 \end_inset
781
782
783 \end_layout
784
785 \end_inset
786 </cell>
787 </row>
788 </lyxtabular>
789
790 \end_inset
791
792
793 \end_layout
794
795 \begin_layout Standard
796 These are just some of the features of thepackage 
797 \series bold
798 feyn
799 \series default
800  whose user manual can be found in 
801 \begin_inset CommandInset citation
802 LatexCommand cite
803 key "Feyn"
804
805 \end_inset
806
807 .
808 \end_layout
809
810 \begin_layout Standard
811 \begin_inset Note Greyedout
812 status open
813
814 \begin_layout Plain Layout
815
816 \series bold
817 Note:
818 \series default
819  If you have an index list in your document and use one of the AMS theorem
820  modules, you have to add the option 
821 \series bold
822 noglobalbang
823 \series default
824  to the document class options in the document settings.
825  This enables the usage of the '!' character in index entries (necessary
826  for subentries) but might cause troubles with the align environments (which
827  are described in section 
828 \begin_inset Quotes eld
829 \end_inset
830
831 Align Environments
832 \begin_inset Quotes erd
833 \end_inset
834
835  of \SpecialChar LyX
836 's Math manual).
837 \end_layout
838
839 \end_inset
840
841
842 \end_layout
843
844 \begin_layout Bibliography
845 \begin_inset CommandInset bibitem
846 LatexCommand bibitem
847 key "Feyn"
848
849 \end_inset
850
851
852 \begin_inset CommandInset href
853 LatexCommand href
854 name "Documentation"
855 target "http://mirror.ctan.org/fonts/feyn/feyn.pdf"
856
857 \end_inset
858
859  of the \SpecialChar LaTeX
860  package 
861 \series bold
862 feyn
863 \end_layout
864
865 \end_body
866 \end_document