如何删除我名字上方的空间并更好地定位我的电子邮件和 Linkedin 链接?

如何删除我名字上方的空间并更好地定位我的电子邮件和 Linkedin 链接?
\begin{document}

%----------HEADING-----------------
 \hfill\includegraphics[height=3cm, width=2.5cm]{CPREWRITTEN.png}
  
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
  \textbf{{\LARGE Ankit Gupta}} & Email: %\href{mailto:[email protected]}{[email protected]}\\
  \href{mailto:[email protected]}{\textcolor{LightRubineRed}{[email protected]}} & Mobile:~~~+91-861-889-1003 \\
  Linkedin: \href{https://www.linkedin.com/in/ankitg0812/}{\textcolor{blue!90!}{ https://www.linkedin.com/in/ankitg0812/}}

\end{tabular*}

在此处输入图片描述

这就是我想要的样子

答案1

在此处输入图片描述

\documentclass{article}
\usepackage{enumerate, hyperref, multirow}
\usepackage[dvipsnames]{xcolor}

\usepackage[demo]{graphicx}

\begin{document}
    
    %----------HEADING-----------------
%   \hfill\includegraphics[height=3cm, width=2.5cm]{CPREWRITTEN.png}
    
    \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
        \textbf{{\LARGE Ankit Gupta}} 
            &\multirow{4}{*}{\includegraphics[height=3cm, width=2.5cm]{CPREWRITTEN.png}} \\
        Email:   \href{mailto:[email protected]}{\textcolor{RubineRed}{[email protected]}}  
            &  \\
        Mobile:~~~+91-861-889-1003
            &   \\
        Linkedin: \href{https://www.linkedin.com/in/ankitg0812/}{\textcolor{blue!90!}{ https://www.linkedin.com/in/ankitg0812/}}
        
    \end{tabular*}
\end{document}

相关内容