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