答案1
概念证明有两个tabular
s。fontspec
因此必须使用xelatex
或进行编译lualatex
。使用的字体是 Fira Sans (https://github.com/mozilla/Fira) 和 TeX Gyre Chorus。
(请注意,此代码不会赢得任何优雅奖项。相反,这是相当粗糙的工作。)
\documentclass[a4paper]{article}
\usepackage{array}
\newcommand{\subhead}[1]{{\large\headfont\MakeUppercase{#1}}\par\medskip}
\usepackage{fontspec}
\setsansfont{Fira Sans Light}
\newfontfamily\fancy{TeX Gyre Chorus}
\newfontfamily\headfont{Fira Sans}
\pagestyle{empty}
\begin{document}
\sffamily
{\fancy\noindent\fontsize{45}{48}\selectfont hey, hi
and Hello!\par}
\vspace{1cm}
\begin{tabular}[t]{
>{\setlength{\parskip}{5pt}\raggedleft\arraybackslash}p{0.3\linewidth}|}
\subhead{PROFILE}
This person is a strange character that I know nothing about.
{\fancy\fontsize{40}{42}\selectfont That person can do this\par\medskip}
Name and address
\end{tabular}\hspace{0.5cm}
\begin{tabular}[t]{|>{\setlength{\parskip}{5pt}\raggedright\arraybackslash}p{0.6\linewidth}}
\subhead{Education}
This\newline
that
\subhead{Employment}
Been there \newline
Done that
\end{tabular}
\end{document}