1

Why doesn't this work? I think I've got all the packeges I need, and I've copied it from http://tug.org/pracjourn/2008-3/morales/morales.pdf.

\documentclass[landscape,a0paper,final]{a0poster}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fullpage}
\usepackage[czech]{babel}
\usepackage{graphicx}
\usepackage{pstricks,pst-grad}
\usepackage{amsthm}

\begin{document}
\psshadowbox[linewidth=1mm,framearc=0.1,linecolor=red,framesep=1em]{
\begin{minipage}[h]{0.5\linewidth}
{\bf Fermat’s last theorem}
If an integer $n$ is greater than $2$, then the equation
$$ a^n+b^n=c^n $$
has no solutions in non-zero integers $a$, $b$, and $c$.
\end{minipage}}
\end{document}
1

Run it with xelatex:

\documentclass[landscape,a0paper,final]{a0poster}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fullpage}
\usepackage[czech]{babel}
\usepackage{graphicx}
\usepackage{pstricks,pst-grad}
\usepackage{amsthm}

\begin{document}
\psshadowbox[linewidth=1mm,framearc=0.1,linecolor=red,framesep=1em]{%
\begin{minipage}[h]{0.5\linewidth}
{\bf Fermat’s last theorem}
If an integer $n$ is greater than $2$, then the equation
$$ a^n+b^n=c^n $$
has no solutions in non-zero integers $a$, $b$, and $c$.
\end{minipage}}
\end{document}

enter image description here

|improve this answer|||||
  • Thank you, now it works. I also found some other options how to use pstricks in pdfLaTeX, but it was too complicated for nothing and there was always something missing. – Matej Apr 30 '14 at 17:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.