将现代经典银行业务与学术银行业务相结合

将现代经典银行业务与学术银行业务相结合

因此,我现在已经从 tex exchange 找到了几个不错的答案,并且能够将银行标题与职位列表方面的经典正文信息结合起来。同时还将我的照片移动到银行标题信息旁边。

首先,银行标题和经典主体来自现代简历中的银行风格标题和经典正文 并将图片向右移动如何以银行风格添加图片并使其位置准确

因此我当前的文件是 moderncvstyleoldstyle.sty

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvstyleoldstyle}[2015/07/28 v2.0.0 modern curriculum vitae and letter style scheme: oldstyle hacked by John]

\DeclareOption*{}% 
%\ExecuteOptions{mixedrules,left}
\ProcessOptions*\relax% 


% https://tex.stackexchange.com/questions/261125/banking-style-title-and-classic-body-in-moderncv 
% to use the banking style for my header (personal info) and classic style for the cv (body)


%-------------------------------------------------------------------------------
%                fonts & icons
%-------------------------------------------------------------------------------
% TeX Gyre Pagella font
  \IfFileExists{tgpagella.sty}%
    {%
      \RequirePackage{tgpagella}%
      \renewcommand*{\familydefault}{\rmdefault}}%
    {}

% symbols
\moderncvicons{marvosym} % marvosym awesome


%-------------------------------------------------------------------------------
%                header, body & footer
%-------------------------------------------------------------------------------
\moderncvhead{3} % <====================================================
\moderncvbody{1} % <====================================================


% Here i make the box such that my face is next to the information
% taken from https://tex.stackexchange.com/questions/154383/how-to-include-picture-in-banking-style-with-exactly-position
\patchcmd{\makehead}
  {\hfil}
  {\hspace*{0.15\textwidth}}
  {}
  {}
\patchcmd{\makehead}
  {\setlength{\makeheaddetailswidth}{0.8\textwidth}}
  {\setlength{\makeheaddetailswidth}{0.67\textwidth}}
  {}
  {}
\patchcmd{\makehead}
  {\\[2.5em]}
  {\hfil\raisebox{-.7cm}{\framebox{\includegraphics[width=\@photowidth]{\@photo}}}\\[2.5em]}
  {}
  {}

\endinput

然后我添加我的简历

\listfiles % to check easy the used versions
\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{oldstyle} % <============== hacked version!!!!!!!!!!!!!!!
\moderncvcolor{blue} 

\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
% personal data
\name{John}{Doe}
\title{Resumé title}
\address{street and number}{postcode city}{country}% 
\phone[mobile]{+1~(234)~567~890}                   % 
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]}
\homepage{www.johndoe.com}
\social[linkedin]{john.doe}
\social[twitter]{jdoe}
\social[github]{jdoe}
\extrainfo{additional information}

\setlength{\footskip}{66pt}

\photo[64pt][0.4pt]{picture}

\begin{document}

\makecvtitle

\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % arguments 3 to 6 can be left empty
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}

\section{Master thesis}
\cvitem{title}{\emph{Title}}
\cvitem{supervisors}{Supervisors}
\cvitem{description}{Short thesis abstract}


\end{document}

不过,我还想在个人信息下添加

\social[googlescholar]{info}
\social[orcid]{info}
\social[researchgate]{info}
\social[github]{info}

我之前使用 \usepackage{academicons} 做过

然而,随着我所做的更改,图标不再出现,并且我尝试放置包并在 .sty 文件中手动定义 orcid(作为示例)。

那么,有人可以帮助保留这种格式,包括银行标题(和右侧的图片)和经典的简历风格,同时添加学术社交图像吗?

答案1

您正在寻找的符号由 定义moderncviconsymbols.sty,将在 之前加载moderncviconsmarvosym.sty

您需要更正主页符号。

旧的 twitter(现在的 X)符号也被替换了。

可选:我还删除了符号前不必要的项目符号,并添加了一个符号以表示更多信息。

d

这是主程序:

% !TeX TS-program = pdflatex

\listfiles % to check easy the used versions
\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{oldstyleNew} % <============== hacked new version!!!!!!!!!!!!!!!
\moderncvcolor{blue} 

\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
% personal data
\name{John}{Doe}
\title{Resumé title}
\address{street and number}{postcode city}{country}% 
\phone[mobile]{+1~(234)~567~890}                   % 
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]}
\homepage{www.johndoe.com}
\social[linkedin]{LIjohn.doe}
\social[twitter]{TWjdoe}
\social[github]{GTjdoe}
\social[googlescholar]{GSjdoe} % added <<<<<<<<<<<<<
\social[orcid]{ORjdoe} % added <<<<<<<<<<<<<
\social[researchgate]{RGjdoe} % added <<<<<<<<<<<<<
\extrainfo{additional information}

\setlength{\footskip}{66pt}

\photo[64pt][0.4pt]{picture}

\begin{document}                                
    
    \makecvtitle
    
    \section{Education}
    \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % arguments 3 to 6 can be left empty
    \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
    
    \section{Master thesis}
    \cvitem{title}{\emph{Title}}
    \cvitem{supervisors}{Supervisors}
    \cvitem{description}{Short thesis abstract} 
    
\end{document}

这是oldstyleNew.sty

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvstyleoldstyleNew}[2024/04/01 v2.0.0 modern curriculum vitae and letter style scheme: oldstyle hacked by John]

% https://tex.stackexchange.com/questions/261125/banking-style-title-and-classic-body-in-moderncv 
% to use the banking style for my header (personal info) and classic style for the cv (body)

%-------------------------------------------------------------------------------
%                fonts & icons
%-------------------------------------------------------------------------------
% TeX Gyre Pagella font
\IfFileExists{tgpagella.sty}%
{%
    \RequirePackage{tgpagella}%
    \renewcommand*{\familydefault}{\rmdefault}}%
{}

% symbols
\moderncvicons{symbols} % added <<<<<<<<<<<<<<<<<       

\moderncvicons{marvosym} % marvosym awesome

% for  new twitter symbol double-struck capital X https://tex.stackexchange.com/a/691916/161015
\usepackage{bbm} %<<<<<<<<<<<<<

%-------------------------------------------------------------------------------
%                header, body & footer
%-------------------------------------------------------------------------------

\moderncvhead{3} % <====================================================
\moderncvbody{1} % <====================================================

\renewcommand*{\homepagesymbol}{\small\faGlobeAmericas~} % correct home symbol <<<<
\renewcommand*{\twittersocialsymbol}{\small $\mathbbmss{X}$~}% new twitter symbol <<<<
% Optional  *************************
\@initializecommand{\makeheaddetailssymbol}{\hspace{1em}} %% remove text bullet <<<<<<<<<<<<<<<<
\renewcommand*{\extrainfo}[1]{\def\@extrainfo{\marvosymbol{58}~#1}} % add arrow symbol for extra info   

% Here i make the box such that my face is next to the information
% taken from https://tex.stackexchange.com/questions/154383/how-to-include-picture-in-banking-style-with-exactly-position
\patchcmd{\makehead}
{\hfil}
{\hspace*{0.15\textwidth}}
{}
{}
\patchcmd{\makehead}
{\setlength{\makeheaddetailswidth}{0.8\textwidth}}
{\setlength{\makeheaddetailswidth}{0.67\textwidth}}
{}
{}
\patchcmd{\makehead}
{\\[2.5em]}
{\hfil\raisebox{-.7cm}{\framebox{\includegraphics[width=\@photowidth]{\@photo}}}\\[2.5em]}
{}
{}

\endinput

相关内容