You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using this, it works but the output is very jagged:
Code
%
% Example of how to use a custom TTF font from the nimbus family.
%
% 1. Download your TTF font file. Here we use NimbusSanNovDSemBol from
% http://www.fonts101.com/fonts/view/Uncategorized/51530/NimbusSanNovDSemBol
%
% 2. Rename your TTF font file to custom.ttf.
%
% 3. Follow the directions at: http://math.stanford.edu/~jyzhao/latexfonts.php
%
% 4. Upload custom.tfm, custom.ttf, T1-WGL4.enc, and t1custom.fd to writeLaTeX.
%
\documentclass[12pt]{article}
\usepackage[utf8x]{inputenc}
\newcommand\customfont[1]{{\usefont{T1}{custom}{m}{n} #1 }}
\title{Example: Custom Nimbus TTF Font}
\author{writeLaTeX}
\begin{document}
\maketitle
\Huge
Normal Font Text.
\customfont{
~#srg\%mpdnsu\\
!@sr\$gmpd `qswrWgem
}
\end{document}
As per this link, please te what should be the encoding, family, series and shape for the font?
I am trying to use this template but unable to get the font rendered in PDF.
The text was updated successfully, but these errors were encountered: