Feyn is a Feynman diagram package for latex.
(Feynman diagrams:  http://en.wikipedia.org/wiki/Feynman_diagram,   Feyn:
http://nxg.me.uk/dist/feyn/. Here is some examples:
http://ctan.org/tex-archive/fonts/feyn/feyn.pdf)

Basically,  it's a font and several macros, that allow the user to type some
regular text in math-mode that compiles as a diagram.

In order to allow my to type more easily diagrams into lyx, I want to
conduct the following:


   - Add "\feyn" inset.
      - for 1st stage, it will act, in LyX, the same as \rm or \text inset:
      It will allow the user to type just regular text, with  "\" and
spaces etc..
      as the name of the inset will be "feyn" and not "text", it will
compile as a
      Feynman diagram.
      -   In the next stage, I'll try to replace the font presented in LyX
      in that inset. So, typing "g" will render as curly line and not
as "g", for
      example
   - Add "\Diagram" inset, in the same stages
      - This inset is used in order to bundle a diagram in an array. I will
      need to use the base of "array" or "matrix" inset, with, aside
of the name,
      only one change: I will want the inner entries to act as "text"
inset (as it
      will allow to type spaces, etc..)


I'll start adding the support in my local copy of lyx, and afterwards, if it
will be good enough, I'll be glad to contribute it to lyx.


Some questions, for the beginning:

   - Aside creating cpp \ h files define an inset, do I need to register it
   someware?
   - Where do the "text" inset defined? I found the \mahtbf, but I could not
   find the "text"..


Thanks,
Ronen.

Reply via email to