Re: Node text not displayed correctly
John Hendy <jw.hendy <at> gmail.com>
2011-12-01 20:41:41 GMT
On Thu, Dec 1, 2011 at 2:33 PM, Judson Babcock <jt.babcock <at> gmail.com> wrote:
> Thanks for your help! The source of the error was that I was viewing the DVI
> file. When I converted to PS and PDF, both of those showed the label
> correctly positioned.
>
> Again, many thanks for helping me to debug this.
>
And there was much rejoicing! Glad you figured things out.
John
> Judson
>
> On Thu, Dec 1, 2011 at 12:39 PM, John Hendy <jw.hendy <at> gmail.com> wrote:
>>
>> On Thu, Dec 1, 2011 at 11:35 AM, Judson Babcock <jt.babcock <at> gmail.com>
>> wrote:
>> > Thanks for the responses! Yes, I put the grid in just so I could have
>> > some
>> > space to experiment with placing text and make the example as minimal as
>> > possible. In my actual document, a .eps graphic of similar size will
>> > replace
>> > the grid.
>> >
>> > My details:
>> >
>> > OS: Linux Mint 12
>> > Tex distribution: TeX Live version 2009-13
>> > Tikz version: I'm not sure, but in my log file it says :
>> > (/usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
>> > Package: tikz 2010/10/13 v2.10 (rcs-revision 1.76)
>> >
>> > another bit of bad behavior is that any shape drawn at the node will be
>> > placed correctly, but the node text is still wrong. for example:
>> >
>> > \documentclass[draft]{article}
>> > \usepackage{tikz}
>> > \begin{document}
>> > \begin{tikzpicture}
>> > \draw[help lines,step=1cm] (0,0) grid (3cm,3cm);
>> > \node[draw,circle] at (2,2) {test};
>> > \end{tikzpicture}
>> > \end{document}
>>
>> This has to be on your end somehow. See the attached. Circle and text
>> both at 2,2. Copied and pasted the exact example. It's almost as if
>> the node and text are being treated differently if the circle is at
>> 2,2 and the text is at 0,0. I don't see how that's possible with your
>> text. Is this your distro's most recent TexLive version?
>>
>> Arch Linux is on Tex Live 2011!
>>
>>
>> John
>>
>> >
>> > produces the attached (circle at 2,2 but "test" at 0,0).
>> >
>> > thanks for your help!
>> >
>> > Judson
>> >
>> > On Thu, Dec 1, 2011 at 11:34 AM, Nick Papior Andersen
>> > <nickpapior <at> gmail.com>
>> > wrote:
>> >>
>> >> I have no problem with your example.
>> >>
>> >> Remember that when you draw anything it will cut the image to the
>> >> minimum
>> >> size of the drawn pieces in the picture.
>> >>
>> >> So if you comment out the draw statement you will get in the lower left
>> >> corner.
>> >>
>> >> Please update your distribution or post the specifics so that we can
>> >> help
>> >> in a proper way.
>> >>
>> >> Nick
>> >> 2011/12/1 jt_04 <jt.babcock <at> gmail.com>
>> >>>
>> >>>
>> >>> I'm a new Tikz user and very excited at the possibilities. I've having
>> >>> a
>> >>> problem with placing text at a node: no matter what node location I
>> >>> specify,
>> >>> the text always appears at (0,0). Here is a minimum working example:
>> >>>
>> >>> \documentclass[draft]{article}
>> >>> \usepackage{tikz}\begin{document}
>> >>> \begin{tikzpicture}
>> >>> \draw[help lines,step=1cm] (0,0) grid (3cm,3cm);
>> >>> \node at (2,2) {test};
>> >>> \end{tikzpicture}
>> >>> \end{document}
>> >>>
>> >>> My output contains the word "test" in the lower left corner, instead
>> >>> of
>> >>> at
>> >>> coordinates (2,2). Any help is much appreciated!
>> >>>
>> >>> Judson
>> >>>
>> >>> http://old.nabble.com/file/p32895325/tikzpic.dvi tikzpic.dvi
>> >>> --
>> >>> View this message in context:
>> >>>
>> >>> http://old.nabble.com/Node-text-not-displayed-correctly-tp32895325p32895325.html
>> >>> Sent from the pgf-users mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>> All the data continuously generated in your IT infrastructure
>> >>> contains a definitive record of customers, application performance,
>> >>> security threats, fraudulent activity, and more. Splunk takes this
>> >>> data and makes sense of it. IT sense. And common sense.
>> >>> http://p.sf.net/sfu/splunk-novd2d
>> >>> _______________________________________________
>> >>> pgf-users mailing list
>> >>> pgf-users <at> lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/pgf-users
>> >>
>> >>
>> >
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d