如何获取以下简历模板的矢量图像图标或 LaTeX 图标?是否有任何默认的 LaTeX.cls
文件提供这些图标(适用于 Windows 的彩色图标)。我想在以下模板中使用类似的图标。(要运行此代码,您需要我使用 Microsoft Visio 创建的一些图标文件)。
\documentclass[a4paper,10pt]{article}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=red, urlcolor=blue}
\usepackage[a4paper,margin=0.45in]{geometry}
\usepackage{graphicx,scalerel}
\usepackage{enumitem}
\def\seticon#1{%
\scalerel*{\includegraphics{#1}}{X} % SCALES TO SIZE OF CAP {}
%\scaleto{\includegraphics{#1}}{2.00ex} % SPECIFY THE HEIGHT OF THE SCALE
}
\usepackage{array,booktabs,siunitx,xcolor,colortbl}
% Thin Border Line Across Page (Page Setup)
\usepackage{everypage}
\usepackage{xcolor}
\definecolor{myblue}{RGB}{29,57,127}
\def\PageTopMargin{1in}
\def\PageLeftMargin{1in}
\newcommand\atxy[3]{%
\AddEverypageHook{\smash{\hspace*{\dimexpr-\PageLeftMargin-\hoffset+#1\relax}%
\raisebox{\dimexpr\PageTopMargin+\voffset-#2\relax}{\textcolor{myblue!90}{#3}}}}}
\atxy{0in}{0in}{\rule[-\paperheight]{6pt}{\paperheight}}
\usepackage[utf8x]{inputenc}
\usepackage{mdwlist}
\usepackage{amsmath}
\usepackage{enumitem}% Used to control the spacing at enumerate (eg publication)
\usepackage{calc}% http://ctan.org/pkg/calc
\begin{document}
\begin{center}
{\huge \textsc{\textbf{xxxxxxxxx xxxxxxxxxxxxxxx}}}
{Address: xxxxxxxxxxxxxxxxxxx} {\seticon{Linkedin_Logo.pdf} \href{xxxxxxxxxxxxxxxxxxxx} {https://www.linkedin.com/in/xxxxxxxxxxxxxxxx}}\\
{\seticon{EMail_Logo_Visio.pdf} \href{xxxxxxxxxxxxxxxxxxxxxxxxxx}{xxxxxxxxxxxxxxxxxxxx} or, \seticon{EMail_Logo_Visio.pdf} \href{xxxxxxxxxxxx}{xxxxxxxxxxxx}},
{\seticon{Phone_Logo_Visio.pdf} xxxxxxxxxxxxxxxxxxxxxxxx}
\end{center}
\end{document}
答案1
我建议使用一些图标fontawesome
:
\documentclass{article}
\usepackage{graphicx,xcolor,fontawesome}
\definecolor{myblue}{RGB}{29,57,127}
\newcommand{\seticon}[1]{\textcolor{myblue}{\csname #1\endcsname}}
\begin{document}
\begin{center}
\begin{tabular}{c@{~}l@{~}l}
\seticon{faMapMarker} & Address: & xxxxxxxxxxxxxxxxxxx \\
\seticon{faPhone} & Phone: & xxx-xxx-xxxx \\
\seticon{faAt} & Email: & [email protected] \\
\seticon{faChain} & Website: & xxxxx.xxxxx.xxxxx.xxxxxx.xxxx \\
\seticon{faLinkedinSquare} & LinkedIn: & xxxxxxxx \\
\seticon{faComment} & IM: & xxxxxxxxxxxxxxxxx.xxxxx
\end{tabular}
\end{center}
\end{document}