Skip to content

Posts from the ‘LaTeX’ Category

9
Jan

Installing Fonts in Ubuntu

Copy your fonts into the .fonts directory in the home directory and then update the font cache with this command:

sudo fc-cache -fv

To use it with LaTeX fontspec package (it can use open-type fonts directly in your document), you will need is to take note of the exact name of the font family. For that, after having installed the lcdf-typetools Ubuntu package, you can do something like

otfinfo -i /usr/share/fonts/AGaramondPro-Regular.otf | grep Family

13
May

Enabling Spell Checking In Kile Using Aspell

Kile is a top-notch KDE frontend LaTeX editor. Enabling spell checking for it requires a small trick if you’re running Ubuntu, which is Gnome based. Several options, including spell checking, for KDE applications are configured within the KDE control center. To get the job done, proceed as follows:

1. First, you need to install the KDE control center
sudo apt-get install kcontrol

2. Then, open KDE control center by running the kcontrol command, navigate to KDE Components -> Spell Checker and set the spell checking Client to ASpell

3. Spell checking will now be enabled next time you start Kile!