Skip to content

Latest commit

 

History

History
71 lines (42 loc) · 2.62 KB

README.md

File metadata and controls

71 lines (42 loc) · 2.62 KB

This project enables you to use the original Ubuntu Font Familiy with LaTeX2e.

Available fonts are Ubuntu Regular, Light and Medium (all version 0.71.2). They can be modified using the common \textit and \textbf commands. Please mind, that Light and Medium don't come with an own bold shape. Medium and Ubuntu Bold are used as fallbacks.

Flattr this

##How to install##

You can just drop all these files into your project's folder and start using the fonts.

For global installation and usage you just have to type:

$ sudo make install

This will automatically determine your TeX-distribution's location. In case you want to change that behavior (i.e. installing it just for your account) pass an other PREFIX to the Makefile:

$ make PREFIX=~/texmf install

##How to use##

In case you'd liked to have you entire document be set using this font family add this to your preamble:

\usepackage{ubuntu}

Available package options are: regular, light, medium, standing for the different Ubuntu Fonts, respectively none for later activation.

If you want to change your font set mid-in your document just write:

% Put this into your preamble
\usepackage[none]{ubuntu}

\begin{document}

% ...

{\fontUbuntu This is Ubuntu Regular}

Here, the \LaTeX standard is used again.

Alternatively \fontUbuntuLight or \fontUbuntuMedium are provided.

##What is missing##

Changing the font in the middle of a file does not affect all writings, as section captions or other external defined texts. If this matters to you, consider setting your whole document in Ubuntu font and trigger for example \usefont{cmbx12}{m}{n} where needed.

Currently the use of pdflatex is enforced, old-school dvi stuff will not work.

Of course some testing and a documentation would be nice too.

##Whom should be thanked##

First and foremost the Stylistic Foundations under the supervision of Canonical and Dalton Maag, enabling the community to build on their work.

The fonts were converted as described by Gordon Grubert. Thanks there too.

Thanks to Dominik Moritz (domoritz) for patching the Makefile, so it automatically determines where to install this package.

##How to support##

  • Download it, write some nice stuff
  • Publish your writings, tell your friends
  • Fork it, fix an issue. Send pull request
  • Flattr it