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