减少段落样式中的单词间距

减少段落样式中的单词间距

我对 Latex 还不熟悉,正在慢慢地写/制作我的书(电气测量、一些信号处理,这些东西),但有时我会陷入可能微不足道的问题中。我第一次写作是用 Lyx(请理解我,我已经使用 Word 25 年了!),然后是 ERT 和序言进行微调。

\paragraph是我最后一节的标题,是跑进类型;我想保持单词紧凑并避免单词间距保持在最小值。

我已经看到了,\tolerance\wordsep两个与此相关的低级参数。

问题:是否可以重新定义\paragraph减少 \wordsep 并使单词更加紧凑?

这里有一小段摘录,其中“与已知电容的谐振(频域,窄带)”太长了。

\documentclass[10pt,english]{book}
\usepackage{charter}
\setcounter{secnumdepth}{3}
\setlength{\parskip}{1.5mm}
\setlength{\parindent}{0pt}

\begin{document}
\chapter{\label{chap:Ch1_Circuits}Circuits and Basic Relationships}

\subsubsection{Experimental determination}

\paragraph{Use of a RCL bridge}
This is the simplest and most straightforward method, provided that the RCL bridge with
adequate performance is available: bla bla bla bla bla bla bla bla bla bla bla bla 

\paragraph{Resonance with a known capacitance (frequency domain, narrow-band)}
This method works well for many inductors that have non-standard package
(e.g. home made inductors),  including circuits and cables, and when the frequency
range is extended, but not too much. bla bla bla bla bla bla bla bla

\end{document}

...复活节快乐

答案1

你说的“bad interwrod spatial”是指“brigge”和“This”之间的空间吗?在这种情况下,你可以重新定义\paragraph来改变这个固定的空间:

平均能量损失

\documentclass[10pt ]{book}
\setcounter{secnumdepth}{3}
\setlength{\parskip}{1.5mm}
\setlength{\parindent}{0pt}

\begin{document}


\paragraph{Use of a RCL bridge}
This is the simplest and most straightforward method, provided that ...

\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}%
  {\z@}{3.25ex \@plus 1ex \@minus .2ex}{-6em}%
  {\normalfont\normalsize\bfseries}%
}
\makeatother

\paragraph{Use of a RCL bridge}
This is the simplest and most straightforward method, provided that ...

\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}%
  {\z@}{3.25ex \@plus 1ex \@minus .2ex}{-.3em}%
  {\normalfont\normalsize\bfseries}%
}
\makeatother

\paragraph{Use of a RCL bridge}
This is the simplest and most straightforward method, provided that ...


\end{document}

相关内容