[pstricks] Non breakable space (~) with PSTricks

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jun 30 08:54:10 CEST 2011


Am 30.06.2011 06:23, schrieb Jorge Ramos:
> I have noticed that when the PSTricks package is summoned in the
> preamble, the tilde character (~) ceases to work in my documents, e.g.
>
> \usepackage{pstricks}
> \begin{document}
> ... see page~3... %@ line x
> \end{document}
>
> yap should print a non-breakable space :
>
> yap->
> %%%%%%%%%%%%%%%%%%
> ...
> ... se page 3 ...
> ...
> %%%%%%%%%%%%%%%%%
>
> but ~ ceases to work:
>
> yap->
> %%%%%%%%%%%%%%%%
> ... se page
> 3...

I cannot see this:

\documentclass[a5paper]{article}
\usepackage{pstricks}
\begin{document}
\noindent
\rule{\linewidth}{1pt}

some nonsense see some nonsense see some nonsense xx page~3 ... %@line x

\end{document}

gives an overfull hbox with "page 3" not broken at the line end.
Replace the ~ with a space and you'll get the default linebreak.

Herbert


More information about the PSTricks mailing list