Home >

# tikz pgf

• ## Mixing tikz nodes and tabularMay 22

I'm trying to get a node to fit all the cells in a table inside a tabular environment, but it seems tikz can only work inside the current cell in my document and in the minimal example it showed something even weirder covering half the table, then wh

• ## How Do I Draw Two Overlapping Rectangles?April 16

I'm working on an interaction diagram for a programming design course. For sets of objects, I am required to draw overlapping rectangles, roughly as such: There was a post on overlapping fills that seems pretty close to what I want, but I couldn't fi

• ## How do I create the following rectangular symbol?April 15

I am interested in creating a symbol-sized tikz drawing with a rectangle half the width of the symbol (and the height of a symbol) and an arrow coming out from the middle right side of the rectangle pointing to the right (the arrow head should be rat

• ## How to Create a Table in Tikz with Arrows from One Cell to Another?April 15

I would like to reproduce a table in tikz with arrows from predefined cell to another predefined cell. Something looks like this. What I did was the following: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,matrix,positioning} \tik

• ## Help formatting a commutative diagram in TikZApril 15

I need some serious help getting this commutative diagram to look presentable. I've been messing around with it for literally weeks and this is the best I've got. The only suppression that I could accept is swapping $H^{n-p}(F)$ for a suppression lik

• ## Thickness of pgfplot line makes data look jagged April 14

I am trying to plot some experimental data. When I plot the data using tikzpicture/pgfplots, the data seems "noisy". It becomes less "noisy" when I use the keyword each nth point={n}, where I increased n to 1, 10, 50, 100 (see attached

• ## Drawing an ellipsoid around an external figureApril 14

I have a Tikz question to pose. Is it possible to draw an ellipsoidal figure about this molecular shape using Tikz? The ellipsoidal figure would look something like:

• ## Label graphs GnuPlot and tikzFebruary 20

I'm trying to label some plots but I can't seem to figure it out. I am trying to get something that looks a bit like this: Found in the texanmple website here. I would like to label the function corresponding to each plot as shown in the figure above

• ## Tikz: deal with exceptions within loopsFebruary 18

I am a fan of \foreach loops in tikz, but often find myself in a situation where I want to make an exception for a single iteration of the loop. For example, \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[every node/.s

• ## How to import data file in pgfplots? How to enlarge Tex Memory?February 17

\documentclass[paper=a4, fontsize=11pt]{article} %\usepackage{tikzpicture} \usepackage{pgfplots} \usepackage{tikz} \newcommand{\horrule}[1]{\rule{\linewidth}{#1}} % Horizontal rule \title{ %\vspace{-1in} \usefont{OT1}{bch}{b}{n} \normalfont \normalsi

• ## PGF/TikZ closed curveFebruary 16

As a math teacher I regularly draw curves with GeoGebra then export them to my LaTex files as PGF/TikZ. I recurrently face the closed curves syndrome on my prints. Trying to be clear : my curves are perfect on the computer screen but on paper the pri

• ## How can I make note paper in LaTeX? February 16

This question already has an answer here: How to use Latex to print a document to look like a lined notebook? 2 answers I would like to make note paper, such as this in LaTeX. I know that you can achieve this with TikZ. I wanted to ask if there exist

• ## tikz-cd: anchoring and shifting arrowsDecember 22

I would like to ask you what is the best method to shift and anchor arrows in tikz-cd package. To be more specific, by means of the following code: \documentclass{article} \usepackage{amsfonts} \usepackage{tikz} \usepackage{tikz-cd} \usetikzlibrary{c

• ## How to draw the figure of two cylindrical cups?December 21

I need to draw two cylindrical cups, containing water, as in the following figure. Did perhaps more laborious method, although I have not been able to finish. Can someone help me to complete? \documentclass{article} \usepackage[a4paper,bottom=2cm]{ge

• ## create several lines using colormapOctober 8

I'd like to create an image in latex like the one below I created in matlab (matlab2tikz is not able to transform my original figure into tex code). I just need to know how to create a line that changes its color according to some z value. I have the

• ## Directing Tikz Arrow To Random PointsOctober 8

I have an arrow like below: It is generated using the below code: \documentclass{article} \usepackage[margin=0.3cm, paperwidth=3.3cm, paperheight=3.3cm]{geometry} \usepackage{tikz} \usetikzlibrary{shadows} \definecolor{darkblue}{rgb}{0.2,0.2,0.6} \de

• ## Tikz: cycling through a foreach functionAugust 24

I would like to cycle through the terms in a \foreach function. Here's my code: \foreach \n in {cdof,cc,cdus,ads,aiw} \draw [->] (\n) |- ($(\n)+1$); However, as expected, this breaks down as there is no term after 'aiw'. I've tried putting in a condi

• ## Drawing Curved Arrow Using TikzAugust 24

I have the figure like the below one: The image is produced using the code below: \documentclass[tikz, border=3mm]{standalone} \usetikzlibrary{arrows.meta,chains,matrix,decorations.pathreplacing} \begin{document} \begin{tikzpicture}[ node distance=0p

• ## Using \foreach in tikzAugust 24

I'm new to tikz and I'm trying to get my head around the \foreach function. Here's my code: \documentclass[border=10pt]{standalone} \usepackage{tikz}\usetikzlibrary{calc,shapes,positioning,arrows,positioning,shapes.geometric,fit,trees} \begin{documen

• ## Partial or entire Image Blurring in TikZ?April 22

Partial or entire Image Blurring in TikZ? I have seen some examples of drop shadow blurring in the pgf-blur package version 1.01 by Martin Giese but this isn't what I mean. Is it somehow possible to do partial or entire Image Blurring in TikZ, just l