Anakreontas Mentis | 5 Apr 2013 13:45
Picon

Paths to composite nodes

Hello.

I have a diagram where nodes contain tikzpicture environments, each of
them have an automaton. The problem is that when I draw lines from on
node to an other, both the target and the source of the connecting
arrows are misplaced.

I have uploaded the latex code at http://pastebin.tlhiv.org/bl1my4rH

Initially, I placed the nodes in a matrix but when the arrows where not
drawn correctly I tried an alternative placement of the nodes. The
result was different but still wrong.
--

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
Zarko F. Cucej | 26 Mar 2013 18:15
Picon

test again

this another test, sorry for disturbance ...

zarko

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
Zarko F. Cucej | 26 Mar 2013 17:49
Picon

test

sorry for disturbance,i just checking, why my me-mails to list not 
appear on list any more ...

Z

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
Zarko F. Cucej | 24 Mar 2013 16:30
Picon

shortening of braces

Hi,
many times i need togive some description to groups of successive 
(rectangle) shapes, i.e. something like this:

\documentclass[tikz]{standalone}
     \usetikzlibrary{decorations.pathreplacing}
\begin{document}
     \begin{tikzpicture}[
box/.style = {draw, minimum size=9pt,inner sep=1pt, outer sep=0pt, right},
brc/.style = {decorate, decoration={brace,raise=1mm}},
shorten <>/.style = {shorten >=#1pt, shorten <=#1pt}
                     ]
\coordinate (a0) at (0,0);
\foreach \x [count=\xi from 0] in {1,...,4}
   \node[box] (a\x) at (a\xi.east) {\x};
\draw[brc] (a1.north west) to node[above=2mm] {A} (a2.north east);
\draw[brc] (a3.north west) to node[above=2mm] {B} (a4.north east);
\draw[brc,shorten <>=1] (a2.south east) to node[below=2mm] {C} (a1.south 
west);
\draw[brc,shorten <>=1] (a4.south east) to node[below=2mm] {D} (a3.south 
west);
     \end{tikzpicture}
\end{document}

where i like to have small space between successive braceswithout 
changing braces coordinates. so i try to use shorten, but result is only 
partly satisfactory... (see braces C and D). well, if i set shorten to 
0.5 points, braces look perfectly, but distance between them is little 
to small.

(Continue reading)

Zarko F. Cucej | 23 Mar 2013 19:37
Picon

patterns

Hi,
in pgf manual the patterns description is described very, very shortly ...

so i like to know, if it is possible to define for example line width 
for north east lines patterns?

regards,    Zarko

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
Lutz Gehlen | 21 Mar 2013 17:47
Picon

Partial circle

Hello everybody,
I am trying to draw a circular arc, but somehow cannot get it to 
work. The minimal example I've put together based on my 
understanding of the documentation looks like this:

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\clip (0cm,0cm) rectangle (8cm,3cm) ;
\begin{scope} [color=black]
\draw [fill=none] (3.0 2.0) arc (0:90:1.0 and 1.0) ;
\draw [fill=none] (2.0, 2.0) ellipse (1.0 and 1.0) ;
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}

Drawing the ellipse works fine (if I comment out the line with the 
arc command), but with the arc I get the following output:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) 
(format=pdflatex 2012.7.21)  21 MAR 2013 17:42
entering extended mode
 %&-line parsing enabled.
**construction.tex
(./construction.tex
LaTeX2e <2009/09/24>

(Continue reading)

Zarko F. Cucej | 17 Mar 2013 07:25
Picon

calculation of width of the rectangle shape

hi,
is there a way to "on-line" calculate the minimum width of rectangle 
shape? something like:
%-------
     \documentclass{standalone}
\usepackage{tikz}
     \usetikzlibrary{shapes}
         \begin{document}
      \begin{tikzpicture}
\node[draw,minimum width=<math expression> mm] {?};
     \end{tikzpicture}
%-------
i try for math expression to use something like:

     \pgfmathparse{3*log10(10)}\pgfmathresult

but it giveserror:

! incomplete \iffalse; all text was ignored after line ...

please help me!

regards,    zarko

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
(Continue reading)

Zarko F. Cucej | 17 Mar 2013 00:28
Picon

Re: multipart node: why empty par is not ignored?

On 16.3.2013 16:22, Zarko F. Cucej wrote:
> Hi,
> please considered the following MWE:
> %---------------------------------------------------------------%
>     \documentclass{standalone}
> \usepackage{tikz}
>     \usetikzlibrary{shapes,shapes.multipart}
>         \begin{document}
>     \begin{tikzpicture}[
> PP/.style n args = {3}{name=n#1,
>                        rectangle split parts=#2,
>                        text width=#3mm,
>             rectangle split, draw, very thin,
>             rectangle split ignore empty parts=true,
>                         }]
> %---
> \node[PP={4}{6}{21}]
>         {part one
>          \nodepart{two}%
>          \nodepart{three}   part three
>          \nodepart{four}    part four
>          \nodepart{five}    part five
>          \nodepart{six}     part six};
> %---
>     \end{tikzpicture}
>         \end{document}
> %---------------------------------------------------------------%
> why the emtpy part is not omitted?
>
sorry for above unfinished letter, my computer send it without my 
(Continue reading)

Zarko F. Cucej | 16 Mar 2013 01:12
Picon

rectangle split, how difficult is to determine parameter for height of each par?

Hi,
i often use rectangle split for sketch of comparison of the 
communication models. there it will be quit handy if for not empty shape 
parts will exist similar macro as for empty parts:

     rectangle split empty part height=<length>

or even better, if it will be capable to consider different height for 
each shape parts as this do

     rectangle split part fill={color-1, color-2, ...}

for colour of shape parts, i.e. th macro should have the following syntax:

rectangle split part height = {height 1, height 2, ...}

now i help myself with use of rules in each part with width=0 and 
desired height. This is not quite an elegant solution ...

any help in defining desired macro i will very appreciated!

regards,    Zarko

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
Zarko F. Cucej | 23 Feb 2013 01:59
Picon

chamfered rectangle

Hi,
i have problemswith shape "chamfered rectangle". see mwe below. Why are 
both shapes aren't in the line? and why they are not the same shape (the 
shapes are different regardless how much are minimal width and chamfered 
rectangle xsep.

I like to have all shapes in form as has the left one, regardless of 
length inside text.
%%%%
     \documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning,shapes,shapes.misc,}
\begin{document}
     \begin{tikzpicture}[%
chamfered rectangle, chamfered rectangle angle=45, chamfered rectangle 
xsep=12mm,
minimum width=16mm, minimum height=10mm, align=center]
\node[draw]                          (a)    {some long,\\ long text};
\node[draw,below right=0mm and 22mm] (b) at (a.after north east) {short};
\node[draw,below right=0mm and 22mm] (c) at (b.after north east) {};
     \end{tikzpicture}
\end{document}
%%%%

regards,    zarko

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
(Continue reading)

Zarko F. Cucej | 19 Feb 2013 14:57
Picon

key for omit drop shadow

Hi,
for bunch of my tikz pictures i design common tikzset, where i defined 
properties of used shapesand lines. many of them have dropped shadow, 
but sometime it happens, that for particular shape i like to omit 
dropped shadow but preserve common tikset because of other definition in 
it and standardised designof sketches. I tried with

shapeX/.add style = {}{drop shadow=none}

similar as this is possible at driving lines, but without any success. 
apparently tikz doesn't provide this functionality ...

do someone know for solution? or i need to make feature request?

well, i can always determine new style name for these cases, but his 
make me problems all the time inventing a new (short) names with some 
meaning ...

regards,    zarko

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Gmane