pgf-users - A friendly and relatively active mailing list.pgf - Code, releases, support and bug reports.To use it in your LaTeX document, merely insert \usepackage in the preamble. Now, we must make LaTeX recognize the new package: texhash ~/texmf Now, using either the terminal, or the file manager, copy foo.sty into the directory labeled foo. The -p attribute to mkdir tells it to create all the necessary directories, since they don't exist. It is a good idea to name directories after the packages they contain. Notice that the final directory created is labeled foo. We'll first create the necessary directory structure: cd ~ The disadvantages are that if multiple users want to use the same packages, the tree will have to be copied to each user's home folder. The advantages of this solution are that if we migrate our files to a new computer, we will remember to take our texmf tree with us, resulting in keeping the same packages we had. For the purposes of this example, we will copy this into our personal texmf tree. We now have to copy this file into the correct location. We now run LaTeX on the file: latex foo.ins Once has finished downloading, we unzip it somewhere in our home directory: tar xvf In this example, we'll install example package foo, contained in. If they do, download the archive containing the files. If a package you desire is not in Ubuntu's repositories, you may look on CTAN's web site or TeX Catalogue Online to see if they have the package. Have you tried manually as it says in the official Ubuntu documentation? Note, however, that the full TeXLive package set is a large download and will take some time to install. If you install the texlive-full package, that'll cover all the bases: $ sudo apt-get install texlive-full I'd recommend installing the full set of TeXLive package under Ubuntu so that you don't have to dig through the repository and install new files each time you want to add a new \usepackage line to your. The 2007 edition will work most of the time, but the 2009 edition contains the latest version of the packages with their bug fixes. The 2009 edition of TeXLive was just released recently (see the TeXLive website for downloads). The TeXLive installation in Ubuntu is currently the 2007 edition. If you install the texlive-latex-extra package using Synaptic or apt-get, your document should compile: $ sudo apt-get install texlive-latex-extraĪ couple other things that may help you in the future: The fancybox LaTeX package is included in the texlive-latex-extra package for Ubuntu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |