2

I'm quite new to Latex and slowly writing/making my book (electrical measurements, some signal processing, that stuff), but sometimes I get trapped in probably trivial issues. My first writing is with Lyx (please, understand me, I've been using Word for 25 yrs!) and then ERT and preamble for fine tuning.

\paragraph is my last section heading and is of the run-in type; I want to keep words tight and avoid interword spacing sticking to a minimum.

I have seen that \tolerance and \wordsep are two low-level parameters that have to do with that.

Question: Is it possible to redefine \paragraph reducing \wordsep and words are more packed together?

Here is a small excerpt where "Resonance with a known capacitance (frequency domain, narrow-band)" is way too long.

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

... and Happy Easter

10
  • 2
    your question is massively unclear. You need to give an example, tex tries hard to "avoid too much interword spacing" so if you are getting too much it is very hard to say what to change unless you show why you are getting too much. Apr 3, 2015 at 22:15
  • 2
    also the text of your question does not seem related to the title, which appears to be about kerning for the letter "a" ? Apr 3, 2015 at 22:16
  • 1
    Welcome to TeX.SX!
    – egreg
    Apr 3, 2015 at 22:16
  • ok, thanks, I work on this, and sorry for the broken title
    – andrea
    Apr 3, 2015 at 22:22
  • No, it's not possible to shrink that title: there's no way “This” can find place on the previous line. By the way, there's no \wordsep parameter.
    – egreg
    Apr 3, 2015 at 23:27

1 Answer 1

1

By "bad interwrod spacing" are you are pointing to the space between "brigge" and "This"? In this case, you can redefine \paragraph to change this fixed space:

MWE

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .