I have the following flow chart but it appears uncentered. How can I center it?
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{pst-blur}
\pagestyle{empty}
\begin{document}
\begin{center}
\psframebox[linearc=5mm,cornersize=absolute]{%
\begin{psmatrix}[rowsep=0.6,colsep=0.5]
\psovalbox[fillstyle=solid]{Begin} &
\psframebox[]{ChIP-seq} &
\psframebox[]{align to genome} &
\psdblframebox[framearc=.4,fillstyle=solid]{Find peaks} &
\psdblframebox[framearc=.4,fillstyle=solid]{Thresholding} &
\psdblframebox[framearc=.4,fillstyle=solid]{Analysis} &
\psframebox[]{stop}
\ncline{->}{1,1}{1,2}
\ncline{->}{1,2}{1,3}
\ncline{->}{1,3}{1,4}
\ncline{->}{1,4}{1,5}
\ncline{->}{1,5}{1,6}
\ncline{->}{1,6}{1,7}
\end{psmatrix}}
\end{center}
\end{document}
Best Answer
As frabjous already mentioned, the image is just too big and either image or margins require adjustment.
But there's trick how you can center oversized images: use
\makebox
. This way even your wide image gets properly centered: