Graphics, Figures & Tablespst-eucl | Change Hash Marks

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
coachbennett1981
Posts: 269
Joined: Fri Feb 05, 2010 10:15 pm

pst-eucl | Change Hash Marks

Post by coachbennett1981 »

I am having some issues trying to change the hash marks to mark sides congruent. The default of two hash marks will show up, but when trying to change the parameters of \pstSegmentMark, I get an error message:

Code: Select all

missing endcname inserted
\protect
When I was trying the \pstMarkSegment I would get an "undefined control sequence", so I switched to \pstSegmentmark and it works, however, using the Segment Symbol parameter, I can't change the symbol drawn on the segment to change from double to single hash marks or triple has marks. I have attached my file with two simple drawings. Here is the code as well

Code: Select all

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{pstricks}
\usepackage{pstricks-add}
\usepackage{pst-eucl}
\usepackage{pst-all}

\begin{document}
\pstTriangle[linecolor=blue,linewidth=1.5pt](0,0){A}(0,3){B}(3,0){C}
\pstRightAngle[linecolor=blue]{B}{A}{C}
\pstMarkAngle[linecolor=blue]{A}{B}{C}{$\theta$}

\newpage

\pstGeonode[CurveType=polygon](1,2){A}(2,1){B}(1,0){C}
\pstMarkSegment[SegmentSymbol=\pstslash]{A}{B}
\end{document}
Thank you for any help

Nick
Attachments
Geometry Drawings.tex
(495 Bytes) Downloaded 143 times
Last edited by coachbennett1981 on Mon Jan 23, 2012 3:18 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
coachbennett1981
Posts: 269
Joined: Fri Feb 05, 2010 10:15 pm

pst-eucl | Change Hash Marks

Post by coachbennett1981 »

I found the answer: According the documentation, each command has a backslash. e.g., \pstslash. However using

Code: Select all

\pstSegmentMark[SegmentSymbol=pstslash]{A}{B}
Sorry for quick post..
timd
Posts: 8
Joined: Tue Aug 12, 2008 7:45 pm

Re: pst-eucl | Change Hash Marks

Post by timd »

Thanks coach you went through the same steps as myself and answered my own question.
Post Reply