[texhax] Pretty easy Question about \vspace and \paragraph

Vladimir Lomov lomov.vl at gmail.com
Wed Aug 29 03:21:02 CEST 2012


** 阮铮 [2012-08-29 08:21:25 +0800]:

> Hi everyone,

> I am new to latex and I am trying to typesetting my homework using
> latex. A small problem confused me all the way.


> Here is a small example:

> \documentclass{article}
> \begin{document}
> \paragraph{Hello} this is a paragraph\\
> \vspace{4mm}
> something here\\
> some other things here\\
> \end{document}

> When I compiled the code above, the \vspace does not show its effect
> on the direct following paragraph. "something here" still closely
> located with above paragraph. Can anybody tell me why? Or is there any
> method to make more space between the paragraph and "something here".

You have to read some manual before act and ask questions, like "Not So
Short Introduction to LaTeX", if you have TeX Live installed run 'texdoc
lshort' there you will find section 6.3.4 Vertical Space. Read it!

> Thanks!!!

In short: simply change `\vspace' to `\vspace*'

> Ruan Zheng

WBR, Vladimir Lomov

"It ain't over until it's over."
-- Casey Stengel

More information about the texhax mailing list