| 1 |
<?xml version="1.0" encoding='utf-8'?> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<title>Feyn font</title> |
| 5 |
<link href="https://nxg.me.uk" rev="author"/> |
| 6 |
<link type="text/css" rel="stylesheet" href="style.css"/> |
| 7 |
</head> |
| 8 |
|
| 9 |
<body> |
| 10 |
<h1>Feyn font</h1> |
| 11 |
<div class="abstract"> |
| 12 |
<p>A package of fonts for displaying Feynman diagrams.</p> |
| 13 |
<p>Version 0.4.3, 2022 July 20.</p> |
| 14 |
<ul> |
| 15 |
<li>Canonical URL: <code style='font-size: larger;'>https://purl.org/nxg/dist/feyn</code></li> |
| 16 |
<li><a href='https://heptapod.host/nxg/feyn'>Repository</a></li> |
| 17 |
</ul> |
| 18 |
</div> |
| 19 |
|
| 20 |
|
| 21 |
<p>This package is intended to produce relatively simple Feynman diagrams, |
| 22 |
primarily for use within equations.</p> |
| 23 |
|
| 24 |
<p><img class="smallimage" src="sample-two-loop.png" alt="Two-loop diagram" |
| 25 |
/>This package differs from Thorsten Ohl’s |
| 26 |
<code>feynmf/feynmp</code> package (at <a href="https://ctan.org/pkg/feynmf">CTAN</a>, |
| 27 |
or see the |
| 28 |
<a href="https://texfaq.org/FAQ-drawFeyn" >TeX FAQ</a>). |
| 29 |
FeynMP works by creating Metafont or MetaPost figures using a |
| 30 |
preprocessor. It’s more general than this package, but is at its best |
| 31 |
when creating relatively large diagrams, for figures. In contrast, |
| 32 |
the present system consists of a carefully-designed font with which |
| 33 |
you can easily write simple diagrams, within equations or within text, in a |
| 34 |
size matching the surrounding text size.</p> |
| 35 |
|
| 36 |
<p><img class="smallimage" src="sample-massive.png" alt="Massive fermions" |
| 37 |
/>The propagators and vertices which are implemented are those which |
| 38 |
seem to appear most often in non-figure displays (the practical |
| 39 |
definition of ‘appear most often’ is ‘which I wanted’ and ‘which people |
| 40 |
asked me for’). I have no current plans to extend the package |
| 41 |
further, but I’m willing add other features if you can make a case for |
| 42 |
them.</p> |
| 43 |
|
| 44 |
<p>There is further documentation, plus numerous examples, in the |
| 45 |
<a href="feyn.pdf" >package documentation</a>.</p> |
| 46 |
|
| 47 |
<p><strong>[By the way, I have little idea of how many people actually |
| 48 |
use this package. If you do use it, I’d be most grateful if you could |
| 49 |
drop me a line just to say so]</strong></p> |
| 50 |
|
| 51 |
<h2>Licence</h2> |
| 52 |
|
| 53 |
<p>This software is copyright 1991, 1994, 2001-2, 2005, 2008-17, Norman Gray.. |
| 54 |
It is distributed under the terms of the <a href='LICENCE'>2-clause BSD Licence</a>.</p> |
| 55 |
|
| 56 |
<h2>History</h2> |
| 57 |
|
| 58 |
<dl> |
| 59 |
|
| 60 |
<!-- @RELEASENOTES@ --> |
| 61 |
<dt><span class='attention'>Version 0.4.3, 2022 July 20</span></dt> |
| 62 |
<dd>Documentation update, including fixes for broken URIs, and more |
| 63 |
consistent use of the canonical homepage URI, |
| 64 |
<a href='https://purl.org/nxg/dist/feyn'><code>https://purl.org/nxg/dist/feyn</code></a>.</dd> |
| 65 |
|
| 66 |
<dt><span class='attention'>Version 0.4.2, 2022 July 18</span></dt> |
| 67 |
<dd> |
| 68 |
<p>No code changes, but updates to URLs, including the repository location.</p> |
| 69 |
</dd> |
| 70 |
|
| 71 |
<dt><span class='attention'>Version 0.4.1, 2017 November 3</span></dt> |
| 72 |
<dd><p>The package is now licensed under the terms of the 2-clause BSD licence.</p> |
| 73 |
<p>The only other changes from v0.4b2 are mild documentation adjustments |
| 74 |
(sorry for the long delay between 0.4b2 and 0.4).</p> |
| 75 |
<p>Version 0.4 was not widely released.</p></dd> |
| 76 |
|
| 77 |
<dt>Version 0.4b3, 2013 April 12</dt> |
| 78 |
<dd><ul> |
| 79 |
<li>Changed <code>\below</code> to <code>\belowl</code>, and added |
| 80 |
companion <code>\belowr</code>.</li> |
| 81 |
<li>Documentation updates</li> |
| 82 |
</ul></dd> |
| 83 |
|
| 84 |
<dt>Version 0.4b2, 2011 April 9</dt> |
| 85 |
<dd><p><img class="smallimage" src="sample-phi4.png" alt="Vertex"/> As |
| 86 |
for version 0.4b1, but with the addition of <code>aV</code> for a |
| 87 |
backward arrow (rarely used, but included for consistency; thanks to |
| 88 |
Thomas Pruschke for the suggestion). Also added: <code>flo</code> for |
| 89 |
the closed fermion loop, for phi^4 theory (plus <code>floV</code> and |
| 90 |
<code>floA</code> for completeness; thanks to Hoang Nghia Nguyen for the suggestion; |
| 91 |
the font should <em>now</em> be able to produce all scalar theory |
| 92 |
diagrams).</p></dd> |
| 93 |
|
| 94 |
<dt>Version 0.4b1, 2010 January 23</dt> |
| 95 |
<dd><p>Addition of the extended-size `feynx' fonts, and the <code>\FEYN</code> macro |
| 96 |
(thanks to Luciano Pandola for the suggestion).</p> |
| 97 |
<p>Adjustments to the sizing of half-loops |
| 98 |
(the half-loops are now squashed, though the quarter-loops aren't). |
| 99 |
Added ghost loops; we can now do all the diagrams of 2-loop QCD. |
| 100 |
The quarter-loop gluons now taper at both ends, so that two quarter-loops |
| 101 |
are no longer the same as one half-loop.</p></dd> |
| 102 |
|
| 103 |
|
| 104 |
<dt>...</dt> |
| 105 |
<dd><a href='release-notes.html'>Earlier release notes</a> are available</dd> |
| 106 |
|
| 107 |
</dl> |
| 108 |
|
| 109 |
<h2>Download and installation</h2> |
| 110 |
|
| 111 |
<p>The nominal distribution point for the Feyn package is CTAN, |
| 112 |
under <a href="https://ctan.org/pkg/feyn">fonts/feyn</a>.</p> |
| 113 |
|
| 114 |
<p>The feyn package is included in the |
| 115 |
<a href='https://www.tug.org/texlive/'>TeXLive distribution</a>, so |
| 116 |
you may have it on your machine already. If not, or if you need a |
| 117 |
more up-to-date version, read on.</p> |
| 118 |
|
| 119 |
<p>Since the package is on CTAN, it should be easily installed and |
| 120 |
updated using the tools which support this in your TeX distribution. |
| 121 |
For TeXLive, that's <a href='https://www.tug.org/texlive/tlmgr.html'>tlmgr</a>, |
| 122 |
and for MikTeX see the maintenance section of |
| 123 |
<a href='https://docs.miktex.org'>the manual</a>.</p> |
| 124 |
|
| 125 |
<h3>Doing the installation by hand</h3> |
| 126 |
|
| 127 |
<p>...how thoroughly old-skool of you!</p> |
| 128 |
|
| 129 |
<ol> |
| 130 |
<li>Download either |
| 131 |
<a href="feyn-0.4.3.tar.gz" >feyn-0.4.3.tar.gz</a> |
| 132 |
or |
| 133 |
<a href="feyn-0.4.3.zip" >feyn-0.4.3.zip</a> |
| 134 |
and unpack it.</li> |
| 135 |
|
| 136 |
<li>Run LaTeX on the file <code>feyn.ins</code> – this will unpack the |
| 137 |
style file <code>feyn.sty</code> amongst other files. Place this |
| 138 |
‘somewhere where TeX can find it’. Similarly, place the |
| 139 |
<code>.mf</code> files somewhere where the font-generation mechanism |
| 140 |
for your platform can find them. For example, in the TeXLive |
| 141 |
distribution, the feyn <code>*.mf</code> files appear in the directory |
| 142 |
<code>/usr/local/texlive/2008/texmf-dist/fonts/source/public/feyn/</code> |
| 143 |
and the <code>feyn.sty</code> file in |
| 144 |
<code>/usr/local/texlive/2008/texmf-dist/tex/latex/feyn/feyn.sty</code>, |
| 145 |
so that if I were installing them ‘privately’, I would put them in |
| 146 |
<code>/usr/local/texlive/texmf-local/fonts/source/local/feyn/</code> |
| 147 |
and |
| 148 |
<code>/usr/local/texlive/texmf-local/tex/latex/feyn/feyn.sty</code>. |
| 149 |
With the teTeX and TeXLive Unix distributions, the output of |
| 150 |
<code>kpsepath mf</code> shows the list of places where TeX will look |
| 151 |
for Metafont source files. The font files <em>should</em> be |
| 152 |
generated on the fly when you first refer to them. See also the |
| 153 |
relevant discussion in the TeX FAQ about <a |
| 154 |
href='https://texfaq.org/FAQ-inst-wlcf' |
| 155 |
>‘where LaTeX can find them’</a>.</li> |
| 156 |
|
| 157 |
<li>Run LaTeX on the file <code>feyn.dtx</code> to obtain the |
| 158 |
documentation, which is prebuilt in <code><a href="feyn.pdf" |
| 159 |
>feyn.pdf</a></code> (this should |
| 160 |
generate the font files as a side-effect).</li> |
| 161 |
</ol> |
| 162 |
|
| 163 |
<p>You should be able to find generic instructions for installing LaTeX files at |
| 164 |
<a href='https://texfaq.org/#installing' >the TeX FAQ</a>.</p> |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
<div class="signature"> |
| 169 |
<a href="https://nxg.me.uk" >Norman Gray</a><br/> |
| 170 |
2022 July 20 |
| 171 |
</div> |
| 172 |
|
| 173 |
</body> |
| 174 |
</html> |
| 175 |
|
| 176 |
|
| 177 |
<!-- Local Variables: --> |
| 178 |
<!-- mode: nxml --> |
| 179 |
<!-- End: --> |