16 Mar 18:26 2015

### chessboard and intersections

Hello.

With the following ECM :

begin{tikzpicture}
\draw [red] (0,0) rectangle (5,5);
\draw [green] (5,0) rectangle (10,5);
\draw [green] (0,5) rectangle (5,10);
\draw [red] (5,5) rectangle (10,10);
\end{tikzpicture}

... each square is "over" the previous one :
the upper right red square has his outer line over the others
in the middle of the figure.

How can I avoid this
and have all lines visible and exactly connecting at point (5,5) ?

I apologize for my poor english
and for this basic question :
as I hardly describe it,
I was unable to find its solution in the manual.

Thanks.

Patrick

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

15 Mar 20:20 2015

### An online tool for previewing and sharing LaTeX notes

[Please disregard if you found it irrelevant.]

I built a LaTeX-related website that I would like to share. Originally I built it as a side-by-side tool for my own convenience when sketching TikZ images. I hope some of you may find it useful:

SimpleLaTeX
http://www.simplelatex.com

Introduction
SipmleLaTeX is an online tool where you can preview and share short notes in LaTeX. It may be useful if you are writing a complicated equation, table, or TikZ image that requires iterative trial-and-error. Current features include:
• A trimmed image is generated and displayed in scalable SVG;
• Images in PDF and PNG formats are also available for download;
• You can save your note being sketched to your browser's cache, which will be loaded next time you visit;
• You can publish your compilable note and share it with others.
The site requires HTML5 support so it may not work in older browsers.

SimpleLaTeX is not designed to handle full LaTeX documents such as writeLaTeX does. The goal is to be light-weight and in spirit more like jsfiddle

Any suggestions are welcome. Thanks!

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

5 Jan 12:14 2015

### [SPAM] Tonio j

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

12 Dec 10:24 2014

### TikZ 3.0 - path fading and Acrobat XI

Hello,

I have the following problem. After using TiKZ 3.0 I can not print my
generated documents in Acrobat XI. Acrobat shows the document as normal,
but when I try to print there is an error message that no page for
printing is available. When I use a version prior TiKZ 3.0 no error
occurs. The problem occurs under MiKTeX and TeXLive.

Here is a small example that produces the described behaviour:

\documentclass{scrartcl}

\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
\fill[fill=green,path fading=circle with fuzzy edge 10 percent]
(0,0) circle (3cm);
\end{tikzpicture}
\end{document}

Kind regards
Christoph

--

--
Institute of Telematics
Hamburg University of Technology
Schwarzenbergstrasse 95
21073 Hamburg, Germany

Tel.: (+49) 40 42878-3375
Fax:  (+49) 40 42878-2581

------------------------------------------------------------------------------
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE

23 Sep 20:11 2014

### [fit] and [tranform shape]

comportemen of [fit] associated with [tranform shape] has changed since the last release.
the problem is stated here : http://tex.stackexchange.com/questions/183457/inconsistent-behavior-of-tikz-fit-and-transform-shape

I find that the proposed solutions are regressions

robert

--
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

17 Sep 21:19 2014

### PGF, TikZ, LyX, and TikZ-Editor under OS X

Hello,

I'm new to this list because I just started using PGF/TikZ and now have a few questions. I'm hoping someone out there has passed this way before. I have two fairly general questions.

I'm working on a book project and using LyX to write the book. Because the book will involve several different macroeconomic models, I plan to use TikZ to draw a series of stock/flow diagrams. I will use these both for explaining the models in the book, as well as for developing my own thinking about them as they evolve.

So at the most basic level is the question of what's the best way to do this with LyX. I realize half of this may be a question more about LyX than PGF/TikZ, but because my second question is primarily about PGF/TikZ and the two are related, I am posting them both here.

I have successfully produced PGF/TikZ diagrams in straight LaTeX and some simple diagrams in an otherwise bare LyX file by inserting LaTeX commands in a LyX Tex Code block (ERT). The next step will be to create more complex documents, with figures inserted as figure floats with captions, and then somehow insert the figures themselves. "Somehow" because I'm unsure of the best way to do this.

Ideally the inserted figure would basically just be the PGF/TikZ code, as when one uses straight LaTeX with PGF/TikZ. This will probably have to be within a Tex Code block (ERT). In turn, this would be on sub-document of some kind, most likely a child document. So the top-level document would be a regular LyX file with captioned figure floats; In turn, each figure float would use a child document for its figure, and each child document would just have an ERT block containing the instructions to draw the diagram (i.e., \begin{tikzpicture} ... \end{tikzpicture}). The diagram would then be rendered in the LyX document via the Instant Preview feature and on the final output via pdfLaTeX.

