<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Latest additions to the TikZ and PGF examples gallery</title><link>http://www.texample.net/tikz/examples/</link><description></description><atom:link href="http://www.texample.net/feeds/tikz/examples/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Sun, 09 Mar 2014 14:37:57 +0100</lastBuildDate><item><title>Coloring diagrams - linear relaxation</title><link>http://www.texample.net/tikz/examples/colored-diagram/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/colored-diagram.jpg" alt="Coloring diagrams - linear relaxation" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Henri Menke&lt;/p&gt;
&lt;p&gt;TikZ is used for reproducing a diagram by Lê Nguyên Hoang
seen: on &lt;a class="reference external" href="http://www.science4all.org/le-nguyen-hoang/integer-programming/"&gt;http://www.science4all.org/le-nguyen-hoang/integer-programming/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code was written by &lt;a href="http://texample.net/tikz/examples/author/henri-menke/"&gt;Henri Menke&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/147832/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Sun, 09 Mar 2014 14:37:57 +0100</pubDate><guid>http://www.texample.net/tikz/examples/colored-diagram/</guid></item><item><title>Energy level diagrams - illustrating Hund&amp;#39;s rule</title><link>http://www.texample.net/tikz/examples/energy-levels/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/energy-levels.jpg" alt="Energy level diagrams - illustrating Hund&amp;#39;s rule" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Henri Menke&lt;/p&gt;
&lt;p&gt;Here we illustrate Hund&amp;#8217;s rules, which is a set of rules in atomic physics
written by the German physicist Friedrich Hund. They are used to determine
the term symbol corresponding to the ground state of a multi-electron atom.&lt;/p&gt;
&lt;p&gt;All the coloring is done using styles so it is easy to change
the style of the drawing.&lt;/p&gt;
&lt;p&gt;The code was written by &lt;a href="http://texample.net/tikz/examples/author/henri-menke/"&gt;Henri Menke&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/124269/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Sun, 09 Mar 2014 14:33:23 +0100</pubDate><guid>http://www.texample.net/tikz/examples/energy-levels/</guid></item><item><title>LR constraints - Drawing and filling with arcs and Bezier curves</title><link>http://www.texample.net/tikz/examples/draw-fill-bezier-curves/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/draw-fill-bezier-curves.jpg" alt="LR constraints - Drawing and filling with arcs and Bezier curves" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Henri Menke&lt;/p&gt;
&lt;p&gt;We use TikZ to reproduce a diagram  seen in an article
&amp;#8220;The Left-Right Planarity Test&amp;#8221; by Ulrik Brandes.&lt;/p&gt;
&lt;p&gt;At first we adjust the bounding box by hand, because the control points
of the Bezier curves exceed the limits of the visible drawing.&lt;/p&gt;
&lt;p&gt;The code was written by &lt;a href="http://texample.net/tikz/examples/author/henri-menke/"&gt;Henri Menke&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/123947/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Sun, 09 Mar 2014 14:26:49 +0100</pubDate><guid>http://www.texample.net/tikz/examples/draw-fill-bezier-curves/</guid></item><item><title>Transversal loads</title><link>http://www.texample.net/tikz/examples/transversal-loads/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/transversal-loads.jpg" alt="Transversal loads" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Marco Castelli&lt;/p&gt;
&lt;p&gt;Transversal loads and bending moment on a cross section,
created with TikZ using the &lt;a href="https://github.com/hackl/TikZ-StructuralAnalysis"&gt;structuralanalysis&lt;/a&gt; package.&lt;/p&gt;

</description><pubDate>Sun, 09 Mar 2014 12:13:55 +0100</pubDate><guid>http://www.texample.net/tikz/examples/transversal-loads/</guid></item><item><title>Shear torsion</title><link>http://www.texample.net/tikz/examples/shear-torsion/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/shear-torsion.jpg" alt="Shear torsion" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Marco Castelli&lt;/p&gt;
&lt;p&gt;Structural analysis of three different torsional problem,
created with TikZ using the &lt;a href="https://github.com/hackl/TikZ-StructuralAnalysis"&gt;3Dstructuralanalysis&lt;/a&gt; package.&lt;/p&gt;

