[pstricks] How To Begin To Draw This Structure?

Herbert Voss LaTeX at zedat.fu-berlin.de
Sun Mar 11 21:08:02 CET 2007


rossi at york.cuny.edu schrieb:
> Are you able to take a look at Figure 5 in
>
> http://www.bioorganic-chemistry.com/methods.pdf
>
> I want to be able to use pstricks to draw figures like this.
>
> They are very important for RNA research in Chemistry and Biology.
>
> If you were going to do this, what pstricks package would you use?  pschar?
> psmatrix?
>
> \documentclass{article}
> \usepackage{pst-node}
> \begin{document}
>
> \Large
> \begin{pspicture}(4,4)
> \rput(0,0){\rnode{A}{*A}}
> \rput(4,4){\rnode{U}{U}}
> \ncline[linestyle=none]{A}{U}
> \ncput[npos=0.125]{$^*$U}
> \ncput[npos=0.250]{U}
> \ncput[npos=0.375]{G}
> \ncput[npos=0.500]{$^*$U}
> \ncput[npos=0.625]{$^*$C}
> \ncput[npos=0.750]{$^*$U}
> \ncput[npos=0.875]{G}
> \end{pspicture}
>
> \end{document}
>   

use the npos optional argument, it sets the label relative to
the last connection

Herbert



More information about the PSTricks mailing list