You can certainly draw an ampersand using the bezier line. I suspect you can get a textual ampersand, but I have not tried that myself.
Someone else will likely help you more. Mike On Mon, Apr 12, 2010 at 1:51 PM, Boris Mayer-St-Onge <bo...@gmc.ulaval.ca>wrote: > Hello, > > I would like to create a new shape that need to have the sign & written on > it (similar to the electrical "and gate"). Unfortunately, I'm unable to add > it. Following is a basic example of a shape that works: > > <?xml version="1.0"?> > > <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" > xmlns:svg="http://www.w3.org/2000/svg"> > <name>Shape - Simple test</name> > <icon>simple.png</icon> > <connections> > <point x="0" y="0.5"/> > <point x="0" y="1.5"/> > <point x="4" y="1"/> > </connections> > <aspectratio type="fixed"/> > <svg:svg width="4" height="2"> > <svg:line x1="0" y1="0.5" x2="1" y2="0.5"/> > <svg:line x1="0" y1="1.5" x2="1" y2="1.5"/> > <svg:line x1="3" y1="1" x2="4" y2="1"/> > <svg:rect x="1" y="0" width="2" height="2"/> > <svg:text style="font-size: 0.6" x="0.5" y="0.4" > textLength="0.29">1</svg:text> > <svg:text style="fill: font-size: 0.6" x="0.5" y="1.4" > textLength="0.29">2</svg:text> > <svg:text style="font-size: 0.6" x="3.25" y="0.9" > textLength="0.29">3</svg:text> > </svg:svg> > </shape> > > If I'm adding the following line, nothing appear when I add the shape to my > dia diagram: > > <svg:text style="font-size: 1.5" x="1.65" y="1.5" > textLength="0.29">&</svg:text> > > I have also try this without success: > > <svg:text style="fill: #000000; font-size: 0.6; text-anchor:start; > font-family: monospace; font-style: normal; font-weight: normal" x="1.65" > y="1.5" textLength="0.29">&</svg:text> > > Is it possible draw the & sign within a shape? I'm using Dia 0.97 on > Fedora. > > Thanks. > > Boris Mayer-St-Onge > > _______________________________________________ > dia-list mailing list > dia-list@gnome.org > http://mail.gnome.org/mailman/listinfo/dia-list > FAQ at http://live.gnome.org/Dia/Faq > Main page at http://live.gnome.org/Dia > > -- Michael E. Ross NC Solar Center Test Laboratory ================================= (919) 585-5118 best (919) 513-0418 desk michael_r...@ncsu.edu michael.e.r...@gmail.com ============================= NC Solar Center : www.ncsc.ncsu.edu Professional Directory : www.greenprofessionals.org "The information in this email is provided by the NC Solar Center at NCSU as a public service. The Solar Center strives to provide accurate information, but does not warrant or represent the accuracy, usefulness or reliability of this information. For specific advice, we always recommend that you consult with a professional in the appropriate profession for your needs." Email correspondence to and from this address may be subject to the North Carolina Public Record Law NCGS, Ch 132 and may be disclosed to third parties
_______________________________________________ dia-list mailing list dia-list@gnome.org http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia