首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >删除Latex中各段落之间的空格。

删除Latex中各段落之间的空格。
EN

Stack Overflow用户
提问于 2022-01-26 23:43:28
回答 1查看 1.5K关注 0票数 -1

我在Latex中使用的模板如下:

代码语言:javascript
复制
\documentclass[a4paper,12pt,twoside]{report}
\usepackage[left=3cm,right=3cm,top=3cm,bottom=3cm]{geometry} %Margins
\usepackage{times}
\usepackage{pdfpages}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage{tocloft}
\usepackage{amsmath}
\usepackage{chngcntr }
\usepackage[toc,page]{appendix}
\usepackage[T1]{fontenc}
\usepackage[nottoc]{tocbibind}
\usepackage[compact]{titlesec}
\titlespacing{\section}{0pt}{1ex}{0ex}
\titlespacing{\subsection}{0pt}{1ex}{0ex}
\titlespacing{\subsubsection}{0pt}{1ex}{0ex}

\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}

\include{thesis.preamble}

\begin{document}

\newgeometry{left=2cm,right=2cm} %Only for the title new margins

%Title parameters
\title{Title}
\author{Student's name}
\submitdate{July 2017}
\supervisor{supervisor's name}
\cosupervisor{co-supervisor's name}

\maketitle

\maketitle
\restoregeometry

\preface
\cleardoublepage 
\input{dedication/dedication}
\input{acknowledgements/acknowledgements}
\input{abstract/abstract}

\body

%Introduction of the project
\input{introduction/introduction}
\input{methods/methods}
\input{results/results}
\input{discussion/discussion}

\listoffigures
\newpage
\listoftables

% appendices come here
\bibliographystyle{naturemag}
\bibliography{bibliography}

\input{appendix/appendix}

\end{document}

我还遵循了Latex中的代码

代码语言:javascript
复制
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{latexsym}
\input{Styles/mathchars.sty}
%\usepackage{setspace}
\usepackage{blindtext}
\usepackage{float}

\input{Styles/blocked.sty}
\input{Styles/uhead.sty}
\input{Styles/boxit.sty}
\input{Styles/icthesis.sty}

\newcommand{\titlelinespacing}{\renewcommand{\baselinestretch}{2.0} \normalsize}
\newcommand{\normallinespacing}{\renewcommand{\baselinestretch}{1.5} \normalsize}
\newcommand{\mediumlinespacing}{\renewcommand{\baselinestretch}{1.2} \normalsize}
\newcommand{\narrowlinespacing}{\renewcommand{\baselinestretch}{1.0} \normalsize}

\newtheorem{definition}{Definition}[chapter]
\newtheorem{theorem}{Theorem}[chapter]
\cftsetindents{section}{0in}{0.5in}
\cftsetindents{subsection}{0in}{0.5in}
\cftsetindents{subsubsection}{0in}{0.5in}

当我创建一个新段落时,会在每个段落之间生成一个空格,如下所示:

对于上面的图像,我有以下代码:

代码语言:javascript
复制
\normallinespacing

\chapter{Introduction}

The aim of this thesis work is to understand how High-Pressure Supersonic Turbines react to the unsteady and unstationary flow conditions when they operate with Rotating Detonation Engines. 

In recent years this problem has been investigated by several authors. Sun and et al[1] has investigated the effects of the diverging nozzle downstream of Rotating Detonation Engines. They have found out that the integrating diverging nozzle to Rotating Detonation Engines reduces the total pressure and temperature load downstream of Rotating Detonation Engines. Liu and Panigua[2] has also tried to intregrate this type of combustor with turbines by changing endwall shape of the first stage of the turbines. A modified endwall design has prevented the unstarting of the stator passage and enabled significant gain in performance. Paniagua and et al[3] has investigated also bladeless turbine configuration for the supersonic inlet flow. This has been done through a wavy hub surface which enables shocks and expansion fans and generates torque. Sousa[4] has also studied the designing of Supersonic Turbine according to the flow conditions downstream of Rotating Detonation Engine.

This master thesis work has the motivation to design a suitable supersonic turbine  to be integrated with pressure gain combustors.
\section{Motivation}

\section{Objectives}
\section{Structure of the Report}


\newpage

我想删除每个段落之间的空格。你知道如何删除段落之间的空格吗?

提前感谢!

EN

回答 1

Stack Overflow用户

发布于 2022-01-28 15:17:21

添加命令

代码语言:javascript
复制
\setlength{\parskip}{0pt} % additional skip between paragraphs

在序言中,问题应该得到解决。

顺便说一句,你可以在

.

上得到更快的答案。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70871627

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档