On Wed, Jun 30, 2010 at 9:24 AM, Richard Heck <rgh...@bobjweil.com> wrote: > On 06/29/2010 08:51 PM, Maria Gouskova wrote: >> >> Dear LyX users, >> >> I am working with the article(Covington) class, revising the >> formatting of my paper for a journal. My editor wants the >> subsubsections to be followed by the next paragraph's text on the same >> line. That is, something like this >> >> 3.2.1 My paper's section such-and-such >> >> In this section, I will solve problem so-and-so... >> >> Should look like this: >> >> 3.2.1.<italics>My paper's section such and such<italics>. In this >> section, I will solve problem so-and-so... >> >> Is there a way to do this non-manually, from the preamble? I am not >> afraid of playing around with the layout file, as well, but I'd rather >> not have to import the paper into LaTeX and use the Mouton de Gruyter >> doc class, since there is too much custom formatting in my paper. >> >> > > Use the titlesec package for this. Docs here: > http://ctan.org/tex-archive/macros/latex/contrib/titlesec/titlesec.pdf > See section 3. I'd try something like: > \usepackage{titlesec} > \titleformat{\subsubsection}{it}{runin}{\thesection.}{1ex}{}{} > > Richard >> >> Maria >> > >
Hmm, I looked into sectsty already, which doesn't have anything useful, and titlesec chokes, producing a long error with lots of complaints about paragraphs ending "before \in@ was complete", Package titlesec Error: Entered in horizontal mode, illegal units of measure, etc. Summary: \...@extract\subparagraph I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Maria