在下面的代码中,我尝试将左侧涂成蓝色psipicture
,将右侧涂成黄色;但是,图片中间出现了一条“不雅”的接缝。
\documentclass[12pt]{book}
\usepackage{pstricks,psvectorian}
\makeatletter
\def\psBoldVectorian{\@ifnextchar[\psBoldVectorian@i{\psBoldVectorian@i[]}}
\def\psBoldVectorian@i[#1]#2{%
\rput(0,0){\psvectorian[#1]{#2}}%
\rput(0.4pt,0.4pt){\psvectorian[#1]{#2}}%
\rput(-0.4pt,-0.4pt){\psvectorian[#1]{#2}}%
}
\makeatother
\thispagestyle{empty}
\begin{document}
\begin{pspicture}(-5,-5)(5,8)%
\psframe[fillcolor=blue!35,fillstyle=solid](-5,-5)(0,8)
\psframe[fillcolor=yellow!75,fillstyle=solid](0,-5)(5,8)
\psframe[linecolor=white](-5,-5)(5,8)
% oiseaux
\rput[tr]{-30}(-1.3,5.15){\psvectorian[color=white,width=2.1cm]{57}}
\rput[tl]{30}(1.3,5.15){\psvectorian[color=white,width=2.1cm,mirror]{57}}
\rput[tr]{-30}(-1.3,5.15){\psvectorian[color=white,width=2.1cm]{57}}
\rput[tl]{30}(1.3,5.15){\psvectorian[color=white,width=2.1cm,mirror]{57}}
\end{pspicture}%
\end{document}
我该如何消除黑色接缝,使图片的蓝色部分与黄色部分相邻且无可见边框?代码是用 编译的xelatex
。谢谢。
答案1
\begin{pspicture}(-5,-5)(5,8)
\psframe*[linecolor=blue!35](-5,-5)(0,8)
\psframe*[linecolor=yellow!75](0,-5)(5,8)
% oiseaux
\rput[tr]{-30}(-1.3,5.15){\psvectorian[color=white,width=2.1cm]{57}}
\rput[tl]{30}(1.3,5.15){\psvectorian[color=white,width=2.1cm,mirror]{57}}
\rput[tr]{-30}(-1.3,5.15){\psvectorian[color=white,width=2.1cm]{57}}
\rput[tl]{30}(1.3,5.15){\psvectorian[color=white,width=2.1cm,mirror]{57}}
\end{pspicture}%