Hi Ryo, The syntax you showed, yes? fill/x=0:10/y=0:10 x+yis actually the right way to do this. Try adding another label without the quotes: yes? fill/x=0:10/y=0:10 x+yYou'll see that everything lines up. The double-quote text just doesn't quite look centered in its space, but perhaps that's because they are drawn at an angle. The two single quotes looks the same to me (continuing on the same plot): yes? label/user 5, 3,0,0,0.75,@DRdouble''''quoteI don't think a typesetter would say two single quotes is necessarily the same as a double quote, but depending on the font they may be drawn the same way. With the font you show in your example I think that is the case. (Possibly it's true for all of Ferret's fonts; I have not checked.) If they look right, that's what's important isn't it? Ansley On 10/29/2013 2:33 AM, Ryo Furue wrote:
Ferret users, I wonder how to print a double quote by the LABEL command. I thought I found the answer in the mailing archive, but the solution (repeating the double quote) doesn't work. yes? fill/x=0:10/y=0:10 x+y yes? label/user 5,5,0,0,0.75,@DRdouble""quote This prints two double quotes. yes? label/user 5,5,0,0,0.75,@DRdouble"quote This is an error ("unpaired quotation marks"). yes? label/user 5,5,0,0,0.75,@DRdouble\"quote This is close, but there is a space between the word "double" and the quotation mark. Another potentially related issue is that it seems impossible to define and use a string variable containing a double quote. yes? let str = "doublequote" yes? say `str` [ . . . works . . . ] yes? let str = "double""quote" **ERROR: command syntax: "double""quote" "double" before "quote" is illegal yes? let str = "double\"quote" **ERROR: command syntax: "double\"quote" unclosed quotation, parenthesis, or bracket yes? let str = double""quote **ERROR: command syntax: double""quote double before "" is illegal yes? let str = 'double""quote' yes? say `str` **ERROR: variable unknown or not in data set: 'double""quote' yes? let str = double"quote **ERROR: command syntax: unpaired quotation marks, grave accent or brackets yes? let str = double\"quote **ERROR: command syntax: unpaired quotations, parens, or brackets str = double\"quote yes? As a workaround, I currently use two single quotes '''' . (Is that equivalent to a double quote?) Regards, Ryo |