[pstricks] pstricks and adjustbox via latex-dvips-pspdf vs xelatex

Norberto Moreno Quibén quiben at gmail.com
Mon May 11 19:13:31 CEST 2020


Dear friends members:

When I run the document test-adjust-dvips.tex with latex-dvips-psdf I 
obtain the output test-adjust-dvips.pdf where everything is fine and in 
place but when I run the same document, now renamed 
test-adjust-xelatex.tex, with xelatex I obtain the output 
test-adjust-xelatex.pdf in which the annotations over the arrows have 
been displaced. I have no clue on what it is going on. Any help will be 
much appreciated.

Thanks in advance

<><><><><><><><><><><><><><><><><><><><><><><><><><>
Norberto Moreno Quibén
Área de Lengua Española
Departamento de Filología, Comunicación y Documentación
Universidad de Alcalá - UAH
http://www.quiben.net

Facultad de Educación
Despacho 4-13
C/ Madrid, s/n
19001 Guadalajara
(34) 949 20 9773

Facultad de Filosofía y Letras
C/ Trinidad, 5
28801 Alcalá de Henares

ORCID ID: https://orcid.org/0000-0002-7524-7636


"Much is uncertain, and must remain so." Mental Reality, Galen Strawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pstricks/attachments/20200511/2751741f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-adjust-dvips.pdf
Type: application/pdf
Size: 37936 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20200511/2751741f/attachment-0002.pdf>
-------------- next part --------------
\documentclass[10pt]{beamer}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc}
\usepackage[normalem]{ulem}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage{pstricks}
\usepackage{pst-jtree}
\usepackage{pst-node}


\renewcommand<>{\sout}[1]{
  \alt#2{\beameroriginal{\sout}{#1}}{#1}
}

\listfiles
\begin{document}
 \begin{frame}
	\adjustbox{scale=.5}{% 
	\jtree[xunit=2.8em,yunit=1em] 
\def\\{[labelgapb=-1.2ex]}%
\! = {SN}
: {D}({el}) {N'}
:[scaleby=1.3]{N'}(<vert>{N}({libro}))  {SC}
: !b [scaleby=1.5]{C'}
:{C$_{\rlap{$\scriptstyle [-Q,+qu]$}}$} {ST}
:{SN}(<vartri>{Juan} ) {T'}
:{T}({\only<2->{dijo}}@A1 )  {SV}
<vert>{V'}
:{V}({\only<2->{\sout{dijo}}}@A2 ) {SC}
: !a [scaleby=1.5]{C'}
:{C$_{\rlap{$\scriptstyle [-Q,+qu]$}}$}({que}) {ST}
:{SN}(<vartri>{María}) {T'}
:{T}({\only<2->{quería}}@A ) {SV}
 <vert>{V'}
:{V}({\only<2->{\sout{quería}}}@B ) {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{\sout<3->{que}}@E ). 
\only<4->{\!b = {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{que}@F1 ) . }
\only<3->{\!a = {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{\sout<4->{que}}@F ) . }
\only<2->{\nccurve[angleB=180,nodesepB=.5ex,angleA=210,ncurv=1.1,linecolor=red]{<-}{A}{B}
\ncput*[nrot=:U]{\color{red}\scriptsize V$\rightarrow$T}}
\only<3->{\nccurve[angleB=210,angleA=-90,ncurv=1,linecolor=blue]{<-}{F}{E}
\ncput*[nrot=:U]{\color{blue}\scriptsize Movimiento-qu}}
\only<4->{\nccurve[angleB=210,angleA=-90,ncurv=1,linecolor=blue]{<-}{F1}{F}
\ncput*[nrot=:U]{\color{blue}\scriptsize Movimiento-qu}}  
\only<2->{\nccurve[angleB=180,nodesepB=.5ex,angleA=210,ncurv=1.1,linecolor=red]{<-}{A1}{A2}
\ncput*[nrot=:U]{\color{red}\scriptsize V$\rightarrow$T}}
\endjtree
	}%
\end{frame}
\end{document}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-adjust-xelatex.pdf
Type: application/pdf
Size: 63643 bytes
Desc: not available
URL: <https://tug.org/pipermail/pstricks/attachments/20200511/2751741f/attachment-0003.pdf>
-------------- next part --------------
\documentclass[10pt]{beamer}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc}
\usepackage[normalem]{ulem}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage{pstricks}
\usepackage{pst-jtree}
\usepackage{pst-node}


\renewcommand<>{\sout}[1]{
  \alt#2{\beameroriginal{\sout}{#1}}{#1}
}

\listfiles
\begin{document}
 \begin{frame}
	\adjustbox{scale=.5}{% 
	\jtree[xunit=2.8em,yunit=1em] 
\def\\{[labelgapb=-1.2ex]}%
\! = {SN}
: {D}({el}) {N'}
:[scaleby=1.3]{N'}(<vert>{N}({libro}))  {SC}
: !b [scaleby=1.5]{C'}
:{C$_{\rlap{$\scriptstyle [-Q,+qu]$}}$} {ST}
:{SN}(<vartri>{Juan} ) {T'}
:{T}({\only<2->{dijo}}@A1 )  {SV}
<vert>{V'}
:{V}({\only<2->{\sout{dijo}}}@A2 ) {SC}
: !a [scaleby=1.5]{C'}
:{C$_{\rlap{$\scriptstyle [-Q,+qu]$}}$}({que}) {ST}
:{SN}(<vartri>{María}) {T'}
:{T}({\only<2->{quería}}@A ) {SV}
 <vert>{V'}
:{V}({\only<2->{\sout{quería}}}@B ) {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{\sout<3->{que}}@E ). 
\only<4->{\!b = {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{que}@F1 ) . }
\only<3->{\!a = {SN$_{\rlap{$\scriptstyle [+qu]$}}$}(<vartri>{\sout<4->{que}}@F ) . }
\only<2->{\nccurve[angleB=180,nodesepB=.5ex,angleA=210,ncurv=1.1,linecolor=red]{<-}{A}{B}
\ncput*[nrot=:U]{\color{red}\scriptsize V$\rightarrow$T}}
\only<3->{\nccurve[angleB=210,angleA=-90,ncurv=1,linecolor=blue]{<-}{F}{E}
\ncput*[nrot=:U]{\color{blue}\scriptsize Movimiento-qu}}
\only<4->{\nccurve[angleB=210,angleA=-90,ncurv=1,linecolor=blue]{<-}{F1}{F}
\ncput*[nrot=:U]{\color{blue}\scriptsize Movimiento-qu}}  
\only<2->{\nccurve[angleB=180,nodesepB=.5ex,angleA=210,ncurv=1.1,linecolor=red]{<-}{A1}{A2}
\ncput*[nrot=:U]{\color{red}\scriptsize V$\rightarrow$T}}
\endjtree
	}%
\end{frame}
\end{document}
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test-adjust-xelatex.log
URL: <https://tug.org/pipermail/pstricks/attachments/20200511/2751741f/attachment-0002.log>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test-adjust-dvips.log
URL: <https://tug.org/pipermail/pstricks/attachments/20200511/2751741f/attachment-0003.log>


More information about the PSTricks mailing list.