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