1

For some reason, my psmatrix is too low on the page. I want to raise it to the top of the page.

I tried using an "offset" parameter:

\begin{psmatrix}[colsep=0,rowsep=1.3,offset=5]

but this apparently had no effect.

EDIT: Here is an MWE. Note that I use the first line, with the "makebox" commands, in order to set the column widths for the rest of the table (which is not shown here).

\documentclass[english]{article}
\makeatletter
\usepackage[pdf]{pstricks}
\usepackage{pst-node} 
\makeatother
\begin{document}
\begin{psmatrix}[colsep=0,rowsep=1.3,offset=5]
  \makebox[0cm]{} & \makebox[7cm]{} & \makebox[7cm]{} & \makebox[7cm]{} \\
  a
 &
  b
 & 
  c
 &
  d
\end{psmatrix}
\end{document}
lockstep
  • 250,273

1 Answers1

2

If you add \usepackage{showframe}, you will see that it is at the top of the page. I think you want to adjust the margins:

enter image description here

If you want to reduce the top margin I would suggest using the geometry package to adjust that.

References:

Code:

\documentclass[english]{article}
\makeatletter
\usepackage[pdf]{pstricks}
\usepackage{pst-node} 
\usepackage{showframe} 
\makeatother
\begin{document}
\begin{psmatrix}[colsep=0,rowsep=1.3,offset=5]
  \makebox[0cm]{} & \makebox[7cm]{} & \makebox[7cm]{} & \makebox[7cm]{} \\
  a
 &
  b
 & 
  c
 &
  d
\end{psmatrix}
\end{document}
Peter Grill
  • 223,288