首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Latex格式化问题。两个段落开头的单词/术语被移位

Latex格式化问题。两个段落开头的单词/术语被移位
EN

Stack Overflow用户
提问于 2019-12-14 21:23:39
回答 1查看 101关注 0票数 0

我有一个格式化的问题。我只想在以相同单词开头的多个段落之间有一个空行。但在一些段落之间,术语(相同的单词和数字)的长度不同。我尝试使用\\来获取空行,还尝试在下面的行中使用\bigbreak\noindent来避免段落缩进。如果没有空行,问题就不会发生。

如何克服这个问题?请检查我的代码和快照:

方法1:\\

代码语言:javascript
复制
Hypothesis 1: The increase of the ratio of tungsten-trioxide in the composite increases the overall density of the composite.\\
Hypothesis 2: The increase of the ratio of tungsten-trioxide in the composite increases the overall strength of the composite.\\
Hypothesis 3: The increase of the ratio of tungsten-trioxide in the composite changes the UV-/IR-radiation absorption spectrum and -coefficient significantly.

方法2:\bigbreak \noindent

代码语言:javascript
复制
Hypothesis 1: The increase of the ratio of tungsten-trioxide in the composite increases the overall density of the composite.\bigbreak
\noindent Hypothesis 2: The increase of the ratio of tungsten-trioxide in the composite increases the overall strength of the composite.\bigbreak
\noindent Hypothesis 3: The increase of the ratio of tungsten-trioxide in the composite changes the UV-/IR-radiation absorption spectrum and -coefficient significantly.

奇怪的是,我得到了两个不同的错误结果。有什么建议吗?我用的是背页。

EN

回答 1

Stack Overflow用户

发布于 2019-12-18 02:49:22

@阿兰

感谢你的解决方案方法,现在看起来好了一点,但下面的文本仍然有一点变化。请检查以下源代码。我删除了几乎所有的内容,比如版权义务。首先使用\mbox,然后像以前一样不使用。

代码语言:javascript
复制
\documentclass[journal]{IEEEtran}


% *** CITATION PACKAGES ***
\usepackage[style=ieee]{biblatex} 
\bibliography{ARP_references.bib}    %your file created using JabRef

% *** MATH PACKAGES ***
%
\usepackage{amsmath}
% A popular package from the American Mathematical Society that provides
% many useful and powerful commands for dealing with mathematics.

% *** PDF, URL AND HYPERLINK PACKAGES ***
%
\usepackage{url}
% url.sty was written by Donald Arseneau. It provides better support for
% handling and breaking URLs. url.sty is already installed on most LaTeX
% systems. The latest version and documentation can be obtained at:
% http://www.ctan.org/pkg/url
% Basically, \url{my_url_here}.

% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}

\usepackage{graphicx}  %needed to include png, eps figures

\usepackage{float}  % used to fix location of images i.e.\begin{figure}[H]

\usepackage{textcomp} % für Grad-Zeichen

\usepackage{textgreek} % greek symbols in text

\usepackage{comment} % whole paragraph comments

\usepackage{enumitem} % for enumeration properties

\raggedbottom % avoids silly space after sections or titles (found on internet)

\begin{document}

% paper title
% Do not put math or special symbols in the title.


% author names and IEEE memberships
% note positions of commas and nonbreaking spaces ( ~ ) LaTeX will not break
% a structure at a ~ so this keeps an author's name from being broken across
% two lines.
% use \thanks{} to gain access to the first footnote area
% a separate \thanks must be used for each paragraph as LaTeX2e's \thanks
% was not built to handle multiple paragraphs

\author{}% <-this % stops a space

% The report headers
\markboth{}%do not delete next lines
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for IEEE Journals}

% make the title area


% As a general rule, do not put math, special symbols or citations
% in the abstract or keywords.
\begin{abstract}

\end{abstract}

\begin{IEEEkeywords}
keywords, temperature, xxxx equation, etc.
\end{IEEEkeywords}

\section{Introduction}
% Here we have the typical use of a "W" for an initial drop letter
% and "RITE" in caps to complete the first word.
% You must have at least 2 lines in the paragraph with the drop letter
% (should never be an issue)

\IEEEPARstart{A}{irlines}  

\section{}


\section{}


\section{Design of Experiments}
Test\\
\mbox{Hypothesis 1:} The increase of the ratio of tungsten-trioxide in the composite increases the overall density of the composite.\\\\
\mbox{Hypothesis 2:} The increase of the ratio of tungsten-trioxide in the composite increases the overall strength of the composite.\\\\
\mbox{Hypothesis 3:} The increase of the ratio of tungsten-trioxide in the composite changes the UV-/IR-radiation absorption spectrum and -coefficient significantly.\\\\

Test\\
Hypothesis 1: The increase of the ratio of tungsten-trioxide in the composite increases the overall density of the composite.\\\\
Hypothesis 2: The increase of the ratio of tungsten-trioxide in the composite increases the overall strength of the composite.\\\\
Hypothesis 3: The increase of the ratio of tungsten-trioxide in the composite changes the UV-/IR-radiation absorption spectrum and -coefficient significantly.\\\
\end{document} 

有很多评论,因为我使用的是我的大学推荐的模板。Thx- Kaydon

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

https://stackoverflow.com/questions/59335513

复制
相关文章

相似问题

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