huxuan/resumecls

image support

Opened this issue · 5 comments

There is a temporarily solution as @hiyyg proposed in the following comments [1]. Please help yourself. Thanks @hiyyg.

[1] #7 (comment)

hiyyg commented

@huxuan Any guide on how to add an image?

hiyyg commented

achieved that, seems easy.

Hi @hiyyg resumecls is composed by various of tables, it should be easy to include a multirow column with images [1] in the \maketitle [2]. Would you like to help achieve that? I think the only problem is how to deal with the situations without images.

[1] https://tex.stackexchange.com/questions/331851/align-image-exactly-beside-table
[2] https://github.com/huxuan/resumecls/blob/master/resumecls.dtx#L326

hiyyg commented

I just did a simple hack @huxuan :

\usepackage{graphicx}
\usepackage{multirow}


\renewcommand{\maketitle}{%
\begin{tabularx}{\textwidth}{X p{0.93in}}
\bfseries\zihao{4} \rclsname       & \multirow{3}{*}{\parbox[b]{0em}{\includegraphics[width=1in]{photo.jpg}}} \\
\rclsorganization                  & \\
\href{mailto:\rclsmail}{\rclsmail} & \\
\rclsmobile                        & \\
\end{tabularx}
}

Good to know. Actually, I personally do not like to include an image in the resume, this might be the main reason this feature is hanged here for more than 4 years. I will pin this issue and your solution as as a temporary support. Thanks for your actions anyway.