</description><pubDate>Sun, 09 Mar 2014 12:13:08 +0100</pubDate><guid>http://www.texample.net/tikz/examples/shear-torsion/</guid></item><item><title>Venn diagramm with PGF 3.0 blend mode</title><link>http://www.texample.net/tikz/examples/venn-diagram-blended/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/venn-diagram-blended.jpg" alt="Venn diagramm with PGF 3.0 blend mode" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Paul Gaborit&lt;/p&gt;
&lt;p&gt;With TikZ 3.0, there&amp;#8217;s a new kind of transparency: you can use &lt;cite&gt;blend modes&lt;/cite&gt;.&lt;/p&gt;
&lt;p&gt;From the manual:&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;A blend mode specifies how colors mix when you paint on a canvas. Normally, if you paint a red box on a green circle, the red color will completely replace the green circle. However, in some situations you might also wish the red color to somehow &amp;#8220;mix&amp;#8221; or &amp;#8220;blend&amp;#8221; with the green circle. We already saw that, using transparency, we can draw something without completely obscuring the background. Blending is a similar operation, only here we mix colors in more complicated ways.&lt;/p&gt;
&lt;p&gt;Note: Blending is a rather &amp;#8220;advanced&amp;#8221; feature of PDF. Most renderers, let alone printers, will have trouble rendering blending correctly.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Below is an example of screen blend mode (there are 16 modes: normal, multiply, screen, overlay, darken, lighten, color dodge, color burn, hard light, soft light, difference, exclusion, hue, saturation, color, luminosity).&lt;/p&gt;
&lt;p&gt;This code was written by &lt;a href="http://texample.net/tikz/examples/author/paul-gaborit/"&gt;Paul Gaborit&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/a/153399/213" rel="nofollow"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Fri, 28 Feb 2014 11:32:36 +0100</pubDate><guid>http://www.texample.net/tikz/examples/venn-diagram-blended/</guid></item><item><title>Drawing trees with the PG 3.0 pic feature</title><link>http://www.texample.net/tikz/examples/tree-pic/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/tree-pic.jpg" alt="Drawing trees with the PG 3.0 pic feature" 
/&gt;&lt;/p&gt;
&lt;p&gt;Authors:
Kate , Ignasi &lt;/p&gt;
&lt;p&gt;PGF 3.0 introduces &lt;cite&gt;pic&lt;/cite&gt;, a &amp;#8220;short picture&amp;#8221; which can be inserted
in any place of a tikzpicture.&lt;/p&gt;
&lt;p&gt;From the manual: A “pic” is a “short picture” (hence the short name&amp;#8230;) that
can be inserted anywhere in TikZ picture where you could also insert a node.
Similarly to nodes, pics have a “shape” (called &lt;cite&gt;type&lt;/cite&gt; to avoid confusion) that
someone has defined. Each time a pic of a specified type is used, the type’s
code is executed, resulting in some drawings to be added to the current picture.
The syntax for adding nodes and adding pics to a picture are also very similar.
The core difference is that pics are typically more complex than nodes and may
consist of a whole bunch of nodes themselves together with complex paths
joining them.&lt;/p&gt;
&lt;p&gt;Here we use the pic feature for drawing a tree several times.&lt;/p&gt;
&lt;p&gt;The code was written by &lt;a href="http://tex.stackexchange.com/users/16006/kate"&gt;Kate&lt;/a&gt; and &lt;a href="http://tex.stackexchange.com/users/1952/ignasi"&gt;Ignasi&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/126161/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Fri, 28 Feb 2014 11:11:34 +0100</pubDate><guid>http://www.texample.net/tikz/examples/tree-pic/</guid></item><item><title>Drawing a graph using the PG 3.0 graphdrawing library</title><link>http://www.texample.net/tikz/examples/drawing-graphs/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/drawing-graphs.jpg" alt="Drawing a graph using the PG 3.0 graphdrawing library" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Mark Wibrow&lt;/p&gt;
&lt;p&gt;PGF 3.0 offers a new convenient and capable library for drawing graphs.
The so called &lt;cite&gt;graphdrawing&lt;/cite&gt; library requires compiling via LuaTeX.&lt;/p&gt;
&lt;p&gt;The code was written by &lt;a href="http://texample.net/tikz/examples/author/mark-wibrow/"&gt;Mark Wibrow&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/144360/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Fri, 28 Feb 2014 09:51:38 +0100</pubDate><guid>http://www.texample.net/tikz/examples/drawing-graphs/</guid></item><item><title>Drawing angles using the PG 3.0 angles and quotes libraries</title><link>http://www.texample.net/tikz/examples/angles-quotes/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/angles-quotes.jpg" alt="Drawing angles using the PG 3.0 angles and quotes libraries" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Paul Gaborit&lt;/p&gt;
&lt;p&gt;PGF 3.0 brings a new library for drawing angles. A pic type &lt;tt&gt;angle=a--b--c&lt;/tt&gt;
adds a drawing of an angle to the current path. It consists of a &amp;#8220;sector&amp;#8221;
or &amp;#8220;wedge&amp;#8221; or &amp;#8220;slice&amp;#8221; whose pointed end is at point b and whose straight sides lie on the lines from b to a and from b to c. You can specify radius and eccentricity.&lt;/p&gt;
&lt;p&gt;Another new library &amp;#8220;quotes&amp;#8221; is providing a quote syntax for labels, pins,
edge nodes, and pic texts. You can use a simple string &amp;#8220;text&amp;#8221; or a string with
options, such as &lt;tt&gt;node["text" {red, draw, thick}]&lt;/tt&gt; to achieve an effect like
&lt;tt&gt;node[label={[red,draw,thick]text}]&lt;/tt&gt; with less writing and more readability.&lt;/p&gt;
&lt;p&gt;This code was written by &lt;a href="http://texample.net/tikz/examples/author/paul-gaborit/"&gt;Paul Gaborit&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/a/20864/213" rel="nofollow"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Fri, 28 Feb 2014 09:25:03 +0100</pubDate><guid>http://www.texample.net/tikz/examples/angles-quotes/</guid></item><item><title>Fancy arrows drawn with the PGF 3.0 arrows.meta library</title><link>http://www.texample.net/tikz/examples/fancy-arrows/</link><description>&lt;p&gt;&lt;img src="/media/tikz/examples/thumbs/fancy-arrows.jpg" alt="Fancy arrows drawn with the PGF 3.0 arrows.meta library" 
/&gt;&lt;/p&gt;
&lt;p&gt;Author:
Qrrbrbirlbel &lt;/p&gt;
&lt;p&gt;PGF 3.0 provides a new library called arrows.meta. Now you can bend arrows,
change arrow tips on the fly, have several arrow tips in a row, and you can use
a special syntax for changing the individual appearance.
You can scale, color, joing, bend, flex, and more, and now there are
a lot of more predefined arrow tips.&lt;/p&gt;
&lt;p&gt;This code was written by &lt;a href="http://tex.stackexchange.com/users/16595/qrrbrbirlbel"&gt;Qrrbrbirlbel&lt;/a&gt; answering a Question of &lt;a href="http://tex.stackexchange.com/users/39327/james-stav"&gt;James Stav&lt;/a&gt; and published on &lt;a href="http://tex.stackexchange.com/q/141805/213"&gt;TeX.SE&lt;/a&gt;.&lt;/p&gt;

</description><pubDate>Fri, 28 Feb 2014 09:04:07 +0100</pubDate><guid>http://www.texample.net/tikz/examples/fancy-arrows/</guid></item></channel></rss>