Как предотвратить переход новых разделов на следующую страницу или абзацы в LaTeX

Как предотвратить переход новых разделов на следующую страницу или абзацы в LaTeX

Я работаю над своей двухколоночной статьей. Я замечаю, что часто, когда я использую команду \section{}в LATEX, новый раздел появляется в следующем столбце (или даже на следующей странице), даже если первый столбец или страница перед ним не заполнены текстом. Это создает очень большое неудобное пустое пространство внизу первого столбца или страницы, просто чтобы новый раздел мог начаться на новой странице или столбце.

Есть ли способ легко принудительно перезаписать это значение по умолчанию? Я всегда хочу, чтобы новый раздел появлялся сразу после конца предыдущего раздела (с одним пробелом).

\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}

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

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