1

I'm making a poster using beamerposter; I would like to use pstricks to draw some figures on this poster. However, when I try to draw anything past about 2/3s of the poster width, nothing appears. Notice in the following that the vertical line is at x = 83 while the horizontal line ends at x = 90, but in the actual output, the horizontal line doesn't extend past the vertical line: enter image description here

This was created with the following MWE:

\documentclass{beamer}

\usepackage{beamerposter}
\usepackage{pstricks}
\usepackage{pstricks-add}

\psset{linewidth=5pt} % Not necessary; just used for visibility

\begin{document}
    \begin{frame}
        \begin{pspicture}
            \pcline{-}(0,0)(90,0)
            \pcline{-}(83,50)(83,-50) % Nothing gets drawn past x = 83
        \end{pspicture}
    \end{frame}
\end{document}

(While not shown in the image above, text will appear correctly past x = 83.) Is there a way to fix this?

Edit: This appears related to this issue I found: pstricks image is cut to a4 in landscape mode

However, the solution there doesn't compile for me since I'm not using a0poster.

4
  • Could you consider switching to TikZ?
    – user194703
    Commented Feb 10, 2020 at 3:17
  • I've done that for now, but I'd still like to figure out if there's a good way to do this for the future. The specific issue is that I'm drawing trees, and I'd like to use some of the fine-grained control that pst-jtree has that tikz and tikz-qtree don't.
    – Jigsaw
    Commented Feb 10, 2020 at 4:13
  • For trees there is IMHO only one really good tool: forest. It is tikz-based and IMHO amazing.
    – user194703
    Commented Feb 10, 2020 at 4:15
  • Draw your picture with the standalone class, and insert the resulting .pdf via \includegraphics.
    – Bernard
    Commented Feb 10, 2020 at 9:45

1 Answer 1

1
\documentclass[dvips]{beamer}

will help

3
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Vincent
    Commented Feb 11, 2020 at 17:28
  • This is the answer to the problem!
    – user187802
    Commented Feb 11, 2020 at 18:38
  • Sorry it is true that this comment is probably not the most appropriate for this situation. What I meant is mostly that giving a single line of code and saying it should help is not really a complete answer to any question. I think it would be better to add details and/or an example.
    – Vincent
    Commented Feb 11, 2020 at 18:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .