Tag Info

New answers tagged

4

Is this what you want? Problem 1: Adding the pictures, like database Display Database Instance Relationship with TikZ, for example in the cells (stack-5-6) (stack-6-6) with the name to make an arrow in future. Cells (stack-5-6) (stack-6-6) doesn't exist because you declared option nodes in empty cells=false and no nodes are created in empty cells. But ...


5

A PSTricks solution: \documentclass{article} \usepackage{pstricks} \begin{document} \psset{dimen = m} % no overlapping of the rectangles \begin{pspicture}(8,4) \psframe(0,0)(8,2) \psframe(0,2)(8,4) \psframe[ fillstyle = solid, fillcolor = orange!70 ](0,2)(2,4) \end{pspicture} \end{document} or \documentclass{article} ...


7

The non-alignment is caused by the use of thick for one rectangle but not the others. If you need variable line widths, you can compensate for the difference either by checking the widths TikZ is using for regular and thick lines or by specifying the widths you want. For example: \documentclass[a4paper,10pt]{standalone} \usepackage{tikz} ...


8

Here is one attempt using hobby. \documentclass[tikz]{standalone} \usetikzlibrary{hobby,patterns} \begin{document} \begin{tikzpicture} \draw[thick,->] (52,0) -- (60,0) node[anchor=north west] {$x'$}; \draw[thick,->] (56,-04) -- (56,04) node[anchor=south east] {$x_N$}; \node[draw=red,dashed,thick,circle,minimum width=4cm] (n) at (56,0) {}; ...


5

Something like this is made with the libraries decorations.text and arrows.meta together with the correspondent options \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text,calc,arrows.meta} \begin{document} \begin{tikzpicture} \coordinate (O) at (0,0); \draw (O) circle (2.5); \draw (O) circle (1.5); \draw (O) circle (0.5); ...


3

Here is a beginning which demonstrates 2 ways to fill the spaces between the circles and one way to curve text around the circles. One basically fills the circles in reverse order of size so that the fill for smaller circles overrides the fill from earlier circles. The other uses the 'even odd rule' for a single fill between two circles. The ...


2

Here is a green rectangle with black circles along the center: Notes: If you draw the circles after the square they will automatically be on top. Perhaps you had drawn the circles before the rectangle. Code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw [fill=green] (0,-1) rectangle (3,1); \draw ...


7

Here are some definitions of three different node set styles to get the aspect of the images you posted: The code: \documentclass[varwidth]{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{% decorations.pathreplacing,% decorations.pathmorphing,% arrows, arrows.meta, positioning, shapes, shadows, ...


5

You could use something like \draw [arrow] (p4.west) -- ++(-1,0) node[anchor=south,pos=0.5] {No} |- (p1.west); A complete example: \documentclass{sig-alternate} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows,positioning} \tikzset{ process/.style={ rectangle, minimum width=2cm, minimum height=1cm, align=center, text width=2cm, ...



Top 50 recent answers are included