[pstricks] PSTricks Digest, Vol 135, Issue 3

Boyer Germain germain.boyer at ac-toulouse.fr
Wed Apr 16 13:21:35 CEST 2014


Bonjour
 
Thanks to put my code in pst-eucl. Of course i am happy. Sorry for not answer quickly. 
 
I test the version 1.50 with differents pictures and packages. It works well.
 
If you use tikz then you must put tikz first.
 
\documentclass[a4paper,french,10pt]{article} 


 
\usepackage[utf8]{inputenc}
 
\usepackage[T1]{fontenc}
 


 
\usepackage{amssymb}
 
\usepackage{amsmath}
 
\usepackage{amsfonts}
 


 
\usepackage{tikz}
 


 
\usepackage[dvipsnames]{pstricks}
 
\usepackage{pstricks-add}
 
\usepackage{pst-eucl}
 
 
 
and after the other package you use.

 
 
Part of pst-eucl.tex lines 311 to 326
 
%%begin modif Germain Boxer 04/2014
\def\MarkHash{%
     \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}}
\def\MarkHashh{%
      \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}(-0.5\psMarkHashSep,0)
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}
      \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}(0.5\psMarkHashSep,0)
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}}
\def\MarkHashhh{%
     \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}(-\psMarkHashSep,0)
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}
      \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}
      \rput{\ifx\psk at MarkAngle\@undef45\else\psk at MarkAngle\fi}(\psMarkHashSep,0)
     {\psline(-\psMarkHashLength,0)(\psMarkHashLength,0)}}
 
A little mistake it's not Germain Boxer but Germain Boyer 
 
Perhaps you can put line 327 %%end modif Germain Boyer not to merge with alaindelplanque code
 
In this code there is the possibility to write \psline[linestyle=solid,linecolor=black,linewidth=\pslinewidth](-\psMarkHashLength,0)(\psMarkHashLength,0) on each \psline
 
[linestyle=solid,linecolor=black,linewidth=\pslinewidth] is the default.

I don't think if it's a good idea and if yes i don't know how doing this : having keys MarkHashStyle (for linestyle) MarkHashColor MarkHashWidth or only one key like \psset
named \MarkHashStyle with \MarkHashStyle{linestyle=solid,linecolor=black,linewidth=\pslinewidth} and perhaps 
\MarkHashStyle{MarkHashLength=1.25mm,MarkHashSep=0.625mm,linestyle=solid,linecolor=black,linewidth=\pslinewidth}
 
or \psset{MarkHashLength=1.25mm,MarkHashSep=0.625mm,MarkHashStyle=solid,MarkHashColor=black,MarkHashWidth=\pslinewidth}
 
Thanks for your answer.
 
Germain.
 
Le 04/06/14, pstricks-request at tug.org a écrit : 
>  Send PSTricks mailing list submissions to
> pstricks at tug.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://tug.org/mailman/listinfo/pstricks
> or, via email, send a message with subject or body 'help' to
> pstricks-request at tug.org
> 
> You can reach the person managing the list at
> pstricks-owner at tug.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PSTricks digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: pst-eucl MarkHash (Herbert Voss)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 5 Apr 2014 15:24:28 +0200
> From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
> To: <pstricks at tug.org>
> Subject: Re: [pstricks] pst-eucl MarkHash
> Message-ID: <5340040C.505 at FU-Berlin.DE>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
> 
> Am 05.04.2014 10:53, schrieb Germain BOYER:
> 
> > Is it possible to write keys MarkHashLength and MarkHashSep to have
> > \pstMarkAngle[MarkAngleRadius=0.3,LabelSep=0.55,Mark=MarkHash,MarkAngle=90,MarkHashLength=1.25mm,MarkHashSep=0.625mm]{I}{O}{M}{\footnotesize
> > 30$^{\circ}$}
> 
> The next version of pst-eucl.tex will know
> MarkHashLength and MarkHashSep
> 
> Available tommorow, hopefully
> 
> Herbert
> 
> 
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 
> 
> ------------------------------
> 
> End of PSTricks Digest, Vol 135, Issue 3
> ****************************************
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140416/957b3d48/attachment.html>


More information about the PSTricks mailing list