2 случайных разрыва страницы в резюме

2 случайных разрыва страницы в резюме

Я совсем новичок в lateX и никогда не испытывал особых проблем со статьями, НО это резюме меня убивает: после компиляции оно выдает все прекрасно, ЗА ИСКЛЮЧЕНИЕМ двух разрывов страниц, которые не имеют абсолютно никакого смысла:

Первый справа между разделами «школа» и «опыт работы». Это особенно уродливо, так как оставляет 3/4 страницы белыми.

Второй разрыв страницы находится после 6-го рабочего места и устанавливает 7-е рабочее место на следующей странице, в результате чего половина страницы остается пустой.

Что с этим? Что я сделал не так? (Я пытался, но \let\clearpage\relaxбезуспешно).

См. код ниже

\documentclass[a4paper,10pt]{article}

%A Few Useful Packages
\usepackage{marvosym}
\usepackage{fontspec}               
\usepackage{xunicode,xltxtra,url,parskip}   
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage} %**
\usepackage{supertabular}           
\usepackage{titlesec}               

%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}

\defaultfontfeatures{Mapping=tex-text}

\setmainfont[
SmallCapsFont = Fontin-SmallCaps.otf,
BoldFont = Fontin-Bold.otf,
ItalicFont = Fontin-Italic.otf
]
{Fontin.otf}

\usepackage{pdfpages}

\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}

\hyphenation{im-pre-se}

\usepackage[absolute]{textpos}

\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}
\usepackage{natbib}
\usepackage{graphicx}


\usepackage{multirow}
\usepackage{tabularx}


%--------------------BEGIN DOCUMENT----------------------
\begin{document}
\graphicspath{ {pic/} }



\pagestyle{empty} 

\font\fb=''[cmr10]'' 

%--------------------TITLE-------------
\par{\centering
        {\Huge \textsc{name}
    }\bigskip\par}
%--------------------SECTIONS-----------------------------------
%Section: Personal Data
\section{Persönliche Daten}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}%
\begin{tabularx}{\textwidth}{RlR}
    \raggedright\textsc{birthday} & 01.01.1980 &
    \multirow{4}{*}{\hfill}\\
    \raggedright\textsc{Citizenship}   & xy \\
    \raggedright\textsc{Adresse}     &  uyz 15, 1111 city, country\\
    \raggedright\textsc{Telefon}     & +1111111111\\
    \raggedright\textsc{Email} & \href{mailto:[email protected]}{[email protected]}\\
    \raggedright\textsc{Skype} & xyz
\end{tabularx}

\section{Universität und Schulbildung}
\begin{tabular}{rl} 
 \textsc{2001 -} laufend &  \textsc{University of Hogwarts} \footnotesize{Bachelorstudium sourcery}\\
\textsc{2011} & \textsc{Paper:} \footnotesize{"A General Overview of how to burn whiches} \\ 
\textsc{2011} & \textsc{30 hous of quiddich} \footnotesize{in the university team top level}\\


\textsc{2000 - 2004} & \textsc{Highschool}, London\\
            & \hyperlink{thesentence}{A-level}: average 1,0 \footnotesize{Fachbereichsarbeit}\\ 
\textsc{2000 - 2004} & \textsc{school}, Hometown\\

\textsc{2000 - 2004} & \textsc{school}, Hometown
\end{tabular}


\section{working experience}
\begin{tabular}{r|p{11cm}}
 \textsc{10.2015 -} laufend & \textsc{1 Workplace} City, Country \\
                        &\emph{Wizard}\\
                        &\footnotesize{Head magician}
                        \\\multicolumn{2}{c}{} \\

 \textsc{01.2001-01.2001} & \textsc{2 Workplace}, City \\                             
                            &\emph{Wizard}\\
                            &\footnotesize{Head magician} \\
                            \multicolumn{2}{c}{} \\

\textsc{01.2001-01.2001}  & \textsc{3 Workplace}, City\\
                            & \emph{Wizard}\\
                            &\footnotesize{Head magician}\\\multicolumn{2}{c}{} \\


\textsc{01.2001-01.2001}   & \textsc{4 Workplace}, City\\
                        &\emph{Wizard}\\
                        &\footnotesize{doing mostly magic on a professional level}\\
                        \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}    & \textsc{5 Workplace}, City, Country \\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}    & \textsc{6 Workplace}, City, Country\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing magic}\\
                            \multicolumn{2}{c}{} \\
                                                        \end{tabular}

                            \begin{tabular}{r|p{11cm}}

\textsc{01.2001-01.2001}  & \textsc{7 Workplace}, City\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\           

\textsc{01.2001-01.2001}    & \textsc{8 Workplace}, City, Country\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}  & \textsc{9 Workplace}, City, Country\\
                          &\emph{Wizard}\\
                          &\footnotesize{doing mostly magic on a professional level}\\

                        \multicolumn{2}{c}{}\\
\textsc{01.2001-01.2001}    & \textsc{10 Workplace}, City, Country \\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
    \multicolumn{2}{c}{}\\
    \textsc{01.2001-01.2001} & \textsc{11 Workplace}, City\\
                            &\emph{internship as Wizard}\\
                            &\footnotesize{learning basics of magic}
\end{tabular}

%Section: Languages
\section{Languages}
\begin{tabular}{rl}

\raggedright\textsc{Language:}\\&\footnotesize{Native}\\
\raggedright\textsc{Extra:}\\&\footnotesize{extremely good cant stop talking (C2 )}\\
\raggedright\textsc{Esperanto:}\\&\footnotesize{extremely good cant stop talking (C2 )}\\
\raggedright\textsc{Latin:}\\&\footnotesize{extremely good cant stop talking (C2 )}\\
\raggedright\textsc{Greek:}\\&\footnotesize{extremely good cant stop talking (C2 )}
\end{tabular}

\section{extra ordinarities}
\begin{itemize}

  \item I can use a computer:\\  \textsc{turn it on}, turn it off, \textsc{install firefox}, \textsc{protonmail}, \textsc{i can type}, \textsc{read}, \textsc{OpenOffice}, \textsc{write}, {\fb \LaTeX}\setmainfont[SmallCapsFont=Fontin-SmallCaps.otf]{Fontin.otf}
  \item Driverslicence Nimbus 2000


\end{itemize}

\section{Interests}
Wizardry, and Mikado\\


\end{document}

решение1

У вас есть два принудительных разрыва страниц (a \clearpageи a \newpage), и вы принудительно установили размер страницы примерно в половину физической страницы, что в сочетании с тем фактом, что tabularразрыв не происходит, поэтому, если он не помещается, всю таблицу приходится переносить на следующую страницу.

Однако ваш код выдавал ошибки из-за неправильного использования \\и предупреждения. Если я исправлю их и удалю ссылки на шрифты и изображения, которых у меня нет, то я получу

введите описание изображения здесь

   \documentclass[a4paper,10pt]{article}

%A Few Useful Packages
\usepackage{marvosym}
\usepackage{fontspec}               
\usepackage{xunicode,xltxtra,url,parskip}   
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{fullpage} %**
\usepackage{supertabular}           
\usepackage{titlesec}               

%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}

\defaultfontfeatures{Mapping=tex-text}



\usepackage{pdfpages}

\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}

\hyphenation{im-pre-se}

\usepackage[absolute]{textpos}

\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
%\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}
\usepackage{natbib}
\usepackage{graphicx}


\usepackage{multirow}
\usepackage{tabularx}


%--------------------BEGIN DOCUMENT----------------------
\begin{document}
\graphicspath{ {pic/} }



\pagestyle{empty} 

\font\fb=''[cmr10]'' 

%--------------------TITLE-------------
\par{\centering
        {\Huge \textsc{name}
    }\bigskip\par}
%--------------------SECTIONS-----------------------------------
%Section: Personal Data
\section{Persönliche Daten}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}%
\begin{tabularx}{\textwidth}{RlR}
    \raggedright\textsc{birthday} & 01.01.1980 &
    \multirow{4}{*}{\hfill\includegraphics[width=0.13\textwidth]{example-image}}\\
    \raggedright\textsc{Citizenship}   & xy \\
    \raggedright\textsc{Adresse}     &  uyz 15, 1111 city, country\\
    \raggedright\textsc{Telefon}     & +1111111111\\
    \raggedright\textsc{Email} & \href{mailto:[email protected]}{[email protected]}\\
    \raggedright\textsc{Skype} & xyz
