bumeshrai | 1 Mar 03:56
Picon
Favicon

Rotating text

After I write text into a shape box, and then rotate the shape, the text also rotates. Is there any option to keep the text static.

The workaround I use now is to rotate a blank shape and then overwrite text onto the shape. But I am sure there is a better way of doing this.

Regards

Umesh

Why delete messages? Unlimited storage is just a click away.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users
Dominique Würtz | 1 Mar 16:36
Picon

Re: Intersection area

Again, thanks for all your answers, here is the complete solution I came 
up with:

\begin{tikzpicture}
   \def\ringa{(-1,0) circle (2) (-1,0) circle (3)}
   \def\ringb{(1,0) circle (2) (1,0) circle (3)}

   \begin{scope}[even odd rule]
     \clip \ringa;
     \fill[fill=orange] \ringb;
   \end{scope}

   \draw \ringa;
   \draw \ringb;
\end{tikzpicture}

Dominique Würtz schrieb:
> Hi,
> 
> I try to fill the two intersection areas of two ring shapes (ie. an area 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Kjell Magne Fauske | 1 Mar 16:35
Picon

Re: Rotating text

On Sat, Mar 1, 2008 at 3:56 AM,  <bumeshrai <at> yahoo.co.in> wrote:
>
> After I write text into a shape box, and then rotate the shape, the text
> also rotates. Is there any option to keep the text static.
>
> The workaround I use now is to rotate a blank shape and then overwrite text
> onto the shape. But I am sure there is a better way of doing this.
>
> Regards
>
> Umesh
>

With PGF 2.0 you can use the new option 'shape border rotate':

...
\node[rectangle,shape border rotate=30] {Text};
...

See Chapter 15.2.2 in the manual for more details.

- Kjell Magne Fauske

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Mark Wibrow | 1 Mar 21:06

Re: Rotating text

On 01/03/2008, Kjell Magne Fauske <kjellmf <at> gmail.com> wrote:
>
> With PGF 2.0 you can use the new option 'shape border rotate':
>
> ...
> \node[rectangle,shape border rotate=30] {Text};
> ...
>

Actually I don't think this works for the rectangle - if it does I
didn't implement it. The documentation does say ``Some shapes (but not
all)...''.

If the shape can do independent rotation, the documentation for that
shape will say something like ``this shape supports the rotating of
the shape border as described in...'' in the opening paragraph. This
is mostly the newer geometric shapes (and a few others), as the
benefits of rotating (e.g.) an isosceles triangle or a regular polygon
or an arrow shape are quite obvious. As it is a bit of a nuisance to
implement I haven't got round to extending it to the older shapes
where it is not immediately obvious (at least to me) how useful it
would be.

The (admittedly not very attractive) workaround currently would be to
rotate the text inside the node ``backwards'', something like:

\node[rectangle, draw, rotate=30]{\tikz\node[rotate=-30]{Text};};

Although with some (non trivial) work it might be possible to hide
some of the uglyness inside a style.

Regards

Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Anuschka Schmitt | 2 Mar 15:18

Typesetting the manual: problems with directories

Hello,

I just tried to typeset the new manual (pdftex) and got errors like:
No file pgfmanual-en-introduction.tex

The missing files do exist and the problem seems to be that my LaTeX
does not search in the correct directory.

The \input{../../text-en/pgfmanual-en-main.tex} in pgfmanual.tex works
correctly, but the working directory keeps being set to the one where
pgfmanual.tex is found, so the other files cannot be found.
I can workaround this problem by adding ../../ to every \input{} or
\include{} in pgfmanual-en-main.tex, but this seems not to be right.

I tried this with several TeX-Distributions and OS as
- W2k and MiKTeX (2.6 with the old pgfmanual and 2.7 with the new one)
- MacOSX Leopard and Debian Linux Lenny each with TeXLive 2007 where I
tried to typeset the (old) pgfmanual.tex as found in MiKTeX/doc/generic/pgf
The result is always the same...

I wonder if I can choose somewhere (where?) to change the working
directory when an \input{} or \include{} occurs.

Any help would be appreciated!

Best regards,

Anuschka

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Axel E. Retif | 2 Mar 23:53
Picon
Gravatar

Re: Typesetting the manual: problems with directories

On  2 Mar, 2008, at 08:18, Anuschka Schmitt wrote:

