首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >我正在Overleaf.com平台上构建我的简历。我遇到了一个问题,在线的末尾有一个"4“。我无法移除它。

我正在Overleaf.com平台上构建我的简历。我遇到了一个问题,在线的末尾有一个"4“。我无法移除它。
EN

Stack Overflow用户
提问于 2022-07-27 17:38:40
回答 1查看 32关注 0票数 -1

下面提供的是完整的乳胶码。

代码语言:javascript
运行
复制
%-------------------------
% Resume in Latex
% Author : Jake Gutierrez
% Based off of: https://github.com/sb2nov/resume
% License : MIT
%------------------------

\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}
\usepackage[english]{babel}
\usepackage{tabularx}
\usepackage{fontawesome5}
\usepackage{multicol}
\setlength{\multicolsep}{-3.0pt}
\setlength{\columnsep}{-1pt}
\input{glyphtounicode}


%----------FONT OPTIONS----------
% sans-serif
% \usepackage[sfdefault]{FiraSans}
% \usepackage[sfdefault]{roboto}
% \usepackage[sfdefault]{noto-sans}
% \usepackage[default]{sourcesanspro}

% serif
% \usepackage{CormorantGaramond}
% \usepackage{charter}


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

% Adjust margins
\addtolength{\oddsidemargin}{-0.6in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1.19in}
\addtolength{\topmargin}{-.7in}
\addtolength{\textheight}{1.4in}

\urlstyle{same}

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

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

% Ensure that generate pdf is machine readable/ATS parsable
\pdfgentounicode=1

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

\newcommand{\classesList}[4]{
    \item\small{
        {#1 #2 #3 #4 \vspace{-2pt}}
}
}

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

\newcommand{\resumeSubSubheading}[2]{
    \item
    \begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r}
    \textit{\small#1} & \textit{\small #2} \\
    \end{tabular*}\vspace{-7pt}
}

\newcommand{\resumeProjectHeading}[2]{
    \item
    \begin{tabular*}{1.001\textwidth}{l@{\extracolsep{\fill}}r}
    \small#1 & \textbf{\small #4}\\
    \end{tabular*}\vspace{-7pt}
}

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

\renewcommand\labelitemi{$\vcenter{\hbox{\tiny$\bullet$}}$}
\renewcommand\labelitemii{$\vcenter{\hbox{\tiny$\bullet$}}$}

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=0.0in, label={}]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}}

%-------------------------------------------
%%%%%%  RESUME STARTS HERE  %%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

