LaTeX で新しいセクションが次のページまたは段落に移動しないようにする方法

LaTeX で新しいセクションが次のページまたは段落に移動しないようにする方法

私は 2 列の記事を作成中です。LATEX\section{}で コマンドを使用すると、最初の列または前のページにテキストがいっぱいでなくても、新しいセクションが次の列 (または次のページ) に表示されることがよくあります。これにより、新しいセクションを新しいページまたは列で開始できるように、最初の列またはページの下部に非常に大きな不格好な空きスペースが作成されます。

そのデフォルトを簡単に強制的に上書きする方法はありますか? 常に、前のセクションの終了直後に新しいセクションが出現するようにします (1 行分のスペースのみ)。

\documentclass[journal]{vgtc} % final (journal style)
%\let\ifpdf\relax
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage{graphicx,xcolor}
\usepackage{sidecap}
\usepackage{times}
\usepackage{dblfloatfix}
\usepackage{fixltx2e}
\usepackage{mwe}
\usepackage{natbib}
\usepackage{fullpage}
\usepackage{color}
%\usepackage[dvipsnames,svgnames]
\usepackage[bookmarks,backref=true,linkcolor=black]{hyperref} %,colorlinks
\usepackage{listings} %% addedR
\hypersetup{
  pdfauthor = {},
  pdftitle = {},
  pdfsubject = {},
  pdfkeywords = {},
  colorlinks=true,
  linkcolor= black,
  citecolor= black,
  pageanchor=true,
  urlcolor = black,
  plainpages = false,
  linktocpage
}
\usepackage{wrapfig,float}
\usepackage{caption} %%% added
\captionsetup[figure]{slc=off}  %%% added
\usepackage{subcaption}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{url}
\usepackage{ulem}
\usepackage[section]{placeins}
\usepackage[export]{adjustbox}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{fancyhdr} 
\fancyhf{}
\cfoot{\thepage}
\pagestyle{fancy}

\newcommand{\hh}[1]{{\color{orange} #1}}
\graphicspath{{figure/}}
\renewcommand{\floatpagefraction}{.99}
\newcommand{\done}[2][inline]{\todo[color=SpringGreen, #1]{#2}}
\newcommand{\newdo}[1]{\todo[inline, color=Plum]{#1}}
\newcommand{\comment}[2][inline]{\todo[color=SkyBlue, #1]{#2}}
\newcommand{\newtext}[1]{\todo[inline, color=White]{ \color{OliveGreen}{#1}}}

\renewcommand{\headrulewidth}{0pt}


\begin{document}

\firstsection{First section}


This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. 

This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. 

This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. This is the first section. 

\section{Second section}
This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. 

This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. 

This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. 

This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. This is the second section. 

\end{document}

ここに画像の説明を入力してください

関連情報