[pstricks] pst-optexp problem

Piter_ x.piter at gmail.com
Mon Jul 5 13:42:45 CEST 2010


Hi all.
I try to use pst-optexp and having some problems.
If the name of tex file is pst-optexp-doc.tex it works.
If I change it to thesis.tex, or probe.tex or something else  I get a mess
with labels.
What can be the problem?
Thanks.
Petro.
P.S. There is example of what i have tried.



% Created 2010-07-05 Mon 11:08
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{t1enc}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{pst-optexp}
\providecommand{\alert}[1]{\textbf{#1}}

\title{pst-optexp-doc}
\author{Petro}
\date{05 July 2010}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{Matherials and methods}
\label{sec-1}

\begin{pspicture}[showgrid=true](4,5)
   \addtopsstyle{Beam}{arrows=->, arrowscale=1.5}
   \psset{labeloffset=0}
   \doveprism[conn=o-](0,4.5)(4,4.5){\texttt{o-}}
   \doveprism[conn=i-](0,3.5)(4,3.5){\texttt{i-}}
   \doveprism[conn=-o](0,2.5)(4,2.5){\texttt{-o}}
   \doveprism[conn=-i](0,1.5)(4,1.5){\texttt{-i}}
   \optbox[conn=-f](0,0.5)(4,0.5){\texttt{-f}}
\end{pspicture}

\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100705/7872f9b9/attachment.html>


More information about the PSTricks mailing list