文本未转到下一页,文本被隐藏

文本未转到下一页,文本被隐藏

运行下面的文件时,存在一些问题:

  • “工作经历”部分自动从第 2 页开始,而不是第 1 页。

  • 从第 2 页开始的“工作经历”部分不会跳转到第 3 页,而是写的文字停留在第 2 页并消失。

我怎样才能让工作经历部分从第一页开始,并且如果我写了很多,它会自动延续到第二页,然后是第三页、第四页、第五页等等?

\documentclass[10pt]{article}
\usepackage{array, xcolor, lipsum, bibentry}
\usepackage[margin=3cm]{geometry}
\usepackage{scrbase,scrpage2}
\pagestyle{scrheadings} % pagestyle with page number
\lohead{My Name}



\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}


\begin{document}
\thispagestyle{empty}
\vspace*{-2cm}
\begin{center}\Huge My Name \end{center}
\vspace{1em}
\begin{minipage}[ht]{0.70\textwidth}
Address\\
Address\\
Address\\
Address\\
Address
\end{minipage}
\begin{minipage}[ht]{0.48\textwidth}
contact\\
contact\\
contact\\
contact
\end{minipage}
\vspace{2pt}

\enlargethispage{3\baselineskip}


\section*{Employment History}
\begin{tabular}{L!{\VRule}R}
03/2011--Present&{\bf Insert Text.Insert Text.Insert Text.Insert Text.} Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.\\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
&In addition to my duties listed above, I have also: \\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
07/2005--08/2007&{\bf Job Name} Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.\\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
\end{tabular}



\end{document} 

答案1

使用longtable而不是 unbreakabletabular应该可以解决问题。

\documentclass[10pt]{article}
\usepackage{array, xcolor, lipsum, bibentry}
\usepackage[margin=3cm]{geometry}
\usepackage{scrbase,scrpage2}
\pagestyle{scrheadings} % pagestyle with page number

\usepackage{longtable} % PS
\lohead{My Name}



\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}


\begin{document}
\thispagestyle{empty}
\vspace*{-2cm}
\begin{center}\Huge My Name \end{center}
\vspace{1em}
\begin{minipage}[ht]{0.70\textwidth}
Address\\
Address\\
Address\\
Address\\
Address
\end{minipage}
\begin{minipage}[ht]{0.48\textwidth}
contact\\
contact\\
contact\\
contact
\end{minipage}
\vspace{2pt}

\enlargethispage{3\baselineskip}


\section*{Employment History}
%\begin{tabular}{L!{\VRule}R}
\begin{longtable}{L!{\VRule}R}
03/2011--Present&{\bf Insert Text.Insert Text.Insert Text.Insert Text.} Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.Insert Text.\\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
&In addition to my duties listed above, I have also: \\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
07/2005--08/2007&{\bf Job Name} Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.\\
&\begin{itemize}
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\item Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.Job details.
\end{itemize}\\
%\end{tabular}
\end{longtable}



\end{document} 

在此处输入图片描述

在此处输入图片描述

答案2

这是简历的列表式方法。列表可以跨越页面边界,因此不必担心后续溢出。我添加了showframe选项geometry突出显示页面边界:

在此处输入图片描述

\documentclass{article}
\usepackage{enumitem,fancyhdr,lipsum}% http://ctan.org/pkg/{enumitem,fancyhdr,lipsum}
\usepackage[margin=3cm]{geometry}% http://ctan.org/pkg/geometry
\fancyhead[L]{My Name}% Left header
\fancyhead[R]{\thepage}% Right header
\fancyfoot{}% No footer
\pagestyle{fancy}
\setlength{\parindent}{0pt}% Remove paragraph indent
\setlist[itemize,2]{label=\textbullet}

\begin{document}
\thispagestyle{empty}
\vspace*{-2cm}
\begin{center}\Huge My Name \end{center}

\bigskip

\begin{tabular}[t]{@{}l}
  Address 1 \\ Address 2 \\ Address 3 \\ Address 4 \\ Address 5
\end{tabular}\hfill%
\begin{tabular}[t]{@{}p{0.4\linewidth}}
  Contact 1 \\ Contact 2 \\ Contact 3 \\ Contact 4
\end{tabular}%

\bigskip

\section*{Employment History}

\begin{itemize}[leftmargin=9em]
  \item[03/2011--Present]
    \textbf{Insert Text.Insert Text.Insert Text.Insert Text.}
    \lipsum[1]

    \begin{itemize}
      \item \lipsum[2]

      \item \lipsum[3]

      \item \lipsum[4]

      \item \lipsum[5]
    \end{itemize}

    In addition to my duties listed above, I have also:

    \begin{itemize}
      \item \lipsum[6]

      \item \lipsum[7]
    \end{itemize}

    \item[07/2005--08/2007]
    \textbf{Job Name}
    \lipsum[8]

    \begin{itemize}
      \item \lipsum[9]

      \item \lipsum[10]

      \item \lipsum[11]
    \end{itemize}
\end{itemize}

\end{document}

相关内容