我希望在 Latex 中重现此标题,但不知道如何操作。到目前为止,我已写道:
\documentclass{resume}
\usepackage[left=0.4 in,top=0.4in,right=0.4 in,bottom=0.4in]{geometry} % Document margins
\usepackage{color}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[dvipsnames]{xcolor}
\usepackage[utf8]{inputenc}
\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}}
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}
\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
\name{\color{coolblack}{Name \vert \textit{Title}}}
\address{Address • City, Country, Postal Code • \href{mailto:e-mail}{\textit{e-mail}} • 1230456-789}
\begin{document}
虽然不知道如何形成下面的双线。
答案1
像这样吗?(我不得不使用文档article
类,因为我似乎无法访问文档resume
类。)
\documentclass{article} % I don't seem to have access to the 'resume' class
\usepackage[a4paper,margin=1cm]{geometry} % document margins
\usepackage[dvipsnames]{xcolor}
\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
\usepackage[T1]{fontenc} % to use "|" symbol in text mode
\usepackage[english]{babel}
\usepackage{array}
\usepackage[colorlinks,allcolors=black]{hyperref}
\setlength\parindent{0pt}
\begin{document}
\begin{tabular}{@{} >{\centering\arraybackslash}p{\textwidth} @{}}
\large\color{coolblack}
Name \quad|\quad \itshape
Title \\
\small
Address \quad\textbullet\quad
City, Country, Postal Code \quad\textbullet\quad
\href{mailto:[email protected]}{\textit{email}} \quad\textbullet\quad
123-456-789 \\
\hline\hline
\end{tabular}
\end{document}