我也想在简历中添加徽标,对此我有两个问题,
我需要多大的尺寸来为我的简历创建徽标?我尝试查看 Font Awesome 是否为我的简历中的公司列表提供了任何软件包,但没有。我首先该如何创建徽标?
这是我的tex文件,请问如何添加与我的工作经历对应的公司logo?[Resume.tex][2]
理想情况下,我想用徽标替换项目符号并删除公司名称,或者是否有更容易放置徽标的地方?
更新 1:
这是我能做到的最好的事情,但仍然无法用图像替换项目符号。
\documentclass[letterpaper,11pt]{article}
%-----------------------------------------------------------
\usepackage[empty]{fullpage}
\usepackage{color}
\usepackage{fontawesome}
\usepackage{adjustbox}
\usepackage{graphicx}
%-----------------------------------------------------------
\definecolor{mygrey}{gray}{0.80}
\definecolor{myblue}{RGB}{6,108,170}
\usepackage[normalem]{ulem}
\usepackage{hyperref}
\hypersetup{colorlinks,urlcolor=myblue}
\raggedbottom
\raggedright
\setlength{\tabcolsep}{0in}
% Adjust margins to 0.5in on all sides
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1.0in}
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1.0in}
%-----------------------------------------------------------
%Custom commands
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
\newcommand{\resheading}[1]{{\large \colorbox{mygrey}{\begin{minipage}{\textwidth}{\textbf{#1 \vphantom{p\^{E}}}}\end{minipage}}}}
\newcommand{\ressubheading}[4]{
\begin{tabular*}{7.0in}{l@{\extracolsep{\fill}}r}
\textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\end{tabular*}\vspace{-6pt}}
\newcommand{\envitem}[1]{\item #1}
\newcommand{\resenvsubheading}[6]{
\begin{tabular*}{7.0in}{l@{\extracolsep{\fill}}r}
#6 \textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\textbf{#5}
\end{tabular*}\vspace{-6pt}}
\makeatletter
\DeclareUrlCommand\ULurl@@{%
\def\UrlFont{\ttfamily\color{blue}}%
\def\UrlLeft{\bgroup}%
\def\UrlRight{\egroup}}
\def\ULurl@#1{\hyper@linkurl{\ULurl@@{#1}}{#1}}
\DeclareRobustCommand*\ULurl{\hyper@normalise\ULurl@}
\makeatother
\begin{document}
\resheading{Work Experience}
\resenvsubheading{ \ULurl{http://www.oracle.com}}{Redwood City, CA}{Senior Software Engineer}{May 2015 - Present}
{Environment: Openstack, Docker, Swift, Nimbula, Jenkins, Python, REST}{\adjustbox{valign=c}{\includegraphics[scale=0.2]{logo.png}}}
\begin{itemize}
\resitem{Designed and coded the Oracle Cloud Machine(OCM) openstack nova driver, VNC console proxy via SSH tunnel in Python using Parakmiko.}
\resitem{Built the CLI, installer and deployment tools using click, jinja2, fabric Python modules for deploying OCM Openstack and Openstack Swift Storage for the production environment.}
\resitem{Built Openstack Swift Storage installer as a Linux RPM.}
\resitem{Rapid Prototyping of Openstack using devstack and Swift using Vagrant on Oracle Linux 7.}
\resitem{Designed the architecture of the microservices for Swift Object Storage.}
\resitem{Built the container orchestration for Swift Object Storage using Docker containers on Oracle Linux 7 for OCM in Python.}
\resitem{Built a HA solution for Swift Object Storage using HAProxy with SSL termination.}
\resitem{Built Jenkins jobs in bash for CI/CD of Exalogic Openstack and Openstack Swift Storage.}
\end{itemize}
\end{document}
答案1
我不太清楚你的意思。不过可能是这样的:
% attempting to minimally change how your original input was used...
\newlength\resimgwd
\newlength\tabimgwd
\renewcommand{\resenvsubheading}[6]{%
\par
\adjustimage{valign=m, max totalheight=3\baselineskip, gstore width=\resimgwd}{#6}%
\setlength{\tabimgwd}{\dimexpr\textwidth - 1.25\resimgwd\relax}%
\hfill
\begin{tabular*}{\tabimgwd}{@{}l@{\extracolsep{\fill}}r@{}}
\textbf{#1} & #2\\
\textit{#3} & \textit{#4}\\
\multicolumn{2}{l}{\textbf{#5}} \\
\end{tabular*}
\vspace{-6pt}}
我还建议您重新定义\resheading
以避免过满的行:
\renewcommand{\resheading}[1]{%
\adjustbox{left, margin=1ex, width={\textwidth}, bgcolor=mygrey}{\bfseries #1}}
完整文件:
\documentclass[letterpaper,11pt]{article}
\usepackage[showframe]{geometry}
%-----------------------------------------------------------
%\usepackage[empty]{fullpage}
\usepackage{color}
\usepackage{fontawesome}
\usepackage{adjustbox}
\usepackage{graphicx}
%-----------------------------------------------------------
\definecolor{mygrey}{gray}{0.80}
\definecolor{myblue}{RGB}{6,108,170}
\usepackage[normalem]{ulem}
\usepackage{hyperref}
\hypersetup{colorlinks,urlcolor=myblue}
\raggedbottom
\raggedright
\setlength{\tabcolsep}{0in}
% NOTE: Don't do it this way: use a dedicated package, like geometry.sty
% Adjust margins to 0.5in on all sides
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1.0in}
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1.0in}
%-----------------------------------------------------------
%Custom commands
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
% This command will produce overfull lines
\newcommand{\resheading}[1]{{%
\par\large
\fboxsep 0pt%
\colorbox{mygrey}{%
\begin{minipage}{\textwidth}%
\textbf{#1}
\end{minipage}
}%
}}
\renewcommand{\resheading}[1]{%
\adjustbox{left, margin=1ex, width={\textwidth}, bgcolor=mygrey}{\bfseries #1}}
\newcommand{\ressubheading}[4]{
\begin{tabular*}{7.0in}{l@{\extracolsep{\fill}}r}
\textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\end{tabular*}\vspace{-6pt}}
\newcommand{\envitem}[1]{\item #1}
\newcommand{\resenvsubheading}[6]{
\begin{tabular*}{7.0in}{l@{\extracolsep{\fill}}r}
#6 \textbf{#1} & #2 \\
\textit{#3} & \textit{#4} \\
\textbf{#5}
\end{tabular*}\vspace{-6pt}}
\newlength\resimgwd
\newlength\tabimgwd
\renewcommand{\resenvsubheading}[6]{%
\par
\adjustimage{valign=m, max totalheight=3\baselineskip, gstore width=\resimgwd}{#6}%
\setlength{\tabimgwd}{\dimexpr\textwidth - 1.25\resimgwd\relax}%
\hfill
\begin{tabular*}{\tabimgwd}{@{}l@{\extracolsep{\fill}}r@{}}
\textbf{#1} & #2\\
\textit{#3} & \textit{#4}\\
\multicolumn{2}{l}{\textbf{#5}} \\
\end{tabular*}
\vspace{-6pt}}
\makeatletter
\DeclareUrlCommand\ULurl@@{%
\def\UrlFont{\ttfamily\color{blue}}%
\def\UrlLeft{\bgroup}%
\def\UrlRight{\egroup}}
\def\ULurl@#1{\hyper@linkurl{\ULurl@@{#1}}{#1}}
\DeclareRobustCommand*\ULurl{\hyper@normalise\ULurl@}
\makeatother
\begin{document}
\resheading{Work Experience}%
\resenvsubheading
{\ULurl{http://www.oracle.com}}%
{Redwood City, CA}%
{Senior Software Engineer}%
{May 2015 - Present}%
{Environment: Openstack, Docker, Swift, Nimbula, Jenkins, Python,
REST}%
%{\adjustbox{valign=c}{\includegraphics[scale=0.2]{000.png}}}
{000.png}
\begin{itemize}
\resitem{Designed and coded the Oracle Cloud Machine(OCM)
openstack nova driver, VNC console proxy via SSH tunnel in
Python using Parakmiko.}
\resitem{Built the CLI, installer and deployment tools using
click, jinja2, fabric Python modules for deploying OCM
Openstack and Openstack Swift Storage for the production
environment.}
\resitem{Built Openstack Swift Storage installer as a Linux
RPM.}
\resitem{Rapid Prototyping of Openstack using devstack and Swift
using Vagrant on Oracle Linux 7.}
\resitem{Designed the architecture of the microservices for
Swift Object Storage.}
\resitem{Built the container orchestration for Swift Object
Storage using Docker containers on Oracle Linux 7 for OCM in
Python.}
\resitem{Built a HA solution for Swift Object Storage using
HAProxy with SSL termination.}
\resitem{Built Jenkins jobs in bash for CI/CD of Exalogic
Openstack and Openstack Swift Storage.}
\end{itemize}
\end{document}