I have drawn the boxes A to F and the arrows. What I do not know is how to draw the two outer blocks - block1 covering blocks A to D and block2 covering E and F. I would really appreciate some help.
121992
I understand that there are some questions here regarding the block diagrams. However, I am strongly interested in one particular style shown as below:    This is a picture from a paper. As can be seen, the text can be selected there. So it is not an attached picture. I suppose it is done by LaTeX.  Could anyone point me to the right direction to achieve this?  (I specially LOVE the colored "thin grid"! It is much more beautiful than the fully filled color!)
3766
I was trying to get the symbol of the old .  I'm actually interested in the laurel leaves, and not so much in the banner per se.  What I would like to have is something like this (in Tikz, as oppose to simply \includegraphics).  With the possibility to change the stylish A to any other simple roman letter.    I'm a complete newbie with TikZ, and even though I know this question sounds like do this for me, I would really appreciate if someone could at least throw in an sketch where to start.
12824
I've been having a problem with these problems for a week now so I thought I'd post it on MSE. Read the text below. . I've also typed it up:  Annabel made a shape by placing identical square tiles in a frame as shown in the diagram above. The tiles are arranged in columns. Each column touches the base but no columns touch the side or top. There are no empty gaps between columns. The frame can be enlarged as needed.  These are the questions. I've also typed them up.    A. Show that it is possible to arrange $7$ tiles so that the ant walks $8,9,10,11,12,13,14,15$ tile edges.   B. Show 6 ways of arranging 7 tiles so that the ant walks a total of 9 tile edges.  C. Show it is possible to arrange 49 tiles so that the ant walks a total of less than 21 tile edges.  D. Show four arrangements of 137 tiles, each arrangement with a different maximum height, so that the ant walks a total of 34 tile edges.  For question $a$, is there a formula relating the number of tile edges exposed to the number of tiles. These are my answers for $a$    For the above picture, it's the left hand side which has the $a$ answers.  However, I'm having a bit of trouble with $b$. I've already got four answers down but where are the other two. My four current answers are in the right hand side of the last image. Also, I'll also appreciate a formula to show the relationship.  I'm also having trouble with $c$. I found out that you get 21 tile edges exposes when you make a $7*7$ square but the answer is asking for less than 21. Can anyone help me. Also, as in the previous questions, a formula to show the relationships would be great.  And for $d$, I am totally lost. I have no idea where to start, and I certainly can't find out four arrangements. So can anyone help me? And as always, a formula is nice  P.S. Please explain this in an understandable formula, as I'm only a Year 7 with the ability to understand linear algebra and parts of quadratics and trigonometry. Also, sorry about the poor imaging.
67768
Given a $10×10$ grid with $9$ red blocks and $91$ white blocks, in each step we color one red block black and after that one white block red until there are $91$ black blocks and $9$ red blocks. Prove that there exits a step in which a black block shares an edge with a white block. I ran a few trials and couldn't get past the fifth step without adjacency. But I don't know how to build a proof.
13
I'm trying to draw an automata as follows:  \begin{tikzpicture}[&gt;=stealth',shorten &gt;=1pt,auto,node distance=2.8cm]   \node[initial,state] (q1)      {$1$};   \node[state]         (q2) [right of=q1]  {$2$};   \node[state] (q4) [below right of=q2] {$4$};   \node[state, accepting]         (q3) [above right of=q4] {$3$};    \path[-&gt;]          (q1)  edge                 node {a} (q2);   \path[-&gt;]          (q2)  edge   [bend left]   node {b} (q3);   \path[-&gt;]          (q3)  edge   [bend left]   node {a} (q2);   \path[-&gt;]          (q2)  edge                 node {b} (q4);   \path[-&gt;]          (q4)  edge                 node {a} (q3); \end{tikzpicture}   However, the bending seems to be "too much", and it interferes with the two arrows to/from q4. In addition, I'd like the labels on those two arrows to be on the other side of the arrow. Sadly I couldn't find how to do it online so I turned to this page.
115638
I want to make a visual representation of three sets namely S,A and B where A is a subset of B and B is a subset of S. It looks like this:   Basically, one rectangle with two circles inside it. One circle (any color) is inside the other circle (different color than the other circle).
112360
I have the following code:  \draw[step=1.0,black,thin] (0.5,0.5) grid (5.5,4.5);   which I would like to have generate grid lines in the Y direction at y = {0.5, 1.5, 2.5, 3.5, 4.5} and grid lines in the X direction at x = {0.5, 1.5, 2.5, 3.5, 4.5, 5.5}.   However, I get grid lines at y = {1.0, 2.0, 3.0, 4.0} and x = {1.0, 2.0, 3.0, 4.0, 5.0} with half cells around the edges of the grid. So instead of having a closed uniform grid, I get one with open edges and two half cells at the borders.   Does anybody know why it doesn't honor the starting point and stride?
80502
I'm wondering if there is a tool or simple method that will allow me to turn a simple pencil/pen sketch into something like the two images below.  I received these in a newsletter from a Kickstarter project and wondering how someone would go about making them.
108688
I am trying to draw a graph containing lattice points and vectors.  I wish it to look something like this:    I am not sure how to go about it, however, I would ideally like to be able to use PGF/TikZ.  Is this possible, or would I need to download and install a package like GeoGebra to create the graph, and export it into PGF/TikZ format?  Again, I am not sure whether or not this is possible using GeoGebra.  Any suggestions would be appreciated.    Follow-up Question:
104153
In the series of concentric shapes, this is another drawing that I'm unable to figure out. The top is not quite a complete semi-circle. Note that some of my labels got left out in the scan.
20941
As in , the code  \draw[step=0.5cm,color=gray] (-1,-1) grid (1,1);   gives me a nice finite 4x4 grid. But when I choose a different starting point, like  \draw[step=0.5cm,color=gray] (2,2) grid (4,4);   then the left and the bottom border of the grid disappears. What is the problem and how can I fix it so that I have all the borders? I know I can draw a rectangle there, but I assume there is some cleaner solution.
61082
I have  \begin{tikzpicture}[-&gt;,auto,node distance=3cm,   thick,main node/.style={draw,font=\bfseries}]   \node[main node] (111) at (0,1) {$X_{1,1}^{(1)}$};   \node[main node] (121) at (0,2) {$X_{1,2}^{(1)}$};   \node[main node] (1n1) at (0,4) {$X_{1,n}^{(1)}$};   \node[main node] (211) at (0,6) {$X_{2,1}^{(1)}$};   \node[main node] (221) at (0,7) {$X_{2,2}^{(1)}$};   \node[main node] (2n1) at (0,9) {$X_{2,n}^{(1)}$};   \node[main node] (n11) at (0,11) {$X_{n,1}^{(1)}$};   \node[main node] (n21) at (0,12) {$X_{n,2}^{(1)}$};   \node[main node] (nn1) at (0,14) {$X_{n,n}^{(1)}$};   \node[main node] (112) at (2.5,1) {$X_{1,1}^{(2)}$};   \node[main node] (122) at (2.5,2) {$X_{1,2}^{(2)}$};   \node[main node] (1n2) at (2.5,4) {$X_{1,n}^{(2)}$};   \node[main node] (212) at (2.5,6) {$X_{2,1}^{(2)}$};   \node[main node] (222) at (2.5,7) {$X_{2,2}^{(2)}$};   \node[main node] (2n2) at (2.5,9) {$X_{2,n}^{(2)}$};   \node[main node] (n12) at (2.5,11) {$X_{n,1}^{(2)}$};   \node[main node] (n22) at (2.5,12) {$X_{n,2}^{(2)}$};   \node[main node] (nn2) at (2.5,14) {$X_{n,n}^{(2)}$};   \node[main node] (11k) at (6,1) {$X_{1,1}^{(k)}$};   \node[main node] (12k) at (6,2) {$X_{1,2}^{(k)}$};   \node[main node] (1nk) at (6,4) {$X_{1,n}^{(k)}$};   \node[main node] (21k) at (6,6) {$X_{2,1}^{(k)}$};   \node[main node] (22k) at (6,7) {$X_{2,2}^{(k)}$};   \node[main node] (2nk) at (6,9) {$X_{2,n}^{(k)}$};   \node[main node] (n1k) at (6,11) {$X_{n,1}^{(k)}$};   \node[main node] (n2k) at (6,12) {$X_{n,2}^{(k)}$};   \node[main node] (nnk) at (6,14) {$X_{n,n}^{(k)}$};   \node[main node] (11n2) at (9.5,1) {$X_{1,1}^{(n-2)}$};   \node[main node] (12n2) at (9.5,2) {$X_{1,2}^{(n-2)}$};   \node[main node] (1nn2) at (9.5,4) {$X_{1,n}^{(n-2)}$};   \node[main node] (21n2) at (9.5,6) {$X_{2,1}^{(n-2)}$};   \node[main node] (22n2) at (9.5,7) {$X_{2,2}^{(n-2)}$};   \node[main node] (2nn2) at (9.5,9) {$X_{2,n}^{(n-2)}$};   \node[main node] (n1n2) at (9.5,11) {$X_{n,1}^{(n-2)}$};   \node[main node] (n2n2) at (9.5,12) {$X_{n,2}^{(n-2)}$};   \node[main node] (nnn2) at (9.5,14) {$X_{n,n}^{(n-2)}$};   \node[main node] (11n1) at (12,1) {$X_{1,1}^{(n-1)}$};   \node[main node] (12n1) at (12,2) {$X_{1,2}^{(n-1)}$};   \node[main node] (1nn1) at (12,4) {$X_{1,n}^{(n-1)}$};   \node[main node] (21n1) at (12,6) {$X_{2,1}^{(n-1)}$};   \node[main node] (22n1) at (12,7) {$X_{2,2}^{(n-1)}$};   \node[main node] (2nn1) at (12,9) {$X_{2,n}^{(n-1)}$};   \node[main node] (n1n1) at (12,11) {$X_{n,1}^{(n-1)}$};   \node[main node] (n2n1) at (12,12) {$X_{n,2}^{(n-1)}$};   \node[main node] (nnn1) at (12,14) {$X_{n,n}^{(n-1)}$};   \path     (111) edge (112)         edge (122)         edge (1n2)     (121) edge (112)         edge (122)         edge (1n2)     (1n1) edge (112)         edge (122)         edge (1n2)     (121) edge[--,dashed] (1n1); \end{tikzpicture}   I just want simple lines, no arrows. How to manage with edge to achieve that? Thanks
95087
I'm having a bit of a headache right now as I can't draw this basic figure:  A straight line goes through points A and B. Another line is perpendicular to AB and goes through an arbitrary point P.  I fiddled with the |- operator but it only seems to work with horizontal or vertical lines. Is this even possible?  Bonus question: when drawing AB, is it possible to let the line poke out a little? For example, when writing \draw (A) -- (B); the line strictly goes from A to B. I'd rather have a line passing through these points but starting 1cm in front of A and ending 1cm after B (for example).  Thank you for your help :)
54191
I need to typeset a block matrix that is made of a 2X2 structure of blocks such that the (1,1) block and the (2,2) blocks are zero and the (1,2) and the (2,1) blocks are non-zero (and happen to have a band structure of 5 diagonals). If I were writing this matrix on a blackboard, I would put a big zero  in the middle of the zero blocks, perhaps separate the blocks out with a horizontal and vertical line and also put big zeros in the 4 triangles that form around the band structure. I would also have diagonal showing the band structure.  My knowledge of LaTeX allows me to place \vdots, \hdots and \ddots inside an array but this is less than satisfying. Is there a nice solution for making beautiful band structured matrices?
783
I am trying to create a flowchart with Tikz. Since it is a long one, it spans three pages. So after creating a node to stop, I am continuing to the next page using \newpage command. Unfortunately some elements in page 1 are connected to page 2, 3 and vice versa. So when I try to create the arrow connection, it is not possible since the \newpage command comes in between. I am sharing the code with you for info. Could  anyone help me to improve the flowchart so that I could direct the arrows among multiple pages. My sample code is below:  \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture} \newpage \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture} \newpage  \begin{tikzpicture} \node 1 \node 2 ........ \draw[arrow] (node1)--(node2) \draw[arrow] (node2)--(node3) ---- \end tikzpicture}
21033
I wish I knew how to draw the this commutative diagram with the TikZ package.    I would also like to know how to put subtitles in the diagram.
41863
Questions:   Why are the top corners of this number line missing? Why aren't the bottom corners or any other corners of this number line missing? How do I ensure the corners are always there?     \documentclass{article}  \usepackage[left=1.5cm,right=1.5cm,top=2cm,bottom=2cm]{geometry} \usepackage{tikz}   \begin{document}  \begin{tikzpicture}[line width=0.08cm]  \draw (0,0)--(5,0); \draw (0,0.3)--(5,0.3);  \foreach \x in {0,...,5}  {  \node at (\x,-0.55) {\x};  \draw (\x,-0.3)--(\x,0.3);  }  \foreach \x in {0,...,5}  \draw (\x,0)--(\x,0.3);  \end{tikzpicture}  \end{document}   That code yields this: