繁体   English   中英

LaTeX 与背页编辑器 - 我的文字离开页面 - 我如何将它到 go 到下一行,与我的其他文字一致?

[英]LaTeX with overleaf editor - my text goes off the page - how do I get it to go onto the next line, in line with my other text?

我是编码新手 - 我正在使用模板创建带有背页/LaTeX 的简历。 有一些默认设置,但我想创建一些不在默认模板中的元素。 我正在尝试在我的一个工作经历中添加标题,但我的文本离开了页面 - 我如何将它到 go 到下一行并与我的其他文本保持一致?

线离开页面的屏幕截图

%-------------------------
% 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{contour}
\usepackage{ulem}
\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.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}]

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

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

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

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

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


\renewcommand{\ULdepth}{3pt}
\contourlength{0.8pt}

\newcommand{\myuline}[1]{%
  \uline{\phantom{#1}}%
  \llap{\contour{white}{#1}}%
}

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

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

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=0.15in, 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}
    \textbf{\Huge \scshape Sophie Clarke} \\ \vspace{1pt}
    \small 07920 429 244 $|$ \href{sophieclarke@hotmail.co.uk}{{sophieclarke@hotmail.co.uk}} $|$ 
    \href{https://www.linkedin.com/in/sophie-clarke-5b51aaba/}{\underline{LinkedIn}} 
\end{center}

%-----------EXPERIENCE-----------
\section{Experience}
  \resumeSubHeadingListStart

    \resumeSubheading
      {Research Assistant in the Economics of International Trade}{September 2021 -- Present}
      {The UK Trade Policy Observatory}{Brighton, UK/ Remote}
     \linebreak
      \resumeItemListStart
      
        \resumeItem{Assist the UKTPO team of researchers with regard to data and background research and contribute to the production of research outputs for publication.}
        \resumeItem{Structure day-to-day research activities; prioritise and meet deadlines across multiple projects.}
        \resumeItem{Handle confidential information with diligence and circumspection.}
        \linebreak
    
%        \resumeItem{\textbf{\underline{{Client: British Chamber of Commerce}}}}
%             \begin{enumerate}
%                  \item [-] Used MATLAB to support the development of an analytical model to analyse answers to the BCC’s Quarterly Economic Survey using natural language processing, machine learning techniques and sentiment analysis.
%                 \item[-] Produced a final written report explaining methods, techniques, results and findings.
%             \end{enumerate}
    
%        \resumeItem{\underline{Ongoing Research Project: The Consequences of Brexit for the UK}}
%             \begin{enumerate}
%                  \item [-] Textual analysis of EU legal directives and regulations applicable to the single market.
%                  \item [-]Extensive preparation and use of data.
%                  \item[-] Written contribution to briefing paper publication.
%             \end{enumerate}
              

               \begin{itemize}[leftmargin=0in, label={}]
    \small{\item{
     \text{\uline{Client: British Chamber of Commerce}} \\
     \begin{enumerate}
     \item[-]{Used MATLAB to support the development of an analytical model to analyse answers to the BCC’s Quarterly Economic Survey using natural language processing, machine learning techniques and sentiment analysis.}
     \item[-]{Produced a final written report explaining methods, techniques, results and findings.}
     \end{enumerate}
    }}
 \end{itemize}           
             
     
             \begin{itemize}[leftmargin=0in, label={}]
    \small{\item{
     \text{\uline{{Ongoing Research Project: The Impact of the UK Points Based System on European Union Professional Footballer Mobility in England}}} \\
     \begin{enumerate}
         \item[-]{Used MATLAB to support the development of a web scraping tool to gather primary data for the project.}
     \end{enumerate}
    }}
 \end{itemize}

几个问题:

  • 语法\small{....}是错误的。 \small是一个开关,它不带参数,所以它应该是{\small...} 为了避免不正确的baselineskips,我建议把它放在itemize环境之外

  • \text{...}是一个仅限数学的命令。 您不得在数学环境之外使用它。

  • \item没有强制参数。 而不是\item{...}它应该是\item....

  • 不要滥用\\换行符(在表格之外等)。

  • 几个缺失\end{itemize}

  • 缺少\end{document}

%-------------------------
% 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{contour}
\usepackage{ulem}
\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.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}]

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

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

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

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

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


\renewcommand{\ULdepth}{3pt}
\contourlength{0.8pt}

\newcommand{\myuline}[1]{%
  \uline{\phantom{#1}}%
  \llap{\contour{white}{#1}}%
}

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

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

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=0.15in, 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}
    \textbf{\Huge \scshape Sophie Clarke} \\ \vspace{1pt}
    \small 07920 429 244 $|$ \href{sophieclarke@hotmail.co.uk}{{sophieclarke@hotmail.co.uk}} $|$ 
    \href{https://www.linkedin.com/in/sophie-clarke-5b51aaba/}{\underline{LinkedIn}} 
\end{center}

%-----------EXPERIENCE-----------
\section{Experience}
  \resumeSubHeadingListStart

    \resumeSubheading
      {Research Assistant in the Economics of International Trade}{September 2021 -- Present}
      {The UK Trade Policy Observatory}{Brighton, UK/ Remote}
     \linebreak
      \resumeItemListStart
      
        \resumeItem{Assist the UKTPO team of researchers with regard to data and background research and contribute to the production of research outputs for publication.}
        \resumeItem{Structure day-to-day research activities; prioritise and meet deadlines across multiple projects.}
        \resumeItem{Handle confidential information with diligence and circumspection.}
        \linebreak
    
%        \resumeItem{\textbf{\underline{{Client: British Chamber of Commerce}}}}
%             \begin{enumerate}
%                  \item [-] Used MATLAB to support the development of an analytical model to analyse answers to the BCC’s Quarterly Economic Survey using natural language processing, machine learning techniques and sentiment analysis.
%                 \item[-] Produced a final written report explaining methods, techniques, results and findings.
%             \end{enumerate}
    
%        \resumeItem{\underline{Ongoing Research Project: The Consequences of Brexit for the UK}}
%             \begin{enumerate}
%                  \item [-] Textual analysis of EU legal directives and regulations applicable to the single market.
%                  \item [-]Extensive preparation and use of data.
%                  \item[-] Written contribution to briefing paper publication.
%             \end{enumerate}
              
{\small
               \begin{itemize}[leftmargin=0in, label={}]
    \item
     \uline{Client: British Chamber of Commerce} 
     \begin{enumerate}
     \item[-] Used MATLAB to support the development of an analytical model to analyse answers to the BCC’s Quarterly Economic Survey using natural language processing, machine learning techniques and sentiment analysis.
     \item[-] Produced a final written report explaining methods, techniques, results and findings.
     \end{enumerate}
 \end{itemize}  
 }         
             
    {\small 
             \begin{itemize}[leftmargin=0in, label={}]
    \item
     \uline{Ongoing Research Project: The Impact of the UK Points Based System on European Union Professional Footballer Mobility in England} 
     \begin{enumerate}
         \item[-] Used MATLAB to support the development of a web scraping tool to gather primary data for the project.
     \end{enumerate}
 \end{itemize}
 }
 
 \end{itemize}
 \end{itemize}
 
\end{document}

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM