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