需要在自定义页面设置中缩小标题和页面顶部之间的空间

需要在自定义页面设置中缩小标题和页面顶部之间的空间

我正在使用如下所示的自定义设置作为我的标题,需要一些帮助来减少页面顶部和“标题”之间的空间,在我的情况下,标题由“章节”环境定义。

    \documentclass[12pt,a4paper]{report}
    \usepackage[margin=0.75in]{geometry}
    \usepackage[latin1]{inputenc}
    \usepackage{amsmath}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{multicol}
    \usepackage{titling}

    \usepackage{xcolor}
    \usepackage[explicit]{titlesec}

    \setlength\columnsep{50pt}
    \setlength{\droptitle}{-5pt}
    \author{The Doctor}
    \title{\textbf{Mirko Vosk EDH}}


    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \titleformat{\chapter}
      {\normalfont\LARGE\bfseries\fontfamily{uncl}\selectfont\filcenter}{}    {0em}{#1}

    \titleformat{\section}
      {\normalfont\LARGE\bfseries\fontfamily{pbk}\selectfont\color{red}\filcenter}{}{0em}{#1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{document}
    \chapter{``Rush of the Wild" R/G \, Aggro}

    \begin{multicols}{2}
    \section*{``Base" Creatures=04}
        \begin{itemize}
            \item 02 Rakdos Cackler (B/R) [2/2]
            \item 02 Kalonian Tusker (GG) [3/3]
        \end{itemize}

    \end{document}

我希望文档只有一页,而不改变页边距,并缩小标题和页面顶部之间的空间。谢谢!

答案1

这是你想要的吗?

\documentclass[12pt,a4paper]{report}
    \usepackage[margin=0.75in, showframe]{geometry}
    \usepackage[utf8]{inputenc}
    \usepackage{amsmath}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{multicol}

    \usepackage{xcolor}
    \usepackage[explicit]{titlesec}
    \usepackage{lipsum}
    \setlength\columnsep{50pt}
    \author{The Doctor}
    \title{\textbf{Mirko Vosk EDH}}


    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     \titleformat{\chapter}
      {\normalfont\LARGE\bfseries\fontfamily{uncl}\selectfont\filcenter}{} {0em}{#1}
    \titlespacing*{\chapter}{0pt}{-2ex}{8ex}

    \titleformat{\section}
      {\normalfont\LARGE\bfseries\fontfamily{pbk}\selectfont\color{red}\filcenter}{}{0em}{#1}
    \titleformat{name=\section, numberless}
      {\normalfont\LARGE\bfseries\fontfamily{pbk}\selectfont\color{red}\filcenter}{}{0em}{#1}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{document}
    \chapter{``Rush of the Wild" R/G \, Aggro}

    \begin{multicols}{2}
    \section*{``Base" Creatures=04}
    \lipsum[1]
        \begin{itemize}
            \item 02 Rakdos Cackler (B/R) [2/2]
            \item 02 Kalonian Tusker (GG) [3/3]
        \end{itemize}
    \lipsum[2-4]
    \end{multicols}

    \end{document} 

在此处输入图片描述

相关内容