如何将对象放在简历的中上部

问题描述 投票:0回答:1

我使用TexShop和Mac来创建我的简历。我使用的代码是指GitHub如下:enter link description here

我现在的问题是,我想在中间位置添加“目标:____实习”,字体与我的名字大致相同。它应该在我的名字和“电子邮件”部分之间,但与我的名字在同一级别。

我的文本代码如下:

   \documentclass[letterpaper,11pt]{article}

\usepackage{latexsym}
\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage[usenames,dvipsnames]{color}
\usepackage{verbatim}
\usepackage{enumitem}
\usepackage[hidelinks]{hyperref}
\usepackage{fancyhdr}


\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

% Adjust margins
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1in}
\addtolength{\topmargin}{-.5in}
\addtolength{\textheight}{1.0in}

\urlstyle{same}

\raggedbottom
\raggedright
\setlength{\tabcolsep}{0in}

% Sections formatting
\titleformat{\section}{
  \vspace{-4pt}\scshape\raggedright\large
}{}{0em}{}[\color{black}\titlerule \vspace{-5pt}]

%-------------------------
% Custom commands
\newcommand{\resumeItem}[2]{
  \item\small{
    \textbf{#1}{: #2 \vspace{-2pt}}
  }
}

\newcommand{\resumeSubheading}[4]{
  \vspace{-1pt}\item
    \begin{tabular*}{0.97\textwidth}[t]{l@{\extracolsep{\fill}}r}
      \textbf{#1} & #2 \\
      \textit{\small#3} & \textit{\small #4} \\
    \end{tabular*}\vspace{-5pt}
}

\newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}\vspace{-4pt}}

\renewcommand{\labelitemii}{$\circ$}

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=*]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}}

%-------------------------------------------
%%%%%%  CV STARTS HERE  %%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

%----------HEADING-----------------
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
  \textbf{\href{https://github.com/jenli810006995}
   {\Large Jen-Li Chen}} 
    \hfill
      \textbf{Objective: Internship}& Email : \href{mailto:[email protected]}{[email protected]} \\

看起来如下图所示:enter image description here

有什么建议让我把“实习”放到简历的中间位置吗?现在“”不存在,因为我裁剪了它。谢谢大家!!

latex
1个回答
1
投票

如果我理解得很好,你想得到类似的东西:

compilation output

为此,您可以向表中添加第三列,如下所示:

\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}llr}
  {\Large\textbf{\href{https://github.com/jenli810006995}{Jen-Li Chen}}} \textbf{Objective:} & {\Large\textbf{Internship}} & Email : \href{mailto:[email protected]}{[email protected]} \\
  \href{https://www.linkedin.com/in/jenlichen}{https://www.linkedin.com/in/jenlichen} &&\\
  \href{https://github.com/jenli810006995}{https://github.com/jenli810006995} &&\\
\end{tabular*}

或者,如果您希望“实习”位于页面的正中心,如下所示:

pdf output

然后我不知道如何使用表格,但你可以使用以下技巧:在一行的中心写“Intership”,然后在表格上写下表格:

\centering{\Large\textbf{Internship}}\vspace*{-\baselineskip}
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
  \textbf{\href{https://github.com/jenli810006995}{\Large Jen-Li Chen}} \textbf{Objective:}& Email : \href{mailto:[email protected]}{[email protected]} \\
  \href{https://www.linkedin.com/in/jenlichen}{https://www.linkedin.com/in/jenlichen} &\\
  \href{https://github.com/jenli810006995}{https://github.com/jenli810006995} &\\
\end{tabular*}
© www.soinside.com 2019 - 2024. All rights reserved.