段落中的格式化行

段落中的格式化行

我正在用乳胶写报告。但是我的文档的样式不太好,段落中所有行的长度不一样>如何解决?

编辑:

\documentclass{book}
\begin{document}


\pagestyle{empty} %No headings for the first pages.

\tableofcontents 
\pagestyle{plain}

\flushleft
\clearpage
 \chapter*{Dedication}
 \addcontentsline{toc}{chapter}{Dedication}
%\begin{Dedication}

First,we  thank God for His blessings and to reconcile and repaid during these years that have passed us to get to this stage of science, knowledge and culture.

We thank our parents on a continuous effort and giving and  permanent support to reach  Achievements.
 \clearpage
\end{document}

答案1

很难猜测你想要什么输出,有三种选择:

在此处输入图片描述

\documentclass{article}

\begin{document}


\begin{description}
  \item[In nature,] clustering is a mechanism for solving  diversity and 
complexity things from simple and basic elements.
    In IT field: is a good concept and technique to use existing component 
hardware or software to accomplish specific goal with special  characteristics
 (cost, time, performance at all).
 \item[The history] of the cluster usage begin in largest computers in the
 world , But clusters are also playing important roles in technical and commerce
 computing, taking advantage of low cost, complex market PC-based computer 
technology. These  
    Beowulf-cluster systems have Become too popular, play the best role in
 reducing cost, area needed for the environment, time for 
    execution, on the other side it increased the performance and extended
   the scope for most of the net based application, Flexibility
    Configuration and promotion, and the ability to provide new and powerful
 tool, and open new opportunities for the whole computing applications.
\end{description}

\bigskip



  \textbf{In nature,} clustering is a mechanism for solving  diversity and 
complexity things from simple and basic elements.
    In IT field: is a good concept and technique to use existing component 
hardware or software to accomplish specific goal with special  characteristics
 (cost, time, performance at all).

\textbf{The history} of the cluster usage begin in largest computers in the
 world , But clusters are also playing important roles in technical and commerce
 computing, taking advantage of low cost, complex market PC-based computer 
technology. These  
    Beowulf-cluster systems have Become too popular, play the best role in
 reducing cost, area needed for the environment, time for 
    execution, on the other side it increased the performance and extended
   the scope for most of the net based application, Flexibility
    Configuration and promotion, and the ability to provide new and powerful
 tool, and open new opportunities for the whole computing applications.


\bigskip

  \paragraph{In nature,} clustering is a mechanism for solving  diversity and 
complexity things from simple and basic elements.
    In IT field: is a good concept and technique to use existing component 
hardware or software to accomplish specific goal with special  characteristics
 (cost, time, performance at all).

\paragraph{The history} of the cluster usage begin in largest computers in the
 world , But clusters are also playing important roles in technical and commerce
 computing, taking advantage of low cost, complex market PC-based computer 
technology. These  
    Beowulf-cluster systems have Become too popular, play the best role in
 reducing cost, area needed for the environment, time for 
    execution, on the other side it increased the performance and extended
   the scope for most of the net based application, Flexibility
    Configuration and promotion, and the ability to provide new and powerful
 tool, and open new opportunities for the whole computing applications.



\end{document}

答案2

您添加了\flushleft禁用对齐的选项。因此请将其删除。

\documentclass{book}
\usepackage{ragged2e}
\begin{document}


\pagestyle{empty} %No headings for the first pages.

\tableofcontents
\pagestyle{plain}

%\flushleft   %%<- remove
\clearpage
 \chapter*{Dedication}
 \addcontentsline{toc}{chapter}{Dedication}
%\begin{Dedication}
\Centering
First,we  thank God for His blessings and to reconcile and repaid during these years that have passed us to get to this stage of science, knowledge and culture.

We thank our parents on a continuous effort and giving and  permanent support to reach  Achievements.
 \clearpage
\end{document}

在此处输入图片描述

相关内容