> Hello,
>
> I just tried to typeset the new manual (pdftex) and got errors like:
> No file pgfmanual-en-introduction.tex
>
> The missing files do exist and the problem seems to be that my LaTeX
> does not search in the correct directory.

This is what I do: make a copy of all pgf documentation to Desktop;  
copy pgfmanual.tex and pgfmanual-pdftex.cfg to text-en; copy  
pgfmanual-en-macros.tex (from macros folder) to text-en as well, and  
also all images from images folder. Change in all input commands of  
pgfmanual.tex and pgfmanual-en-main.tex the relative paths ---that  
is, v.gr., just

\input{pgfmanual-en-macros}

instead of

\input{../../macros/pgfmanual-en-macros}, etc.

Remember that if you typeset using a TeX editor (like TeXShop) you  
have to change the editor's preferences to Latin 1 encoding.

Best,

Axel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Hans Meine | 3 Mar 09:34
Picon
Favicon

Re: Typesetting the manual: problems with directories

Am Sonntag, 02. März 2008 15:18:35 schrieb Anuschka Schmitt:
> The missing files do exist and the problem seems to be that my LaTeX
> does not search in the correct directory.

Right; AFAIK most TikZ authors have their doc *sources* also in their TEXMF 
tree.  (I.e. kpathsea can locate them.)

I tried to work around the need to install the doc sources by modifying 
TEXINPUTS; this has worked for several people and was checked in into 
pgf/doc/generic/pgf/version-for-pdftex/en/Makefile.

--

-- 
Ciao, /  /
     /--/
    /  / ANS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Kjell Magne Fauske | 4 Mar 20:18
Picon

Overview of new TikZ and PGF features

Dear pgf-users,

I have added an overview of some of the new 2.00 features to the PGF
and TikZ examples gallery that I maintain:
http://www.fauskes.net/pgftikzexamples/pgf-version-2/

Better late than never :-). I have not prioritized the gallery lately,
and it is in need of some spring cleaning. Some of the examples are
now obsolete and the the tagging is not optimal. Let me know if
someone has ideas for improving the gallery. It is a good oportunity
to sharpen my Django skills.

- Kjell Magne Fauske

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Picon
Picon

Re: Overview of new TikZ and PGF features

Hey.

thanks for the work!
I really like your site and the examples. They inspire me and show the 
beauty of pgf/tikz :-)

Greetings,
Basil Abou El-Komboz

Kjell Magne Fauske wrote:
> Dear pgf-users,
> 
> I have added an overview of some of the new 2.00 features to the PGF
> and TikZ examples gallery that I maintain:
> http://www.fauskes.net/pgftikzexamples/pgf-version-2/
> 
> Better late than never :-). I have not prioritized the gallery lately,
> and it is in need of some spring cleaning. Some of the examples are
> now obsolete and the the tagging is not optimal. Let me know if
> someone has ideas for improving the gallery. It is a good oportunity
> to sharpen my Django skills.
> 
> - Kjell Magne Fauske
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Hans Meine | 5 Mar 10:24
Picon
Favicon

Re: Overview of new TikZ and PGF features

Am Dienstag, 04. März 2008 20:18:19 schrieb Kjell Magne Fauske:
> I have added an overview of some of the new 2.00 features to the PGF
> and TikZ examples gallery that I maintain:
> http://www.fauskes.net/pgftikzexamples/pgf-version-2/

Great - I am just reading it; some questions/comments:

1)  You use:
>    \draw [<->] (some node) -- (other node)
>    node [midway,right,draw=none] {1cm};
Is there an advantage of "node[midway]" (which I have not used before) 
compared with (some node) -- node[..] {...} (other node)?  I have gotten 
accustomed to the latter, but I admit that it sometimes moves the start/end 
of the -- very far apart.  (I guess that's the main advantage of the former?)

2) The fitting library does not seem to shrink the circle to just encompass 
the given nodes, but their bounding box?  (I.e. in your example, the circle 
could be made smaller at the bottom.)

3) "TikZ now support fadings and transparency groups:" -> the second smoking 
sign does not appear transparent?!

4) The smaller figures at the bottom show some other errors w.r.t. 
transparency/shadows.

Thanks a lot for the write-up! :-)

Ciao, /  /
     /--/
    /  / ANS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane