From 9028dfd33f60a0db8ed6af67a991f0fe097df753 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Fri, 15 Apr 2022 00:28:51 -0700 Subject: [PATCH] Fonts sort of working --- resume.tex | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/resume.tex b/resume.tex index e1dd90c..eff8831 100644 --- a/resume.tex +++ b/resume.tex @@ -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) \\