LyX ⇒ Installing a new font package
-
- Posts: 4
- Joined: Wed Oct 29, 2014 4:08 pm
Installing a new font package
Hi all,
I'm a fairly new Lyx/Latex user, and this is my first time attempting to install a Latex package. I'm trying to install the feyn package for incorporating Feynman diagrams inline. I have the standard Lyx bundle package installed with MikeTex.
I've performed the following steps:
1) downloaded and unzipped the package
2) activated the ".ins" file using the cmd window in windows
3) Placed the "feyn" folder containing the ".sty" file in the tex\latex folder in the MikeTex folder in program files.
4) Placed all ".mf" files contained in the package in a "feyn" folder in the fonts\source folder of the MikeTek folder.
5) Ran MikeTex Settings (admin) and pressed the "Refresh FNDB" button
6) Performed Tools->Reconfigure in Lyx which seemed to finish successfully.
I still can't use the font - what have I done wrong?
I realize this must be stupid but it's my first time and updating a LateX package is surprisingly cumbersome.
Thanks for the help!
I'm a fairly new Lyx/Latex user, and this is my first time attempting to install a Latex package. I'm trying to install the feyn package for incorporating Feynman diagrams inline. I have the standard Lyx bundle package installed with MikeTex.
I've performed the following steps:
1) downloaded and unzipped the package
2) activated the ".ins" file using the cmd window in windows
3) Placed the "feyn" folder containing the ".sty" file in the tex\latex folder in the MikeTex folder in program files.
4) Placed all ".mf" files contained in the package in a "feyn" folder in the fonts\source folder of the MikeTek folder.
5) Ran MikeTex Settings (admin) and pressed the "Refresh FNDB" button
6) Performed Tools->Reconfigure in Lyx which seemed to finish successfully.
I still can't use the font - what have I done wrong?
I realize this must be stupid but it's my first time and updating a LateX package is surprisingly cumbersome.
Thanks for the help!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Installing a new font package
Hi and welcome,
i am by far no font expert, but installing a package manually is a constant cause of problems. With MikTeX came the MikTeX package manager. Installing packages (including fonts) is possible with the click on one button and everything should work.
i am by far no font expert, but installing a package manually is a constant cause of problems. With MikTeX came the MikTeX package manager. Installing packages (including fonts) is possible with the click on one button and everything should work.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 4
- Joined: Wed Oct 29, 2014 4:08 pm
Re: Installing a new font package
Thanks!
I've tried that as well and it doesn't seem to do the job either. What are the steps required there besides adding the package?
I've tried that as well and it doesn't seem to do the job either. What are the steps required there besides adding the package?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Installing a new font package
Clicking on install should do the whole trick. How are you using the font right now? You didn't mention any error messages.
Going to a more basic level: Please copy the following into texworks (installed with MikTeX), save and compile using pdflatex. What do you get?
Hint: You can compare the output by clicking on »Open in Writelatex«.
Going to a more basic level: Please copy the following into texworks (installed with MikTeX), save and compile using pdflatex. What do you get?
Code: Select all
\documentclass{article}
\usepackage{feyn}
\begin{document}
\[\feyn{fA+gV}\]
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 4
- Joined: Wed Oct 29, 2014 4:08 pm
Re: Installing a new font package
Thanks again!
that did in fact work in Texworks. So I guess the problem is with Lyx?
What should be my next step?
Thanks for the help!
that did in fact work in Texworks. So I guess the problem is with Lyx?
What should be my next step?
Thanks for the help!
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Installing a new font package
I am not a LyX user and can't be of much help here. But my first step would be to import the basic document and let it run with LyX.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Installing a new font package
Hi Drew,
welcome to the forum!
You need
Stefan
welcome to the forum!
You need
\usepackage{feyn}
in the document preamble, did you configure that in LyX?Stefan
LaTeX.org admin
-
- Posts: 4
- Joined: Wed Oct 29, 2014 4:08 pm
Installing a new font package
I didn't, it works now. I think this did the trick, thank you!Stefan_K wrote:Hi Drew,
welcome to the forum!
You need\usepackage{feyn}
in the document preamble, did you configure that in LyX?
Stefan