%----------HEADING----------
% \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
%   \textbf{\href{http://sourabhbajaj.com/}{\Large Sourabh Bajaj}} & Email : \href{mailto:sourabh@sourabhbajaj.com}{sourabh@sourabhbajaj.com}\\
%   \href{http://sourabhbajaj.com/}{http://www.sourabhbajaj.com} & Mobile : +1-123-456-7890 \\
% \end{tabular*}

\begin{center}
    {\Huge \scshape Harsh Jain} \\ \vspace{1pt}
    Alwar, Rajasthan \\ \vspace{1pt}
    \small \raisebox{-0.1\height}\faPhone\ +91 8769826027 ~ \href{hrsjain.hp@gmail.com}{\raisebox{-0.2\height}\faEnvelope\  \underline{hrsjain.hp@gmail.com}} ~
    \href{https://linkedin.com/in//}{\raisebox{-0.2\height}\faLinkedin\ \underline{www.linkedin.com/in/hrsjain}}
    \vspace{-8pt}
\end{center}


%-----------EDUCATION-----------
\section{Education}
\resumeSubHeadingListStart
    \resumeSubheading
    {MBM University, Jodhpur (Pursuing)}{August 2019 - June 2023}
    {Bachelor of Technology in Information Technology (CGPA of 8.50 aggregate; 9.44 latest)}{Rajasthan, India}

    \resumeSubheading
    {Chinar Public School}{April 2017 - March 2018}
    {Class XII (83.8\%)}{Rajasthan, India}

    \resumeSubheading
    {Chinar Public School}{April 2015 - March 2016}
    {Class X (10 CGPA) equivalent to 95\% }{Rajasthan, India}
\resumeSubHeadingListEnd



%-----------EXPERIENCE-----------
\section{Experience}
\resumeSubHeadingListStart
    \resumeSubheading
    {CodePlanet Technologies}{June 2022 - present}
    {Java Intern}{Rajasthan, India}
    \resumeItemListStart
        \resumeItem{Creating a backend + frontend internal tool to  do online shopping with ease.}
        \resumeItem{Tool and Technoligies used will be JAVA, spring-MVC, JSP and servlet }
    \resumeItemListEnd
    
\resumeSubHeadingListEnd
\vspace{-16pt}

%-----------PROJECTS-----------
\section{Projects}
    \vspace{-5pt}
    \resumeSubHeadingListStart
    \resumeProjectHeading
        {\textbf{Flight Reservation Application} $|$ \emph{Java Spring Boot, MySQL} $|$ {https://github.com/hrsjain/Flight-ReservationApplication}}
        \resumeItemListStart
            \resumeItem{    An user interactive web application that allows users to book their flights and also to allow Airline Companies to add their flights.}
            \vspace{2pt}
            \resumeItem{    Created the email utility and PDF utility so that the Flight tickets and details can be sent automatically as the flight is booked. Password encoding system while logging in to enhance the security of the system.Exposed API for the Flight Check-in System to access the data.}
        \resumeItemListEnd
        \vspace{-13pt}

    \resumeProjectHeading
        {\textbf{Flight Check-in Application} $|$ \emph{Java Spring Boot, MySQL}  $|$ {https://github.com/hrsjain/FlightCheckinSystem}}
        \\
        \resumeItemListStart
            \resumeItem{  A user interactive web application that facilitates check-in of passengers of the flight.}
            \resumeItem{    Integrated with Flight Reservation Application, the application accesses data from Flight Reservation Application.}
        \resumeItemListEnd
    \resumeSubHeadingListEnd



%
%-----------Achievements-----------
\section{Achievements}
\begin{itemize}[leftmargin=0.15in, label={}]
    \resumeItemListStart
        \resumeItem{ 150+ Programming questions solved with 2 badges on Data Structures and Algorithms on LeetCode. leetcode.com/hrsjain/}
        \resumeItem{Distinction in Science in International Assessment for Indian Schools, by UNSW Global, Australia which is one of the top institutes which assess students across the globe Student ID-8504, Class XII, Year 2018.}
        \resumeItem{Distinction in Maths in International Assessment for Indian Schools, by UNSW Global, Australia which is one of the top institutes which assess students across the globe Student ID-8504, Class XII, Year 2018.}
        \resumeItem{AIMUN Certification for Model United Nations Conference held in Amity, Noida with participants from all across the world demonstrating critical thinking, speaking skills, etc.}
        \resumeItem{ Management Core Team Member at Google Developer Students Club - MBM, through which we help bridge the gap between theory and practice by empowering a peer-to-peer learning environment.}
    \resumeItemListEnd
\end{itemize}
\vspace{-20pt}

%
%-----------SKILLS-----------
\section{Technical Skills}
\begin{itemize}[leftmargin=0.15in, label={}]
    \small{\item{
    \textbf{Languages}{: C, C++, Java} \\
    \textbf{Technologies/Frameworks/Libraries}{: MySQL, Spring, AWS} \\
    \textbf{Core}{: Data Structure and Algorithms, Operating System, Computer Networks, Database Management Systems, etc. }
    }}
\end{itemize}

%-----------Certifications-----------
\section{Certifications}
\begin{itemize}[leftmargin=0.15in, label={}]
    \resumeItemListStart
        \resumeItem{Data Structure and Algorithms-certified by Dmatics Technologies}
        \resumeItem{ C, C++, Java Programming Language- Certified by Dmatics Technologies}
        \resumeItem{AWS CLOUD TECH. ESSENTIALS -AWS through Coursera -BDED2WG6RM9H}
        \resumeItem{Building Modern Java Applications on AWS -AWS through Coursera -LYGNJ45TAZP6}
        \resumeItem{ RS-CIT certificate in Information Technology (by VMOU, Rajasthan)}
        
    \resumeItemListEnd
\end{itemize}
\vspace{-16pt}

%

\vspace{-16pt}

\end{document}

我已经附加了代码片段和输出。由于格式化问题,我无法附加完整的代码。请分享您的建议,以便删除在每个项目描述行末尾的4。

我已经附加了代码片段和输出。由于格式化问题,我无法附加完整的代码。请分享您的建议,以便删除在每个项目描述行末尾的4。

EN

回答 1

Stack Overflow用户

发布于 2022-07-27 18:34:11

在您的文档中,查看输出并对流浪4感到好奇是没有意义的。您的文档不编译!只要编译过程中有错误,只对文档的其余部分进行语法检查,不一定会产生合理的输出。在查看输出之前修复错误!

千万不要忽略错误信息!

两个主要问题:

  • 定义

\新命令{\resumeProjectHeading}2{ \item \begin{tabular*}{1.001\textwidth}{l@{\extracolsep{\fill}}r} \small#1 &\textbf{\小#4}\ \end{tabular*}\vspace{-7pt} }

没有任何意义。您指示它接受2个强制参数,但是在宏中使用第4个参数。这不是一起的。要么增加参数的数量,要么在宏中不使用第4个参数

  • 这个宏的定义不是唯一的问题,也不是你如何使用它的问题。你既不和两个参数一起使用它,就像你说它有多少个参数一样,你也不对4个参数使用它,你如何定义它,你只使用一个参数!

代码语言:javascript
运行
复制
%-------------------------
% Resume in Latex
% Author : Jake Gutierrez
% Based off of: https://github.com/sb2nov/resume
% License : MIT
%------------------------

\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}
\usepackage[english]{babel}
\usepackage{tabularx}
\usepackage{fontawesome5}
\usepackage{multicol}
\setlength{\multicolsep}{-3.0pt}
\setlength{\columnsep}{-1pt}
\input{glyphtounicode}


%----------FONT OPTIONS----------
% sans-serif
% \usepackage[sfdefault]{FiraSans}
% \usepackage[sfdefault]{roboto}
% \usepackage[sfdefault]{noto-sans}
% \usepackage[default]{sourcesanspro}

% serif
% \usepackage{CormorantGaramond}
% \usepackage{charter}


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

% Adjust margins
\addtolength{\oddsidemargin}{-0.6in}
\addtolength{\evensidemargin}{-0.5in}
\addtolength{\textwidth}{1.19in}
\addtolength{\topmargin}{-.7in}
\addtolength{\textheight}{1.4in}

\urlstyle{same}

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

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

% Ensure that generate pdf is machine readable/ATS parsable
\pdfgentounicode=1

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

\newcommand{\classesList}[4]{
    \item\small{
        {#1 #2 #3 #4 \vspace{-2pt}}
}
}

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

\newcommand{\resumeSubSubheading}[2]{
    \item
    \begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r}
    \textit{\small#1} & \textit{\small #2} \\
    \end{tabular*}\vspace{-7pt}
}

\newcommand{\resumeProjectHeading}[2]{
    \item
    \begin{tabular*}{1.001\textwidth}{l@{\extracolsep{\fill}}r}
    \small#1 & \textbf{\small #2}\\
    \end{tabular*}\vspace{-7pt}
}

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

\renewcommand\labelitemi{$\vcenter{\hbox{\tiny$\bullet$}}$}
\renewcommand\labelitemii{$\vcenter{\hbox{\tiny$\bullet$}}$}

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=0.0in, label={}]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}}

%-------------------------------------------
%%%%%%  RESUME STARTS HERE  %%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

\section{Projects}
    \vspace{-5pt}
    \resumeSubHeadingListStart
    \resumeProjectHeading
        {\textbf{Flight Reservation Application} $|$ \emph{Java Spring Boot, MySQL} $|$ {https://github.com/hrsjain/Flight-ReservationApplication}}{}
        \resumeItemListStart
            \resumeItem{    An user interactive web application that allows users to book their flights and also to allow Airline Companies to add their flights.}
            \vspace{2pt}
            \resumeItem{    Created the email utility and PDF utility so that the Flight tickets and details can be sent automatically as the flight is booked. Password encoding system while logging in to enhance the security of the system.Exposed API for the Flight Check-in System to access the data.}
        \resumeItemListEnd
        \vspace{-13pt}

    \resumeProjectHeading
        {\textbf{Flight Check-in Application} $|$ \emph{Java Spring Boot, MySQL}  $|$ {https://github.com/hrsjain/FlightCheckinSystem}}{}
        \\
        \resumeItemListStart
            \resumeItem{  A user interactive web application that facilitates check-in of passengers of the flight.}
            \resumeItem{    Integrated with Flight Reservation Application, the application accesses data from Flight Reservation Application.}
        \resumeItemListEnd
    \resumeSubHeadingListEnd




\end{document}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73142393

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档