Fonts sort of working

This commit is contained in:
Greg Shuflin 2022-04-15 00:28:51 -07:00
parent 914d97cc38
commit 9028dfd33f

View File

@ -1,13 +1,11 @@
% Greg Shuflin resume
\documentclass[letterpaper, 11pt]{article}
\documentclass[letterpaper,11pt]{article}
% documentation: https://ctan.math.utah.edu/ctan/tex-archive/macros/latex/contrib/preprint/fullpage.pdf
\usepackage[empty]{fullpage}
\usepackage{hyperref}
\usepackage{fontspec}
\usepackage{fontawesome}
%\usepackage{FiraSans}
%\usepackage{avenirnext}{sfdefault}
% Adjust margins to 0.5in on all sides
\addtolength{\oddsidemargin}{-0.5in}
@ -16,17 +14,21 @@
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1.0in}
% Fonts I considered using as mainfont:
% montserrat: from AUR montserrat-ttf package
% lato: from ttf-lato package
% inter: from inter-font package
\setmainfont{FiraSans}
% \setmainfont[
% SmallCapsFont = Inter
% ]{lato}
% I *like* montserrat but its small caps looks like ass!!
%\setmainfont{montserrat}
% This doesn't work (i.e. it ignores small caps)
%\setmainfont[SmallCapsFont=FiraSans]{Inter}
\begin{document}
\begin{center}
\textsc{ \Huge Gregory Shuflin }
{\fontspec{FiraSans}
\textsc{\Huge Gregory Shuflin }
}
\end{center}
\begin{tabular*}{7.5in}{l@{\extracolsep{\fill}}l}
@ -34,7 +36,7 @@
& \faicon{map-marker} Oakland, California\\
\faicon{home} {\tt \href{https://greg.everydayimshuflin.com}{greg.everydayimshuflin.com}}
& \faicon{phone} \hspace{1pt} 510-332-6344 \\
& \faicon{phone} 510-332-6344 \\
\faicon{git-square} {\tt \href{https://gitea.everydayimshuflin.com/greg}{gitea.everydayimshuflin.com} } (personal)
& \faicon{git-square} {\tt \href{https://github.com/gshuflin}{github.com/gshuflin} } (professional) \\