Skip to main content

All Questions

Tagged with
0 votes
2 answers
116 views

Why do headers and footers inherit the current value of \spaceskip, and how can I prevent it?

Problem: I'm using a listings-like package to display source code in a paper. The environment that the package defines uses \spaceskip=\fontdimen2 to ensure that spaces all have the same width. When ...
Clément's user avatar
  • 4,024
1 vote
4 answers
118 views

Suppress all typesetting within a group

I have a macro that is purely functional (e.g. only defines other macros), and I want to be able to invoke this inline without any new paragraphs or blank spaces being typeset. \documentclass{article} ...
rish987's user avatar
  • 155
0 votes
1 answer
289 views

How to properly style only some chapter headings differently with KOMA

This is a follow-up to my previous question with more details. In my document there are some chapters with a number and some chapters without a number (like introduction or acknowledgements). I have ...
ranguwud's user avatar
  • 367
2 votes
1 answer
107 views

Wrong spacing when formatting single chapter title with KOMA

I would like to format only the first chapter heading in my document differently using KOMA script. I want to change both the font and the presence of the chapter prefix. As apparently KOMA does not ...
ranguwud's user avatar
  • 367
2 votes
1 answer
131 views

verbatim-environment inside group implies unwanted paragraph-break. Why? How to avoid?

When I wrap a verbatim-environment into an additional group, a new paragraph will be started after that group. (In the example below, \parindent-glue is inserted before the YYY when \begingroup and \...
user avatar
5 votes
1 answer
1k views

Grouping Negates Effect of \centering

Why does the use of \begingroup, \endgroup negate the effect of centering in the MWE? The MWE below yields a left aligned figure (not desired), with subsequent text on the left (desired): But if I ...
Peter Grill's user avatar
2 votes
1 answer
5k views

Single paragraph with styling and larger \parskip

I'd like to use something like this: {\bfseries\small Some text here...\setlength{\parskip}{1em}} More text here in the next paragraph... In order to increase the spacing after a single paragraph, ...
jtbandes's user avatar
  • 4,262