I realize I could just use PGF/TikZ to generate diagrams in pdf format, but I want the figures to be susceptible to easy editing. This is especially important because as the models increase in complexity I will probably want to change the graphical conventions in the diagrams (e.g., replacing rectangles with pentagons as the shape for financial institutions.

Is this the best way to accomplish my goal of having flexible, editable diagrams throughout the book, or is there a better way to address this?

My second question concerns composing the diagrams themselves. Since I'm new to PGF/TikZ, since the project will last a few years during some which I will not be working with diagrams, and since I intend to take advantage of the programability of PGF/TikZ, I want to use a "parser/renderer" that displays the resulting figure as one edits the PGF/TikZ code. TikzEdt is such a parser/renderer, as is Fred Peschanski's TikZ-Editor. But since I'm using Macs and the site for TikzEdt has disabled OSX downloads due to problems, so I think I'm left with TikZ-Editor as my only option.

But thus far I've been unable to make TikZ-Editor work. I downloaded the dmg file and installed the program. But when run it, it throws an error message saying it can't find "preview.sty."

I checked with TeX Live, which says preview.sty is installed. So I thought Tikz-Editor is not installed properly. Its README file says it needs Python, PyQt, QScintilla, and ImageMagick. Moreover, I'm using Macs running OS X, and the README file says a Mac OS X installation must have Python packages altgraph and modulegraph installed and pyinstaller to build the bundle. I started doing this but soon realized all this is very unlike what one usually encounters with Macs. For example, I can only find source code for PyQt, and while compiling the program is not beyond me, I've never had to do this before for common Mac software. So I started looking for a complete, pre-compiled bundle for TikZ-Editor, and I soon came across a forum page saying that TikZ-Editor was not seeing preview.sty because its search path was not right. But I cannot find a way to change the search path in TikZ-Editor. (I also looked to see if there's a forum devoted TikZ-Editor so I could ask my questions there, but so far have not found one.)

Basically my questions boil down to:
1. What is the best way to include PGF/TikZ graphics in a complex document being composed in LyX?
2. What is the best and most efficient way to develop the commands for PGF/TikZ graphics, particularly with an development environment combining syntax checking, code parsing, and dynamic (WYSIWYG) rendering of the graphic being developed?

Sorry to be so long-winded. I just want to give enough information so that you wizards out there can give meaningful help. Please share your wisdom if you've tread this path before, and please help me if you can.

Thanks.

Marsh

------------------------------------------------------------------------------
Want excitement?
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

17 Sep 12:19 2014

### datavisualization with plain TeX

Hello,

the lines 2398 to 2401 in the file tikzlibrarydatavisualization.code.tex
call for the macro \tikzdvdeclarestylesheetcolorseries defined in line 2386
and this macro call two macros
• \definecolorseries
• \resetcolorseries
which are defined in xcolor.sty, but not in color.sty, the only one which is usable under plain TeX.

For the moment beeing I've just commented those 4 lines but I hope there are other remedies.

Paul BOURDET
------------------------------------------------------------------------------
Want excitement?
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

8 Sep 00:54 2014

### Tikz and Latex math mode

Good afternoon all,
I am trying to (1) draw diagrams and position them, and
(2) fit these gracefully inside $$..$$ structures.
I seem to have settled (1) below, but (2) still eludes me.
I have not managed  to find sections of the manual covering such things -
perhaps I don't recognize them! And I looked in the archives
without success.

Cheers
Greg Bennett
%-- Start code
%% This is tikz-try.tex
%% Can I draw tableau diagrams ?
%% This will need tikz and, later, math mode in LaTeX when
%% I need to take functions of diagrams.

%% The diagrams consist of rows of boxes, left aligned, one under the other
%% always with non-increasing lengths. They correspond to the partition
%% of integers.

%% Thus 4 = 2+1+1 leads to a diagram with row1 having 2 (empty) square boxes,
%% row 2 has 1, and row 3 has 1.

%% Since the bottom line of each row doubles as the top line of the row beneath it,
%% and since tha right side of, e.g., the first box is the left side of the second,
%% I really only need to draw a sequence of left, bottom shapes - reverse Ls,
%% and then (1) draw a top line, and (2) draw the left sides for the first box in
%% each row.

\documentclass{article}
\usepackage{tikz}
\begin{document}

%% Flexibility suggests that the code for a row take 3 arguments:
%% x,y for the top left of its initial box to allow arbitrary placement,
%% n for the number of cells. Here goes!

\newcommand{\drawrow}[3]{% x1, y1, n
\foreach \shift in {1,...,#3}{
\draw[line width=1pt] ( #1 + \shift,#2)--(#1 + \shift, #2 - 1);
\draw[line width=1pt] (#1 + \shift,#2 - 1)--(-1 + #1 + \shift, #2 - 1);
}
}

\newcommand{\drawleft}[2]{%x1, y1
\draw[line width=1pt] (#1,#2)--(#1, #2 - 1);
}

%% Now the top row
\newcommand{\toprow}[3]{%x1, y1, n
\draw[line width=1pt] (#1,#2)--(#1+#3,#2); % top line
\drawleft{#1}{#2}; % close the first box on the left
\drawrow{#1}{#2}{#3}; % draw the rest of the reverse-L shapes
}

%% and then other rows
\newcommand{\otherrow}[3]{%x1, y1, n
\drawleft {#1}{-1*#2}; % left close this row
\drawrow{#1}{-1*#2}{#3}; % draw the reverse-L shapes
}

%% Here (I hope) and some diagrams side by side
%% with some symbols too.

\begin{tikzpicture}[scale=0.5]
\toprow{1}{0}{2};
\otherrow{1}{1}{1};
\otherrow{1}{2}{1};
\draw (4,-1) node {$=$};
\toprow{6}{0}{1};
\otherrow{6}{1}{1};
\otherrow{6}{2}{1};
\draw (9,-1) node {$+$};
\toprow{11}{0}{2};
\otherrow{11}{1}{1};
\end{tikzpicture}

%% Now I need to wrap the left diagram as an argument to a function D
%% since the result is D(first diagram) = second diagram + third diagram.

%% Try putting the whole thing inside math delimiters:
$$D = \left( \begin{tikzpicture}[scale=0.5] \toprow{1}{0}{2}; \otherrow{1}{1}{1}; \otherrow{1}{2}{1}; \end{tikzpicture} \right) \begin{tikzpicture}[scale=0.5] \draw (4,-1) node { = }; \toprow{6}{0}{1}; \otherrow{6}{1}{1}; \otherrow{6}{2}{1}; \draw (9,-1) node { + }; \toprow{11}{0}{2}; \otherrow{11}{1}{1}; \end{tikzpicture}$$

%% Well that's not quite right in two ways. The diagrams need to be lowered
%% relative to the parentheses, and those need to become a bit smaller.
%%

\end{document}
%--End code
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

7 Sep 13:41 2014

### Problem using plain TeX and the circuits package.

Hi,

when I tried to reproduce the electric schema p.574 of the manual with the code

\tikz [circuit ee IEC] {
\node (R1) [resistor,point up,ohm=5] at (3,1) {};
\node (R2) [resistor,ohm=10k]
at (0,0) {};
\draw (R2) -| (R1);
}

I noticed this problem :

• the use of \mathrm in the package code make impossible the use of the option "ohm=xx" ;

Is there a way to overrun this ?

Paul Bourdet
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

27 Aug 18:09 2014

### TikZ bug in ConTeXt

Hi,

Anyone could help me with this bug: http://www.ntg.nl/pipermail/ntg-context/2014/077374.html
It seems that ConTeXt does not change the TikZ color. I don't know it it's context or tikz bug.

Can anyone test it?
I use context minimals.

Xavier
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pgf-users mailing list
pgf-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgf-users

6 Aug 14:01 2014

### pgf 3.0 manual nonlineartransformations example

Dear all,

today I installed MacTeX2014 on my computer, mainly because of pgf 3.0.
I want to explore this cool new nonlineartransformation feature and
started by testing the examples from the manual (starting p. 1057).
By surrounding the \def\polartransformation with a pair of \makeatletter
\makeatother I was able to get the polar transformation working.

Now I am stuck with the examples regarding the curvilinear library...
I am getting an error
"! Undefined control sequence.
<argument> \pgf
l.14	\draw (0,-30pt) grid [step=10pt] (80pt,30pt);
?"
with the following code:

\documentclass[tikz]{standalone}
\usepgfmodule{nonlineartransformations}
\usetikzlibrary{curvilinear}
\begin{document}
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,2);
{
\pgfsetcurvilinearbeziercurve
{\pgfpoint{0mm}{20mm}}
{\pgfpoint{11mm}{20mm}}
{\pgfpoint{20mm}{11mm}}
{\pgfpoint{20mm}{0mm}}
\pgftransformnonlinear{\pgfpointcurvilinearbezierpolar\pgf <at> x\pgf <at> y}%
\draw (0,-30pt) grid [step=10pt] (80pt,30pt);
\draw [blue, very thick] (20pt,10pt) -- (0,0) -- (20pt,-10pt);
}
\draw[red, very thick]
(0mm,20mm) .. controls (11mm,20mm) and (20mm,11mm) .. (20mm,0mm);
\end{tikzpicture}
\end{document}

This is working, however, with the \polartransformation in effect (and
eliminated \pgfsetcurvilinearbeziercurve{}{}{}{} and curvilinear library).

Reading the manual, I would expect the \pgfpointcurvilinearbezierpolar
to have two arguments {}{}, missing in the code. But just putting \pgf <at> x
and \pgf <at> y there doesn't do the trick. (Don't laugh at me, I don't know

Do you have any suggestions?

Thanks and all the best,
Anuschka

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.