封面页--“The”与“Publisher”分开--如何放置干净的分页符以停止第二页上的左对齐

封面页--“The”与“Publisher”分开--如何放置干净的分页符以停止第二页上的左对齐
\documentclass[10pt,a4paper]{report}                 %inter office note /cover page vertical line template
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage[table]{xcolor}                      %for color of table
\usepackage{booktabs}                        %for toprule midrule bottomrule in tables
\usepackage{multirow}           % Required for multirows
\usepackage{rotating}
\usepackage{lscape}
%\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}                
\usepackage[none]{hyphenat}             %no hyphenation
\usepackage{float}
\usepackage{lastpage}                                     %toget last page number
\usepackage{indentfirst}
\usepackage[bottom]{footmisc}
\usepackage[en-US]{datetime2}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{siunitx}
%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}}             % Generic dummy publisher logo 
\renewcommand*\familydefault{\sfdefault}             %best

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

%%\raggedleft
                                        % Right align the title page
    \rule{1pt}{\textheight}              % Vertical line
    \hspace{0.05\textwidth}              % Whitespace between the vertical line and title page text
    \parbox[b]{0.6\textwidth}
    {                        % Paragraph box for holding the title page text, adjust the width to move                                  the title page left or right on the page        
        {\Huge
            \bfseries 
            Key Result Areas \\
            [0.5\baselineskip] 
            August 2019}\\
            [2\baselineskip] % Title
        \begin{itemize}
        \item {\large
                \textit
                { DGQA Unit Run Canteen\\ 
        \item ISO Certification 9001:2015\\
        \item CQA(AVL) Standing Orders}}
        \\[4\baselineskip] % Subtitle or further description
        \end{itemize}
        {\Large
            \textsc
            {colonel js bibra\\
                joint controller}
            } % Author name, lower case for consistent small caps
        \vspace
            {0.45\textheight} % Whitespace between the title block and the publisher
        {\noindent 
            The Publisher~~\plogo}\\
        [\baselineskip] % Publisher and logo
    }
\newpage
\end{document}

答案1

\vspace没有结束一个段落。

我会使用不同的编码,更简单、更清晰。

例如,您可以设置一个具有预定高度的minipage(或\parbox),这样您就不必在发布者面前猜测间距。最好是minipage,这样它的开始和结束在代码中会更突出。

段落应在大小变化范围结束之前结束。此外,如果您使用\MakeUppercase以确保大写,而不是依赖小写,则可以更好地控制大小。

\documentclass[10pt,a4paper]{report}                 %inter office note /cover page vertical line template
\usepackage{enumitem}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}}          % Generic dummy publisher logo 
\renewcommand*\familydefault{\sfdefault}             % best

\begin{document}

\begin{flushleft}

% Vertical line
\rule{1pt}{\textheight}% <--- don't forget
% Some space after it
\hspace{0.05\textwidth}% <--- don'f forget
% Paragraph box for holding the title page text,
\begin{minipage}[b][\textheight][s]{0.6\textwidth}
  \raggedright

  \vspace*{2\baselineskip}

  {\Huge\bfseries 
   Key Result Areas \\
   August 2019\\}

  \vspace{2\baselineskip}

  {\large
   \begin{itemize}[leftmargin=*]
   \item \textit{DGQA Unit Run Canteen}

   \item ISO Certification 9001:2015

   \item CQA(AVL) Standing Orders
   \end{itemize}}

  \vspace{2\baselineskip}

  \MakeUppercase{Colonel JS Bibra}\\
  \MakeUppercase{Joint Controller}

  \vfill

  The Publisher~~\plogo

  \vspace*{2\baselineskip}

  \end{minipage}

\end{flushleft}

\thispagestyle{empty}
\clearpage

\end{document}

在此处输入图片描述

在规则左侧有一个图像,相对于规则垂直居中:

\documentclass[10pt,a4paper]{report}
\usepackage{enumitem}
\usepackage{graphicx}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}}          % Generic dummy publisher logo 
\renewcommand*\familydefault{\sfdefault}             % best

\begin{document}

\begin{flushleft}

% Logo on the left side
\begin{minipage}[b][\textheight][s]{0.3\textwidth}
\vspace*{\fill}

\fbox{\includegraphics[width=\dimexpr\textwidth-2\fboxsep-2\fboxrule]{example-image}}

\vspace*{\fill}
\end{minipage}%
% Vertical line with some space on either side
\quad
\rule{1pt}{\textheight}% <--- don't forget
\quad
% Paragraph box for holding the title page text,
\begin{minipage}[b][\textheight][s]{0.6\textwidth}
  \raggedright

  \vspace*{2\baselineskip}

  {\Huge\bfseries 
   Key Result Areas \\
   August 2019\\}

  \vspace{2\baselineskip}

  {\large
   \begin{itemize}[leftmargin=*]
   \item \textit{DGQA Unit Run Canteen}

   \item ISO Certification 9001:2015

   \item CQA(AVL) Standing Orders
   \end{itemize}}

  \vspace{2\baselineskip}

  \MakeUppercase{Colonel JS Bibra}\\
  \MakeUppercase{Joint Controller}

  \vfill

  The Publisher~~\plogo

  \vspace*{2\baselineskip}

  \end{minipage}

\end{flushleft}

\thispagestyle{empty}
\clearpage

\end{document}

在此处输入图片描述

相关内容