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 % 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[empty]{fullpage}
\usepackage{hyperref} \usepackage{hyperref}
\usepackage{fontspec} \usepackage{fontspec}
\usepackage{fontawesome} \usepackage{fontawesome}
%\usepackage{FiraSans}
%\usepackage{avenirnext}{sfdefault}
% Adjust margins to 0.5in on all sides % Adjust margins to 0.5in on all sides
\addtolength{\oddsidemargin}{-0.5in} \addtolength{\oddsidemargin}{-0.5in}
@ -16,17 +14,21 @@
\addtolength{\topmargin}{-0.5in} \addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1.0in} \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{FiraSans}
% \setmainfont[
% SmallCapsFont = Inter % This doesn't work (i.e. it ignores small caps)
% ]{lato} %\setmainfont[SmallCapsFont=FiraSans]{Inter}
% I *like* montserrat but its small caps looks like ass!!
%\setmainfont{montserrat}
\begin{document} \begin{document}
\begin{center} \begin{center}
{\fontspec{FiraSans}
\textsc{\Huge Gregory Shuflin } \textsc{\Huge Gregory Shuflin }
}
\end{center} \end{center}
\begin{tabular*}{7.5in}{l@{\extracolsep{\fill}}l} \begin{tabular*}{7.5in}{l@{\extracolsep{\fill}}l}
@ -34,7 +36,7 @@
& \faicon{map-marker} Oakland, California\\ & \faicon{map-marker} Oakland, California\\
\faicon{home} {\tt \href{https://greg.everydayimshuflin.com}{greg.everydayimshuflin.com}} \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://gitea.everydayimshuflin.com/greg}{gitea.everydayimshuflin.com} } (personal)
& \faicon{git-square} {\tt \href{https://github.com/gshuflin}{github.com/gshuflin} } (professional) \\ & \faicon{git-square} {\tt \href{https://github.com/gshuflin}{github.com/gshuflin} } (professional) \\