Search found 2 matches

by atis
Mon Oct 29, 2007 3:04 pm
Forum: MiKTeX and proTeXt
Topic: Compilation problem with MikTeX 2.6 and pst-all
Replies: 2
Views: 3529

Re: Compilation problem with MikTeX 2.6 and pst-all

Of course I don't use pstricks in this example. I just keeped wath's wrong.

Now, I've had an answer via the miktex mailing list. In fact, pstricks modifies
the definition of \@frameb@x (which is used in \fbox). So I just have to
put a \protect\fbox instead of \fbox.

Thank you for your help.

Atis
by atis
Sun Oct 21, 2007 7:14 pm
Forum: MiKTeX and proTeXt
Topic: Compilation problem with MikTeX 2.6 and pst-all
Replies: 2
Views: 3529

Compilation problem with MikTeX 2.6 and pst-all

Hello,

The following code worked fine with MikTeX 2.4, but not with 2.6.
(I want a box around my section numbers).


\documentclass[11pt]{article}
\usepackage{pst-all}

\makeatletter
\renewcommand{\@seccntformat}[1]{\fbox{\csname the#1\endcsname}\hspace{0.5em}}
\makeatother

\begin{document ...