\end{tabularx}

\section{Universität und Schulbildung}
\begin{tabular}{rl} 
 \textsc{2001 -} laufend &  \textsc{University of Hogwarts} \footnotesize{Bachelorstudium sourcery}\\
\textsc{2011} & \textsc{Paper:} \footnotesize{"A General Overview of how to burn whiches} \\ 
\textsc{2011} & \textsc{30 hous of quiddich} \footnotesize{in the university team top level}\\


\textsc{2000 - 2004} & \textsc{Highschool}, London\\
            & \hyperlink{thesentence}{A-level}: average 1,0 \footnotesize{Fachbereichsarbeit}\\ 
\textsc{2000 - 2004} & \textsc{school}, Hometown\\

\textsc{2000 - 2004} & \textsc{school}, Hometown
\end{tabular}


\section{working experience}
\begin{tabular}{r|p{11cm}}
 \textsc{10.2015 -} laufend & \textsc{1 Workplace} City, Country \\
                        &\emph{Wizard}\\
                        &\footnotesize{Head magician}
                        \\\multicolumn{2}{c}{} \\

 \textsc{01.2001-01.2001} & \textsc{2 Workplace}, City \\                             
                            &\emph{Wizard}\\
                            &\footnotesize{Head magician} \\
                            \multicolumn{2}{c}{} \\

\textsc{01.2001-01.2001}  & \textsc{3 Workplace}, City\\
                            & \emph{Wizard}\\
                            &\footnotesize{Head magician}\\\multicolumn{2}{c}{} \\


\textsc{01.2001-01.2001}   & \textsc{4 Workplace}, City\\
                        &\emph{Wizard}\\
                        &\footnotesize{doing mostly magic on a professional level}\\
                        \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}    & \textsc{5 Workplace}, City, Country \\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}    & \textsc{6 Workplace}, City, Country\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing magic}\\
                            \multicolumn{2}{c}{} \\
                                                        \end{tabular}

                            \begin{tabular}{r|p{11cm}}

\textsc{01.2001-01.2001}  & \textsc{7 Workplace}, City\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\           

\textsc{01.2001-01.2001}    & \textsc{8 Workplace}, City, Country\\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
                            \multicolumn{2}{c}{}\\

\textsc{01.2001-01.2001}  & \textsc{9 Workplace}, City, Country\\
                          &\emph{Wizard}\\
                          &\footnotesize{doing mostly magic on a professional level}\\

                        \multicolumn{2}{c}{}\\
\textsc{01.2001-01.2001}    & \textsc{10 Workplace}, City, Country \\
                            &\emph{Wizard}\\
                            &\footnotesize{doing mostly magic on a professional level}\\
    \multicolumn{2}{c}{}\\
    \textsc{01.2001-01.2001} & \textsc{11 Workplace}, City\\
                            &\emph{internship as Wizard}\\
                            &\footnotesize{learning basics of magic}
\end{tabular}

%Section: Languages
\section{Languages}
\begin{tabular}{rl}

\textsc{Language:}&\footnotesize{Native}\\
\textsc{Extra:}&\footnotesize{extremely good cant stop talking (C2 )}\\
\textsc{Esperanto:}&\footnotesize{extremely good cant stop talking (C2 )}\\
\textsc{Latin:}&\footnotesize{extremely good cant stop talking (C2 )}\\
\textsc{Greek:}&\footnotesize{extremely good cant stop talking (C2 )}
\end{tabular}

\section{extra ordinarities}
\begin{itemize}

  \item I can use a computer:\\  \textsc{turn it on}, turn it off, \textsc{install firefox}, \textsc{protonmail}, \textsc{i can type}, \textsc{read}, \textsc{OpenOffice}, \textsc{write}, {\fb \LaTeX}
  \item Driverslicence Nimbus 2000


\end{itemize}

\section{Interests}
Wizardry, and Mikado


\end{document}

решение2

Между рабочим местом 6 и рабочим местом 7 вы завершаете табличную, выпускаете \newpageи начинаете другую табличную. Я думаю, это объясняет второй разрыв.

Связанный контент