Tagged Questions
2
votes
0answers
46 views
How do I embed an external image within tikzpicture?
I tried the following:
\begin{tikzpicture}[]
\pgftext{\includegraphics[width=150pt]{pic1.png}} at (0pt,0pt);
\pgftext{\includegraphics[width=150pt]{pic2.png}} at (100pt,0);
\end{tikzpicture}
...
2
votes
1answer
63 views
Text decoration is trimmed off with standalone package
I am decorating an arc with text as shown in this MWE using the standalone class:
\documentclass[10pt,class=article]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
...
2
votes
2answers
88 views
'Figure' in tikz makes image move 'forward'
I have a weird problem, whereby if I make my existing tikz picture a 'figure', it suddenly moves forward, as in, past the paragraph that comes after it in the code.
That is, if the code that makes ...
3
votes
3answers
94 views
Insert text inside a image in eps format
UPDATE:I tried the solution with overpic and it works fine. But the problem is, sometimes, my experimental setup changes and I have to reproduce the eps file using different parameters from Matlab. ...
0
votes
2answers
106 views
Color and efficient vector graphics
I want to use complex monocolor vector graphics but I would like to be able to specify the color inside my latex source. Solutions :
Use a pdf, but I can't specify the color afterwards. Perhaps a ...
4
votes
1answer
107 views
Drawing a grid on each image inside the array of images
Please see what I have written,when I need individual grid on each of picture inside my figure-array. In contrast to previews question Drawing a grid on array of images. Question now is why I can't ...
4
votes
3answers
136 views
Drawing a grid on array of images
I have nice story to tell with pictures. There Maltese type cross which is processing and twisting at the same time. So to make it more visual in paper i need grid something like this Drawing on an ...
14
votes
4answers
390 views
Can fuzzy borders be added to external pictures programmatically?
In my opinion, external pictures are often more pleasing to the eye on a white background when they have fuzzy rather than "sharp" borders. For instance, compare this
to that
Adding fuzzy ...
10
votes
3answers
394 views
Drawing a 3D cone
I want to create some thing like this ,
but instead of a box, I use another object (a dog silhouette). Here is what I have so far
\begin{tikzpicture}
\begin{scope}[scale=0.25, xshift=70, ...
3
votes
2answers
104 views
Draw a grid for obtaining coordinates to pass to includegraphics' viewport option
I want to include only parts of an image.
For this, I use the viewport option of graphicx's includegraphics.
To find the coordinates, I go by trial and error, adapting the viewport argument until I ...
2
votes
1answer
118 views
Blurry Show Background
I am trying to create a frame for each of my figures. Something's like this - a plain white rounded rectangle with a blurry shadow.
Could this be done in latex? Could you show me how?
5
votes
1answer
65 views
How to eliminate spacing in tikzpicture?
It seems that, when using Tikz, nodes and/or the tikzpicture environment add space around a drawing. An example is shown in the following MWE, where a simple square is drawn three times. First it is ...
1
vote
1answer
100 views
Disable “clip” and “use as bounding box” in TikZ
Problem
I use a tool which generates TikZ-Code (R with tikzDevice, to be precise). But the generated picture has a wide white border which I want to remove. When I manually (or with a script) remove ...
3
votes
0answers
161 views
Making a family of graphs in TikZ by a few definitions
I am trying to make in TikZ a family of graphs, as in included pictures. I can make them one by one, using nodes (circle/square/triangle, black/white) and joining them. However it seems to me, that ...
6
votes
1answer
136 views
Create a Frequency Allocation Diagram
I need to reproduce a frequency allocation diagram in TeX. I prefer TikZ but open to PSTricks. I can create a simple bar allocation char using \node but unsure how to create layered blocks like the ...
6
votes
2answers
144 views
How to elegantly create a pyramid hierarchy in tikz
I want to create a pyramid hierarchy in tikz with smooth sides (unlike this step-pyramid) and place text in each level. Shown below is how I am currently doing this, is there a better way?
...
6
votes
2answers
153 views
How to make an image for backgrounds with exact A4 dimensions?
In order to make a background image that fits the page perfectly, I have tried two things. The first is to use a document class where the dimensions of the page can be set to that of A4, which ...
1
vote
0answers
79 views
Tikz code: Cartesian space vs hough space [closed]
I would like to write down using tikz the following graphs.
It would be great and extremely helpful if someone could post me the code.
4
votes
0answers
141 views
Drawing a silhouette cone with tikz
I am trying to draw something like this
but with a more fancy object, instead of a square, say a bunny or a human (whose silhouette's contour points I exported from an image). I know I need to ...
3
votes
1answer
49 views
Bad label placing in kiviat diagram
Shouldn't resizebox should resize the label along with the whole picture? How can I avoid the label put above the arrow? (Other than rotating the image, which I don't want to do.)
...
6
votes
1answer
187 views
TIKZ drawing Gaussian Blur
I am a complete newbie to latex and have been working on thesis. At the moment, I am trying to draw this
and have no idea how to start. I did some google and found out that tikz is very popular for ...
2
votes
2answers
143 views
How to shift graphics/adjust placement of figure with \includegraphics
I composed a diagram that takes up the entire sheet of paper in landscape mode, called diagram.tex (compiled it to generate pdf). I'm trying to include that into an article, but only half of it is ...
7
votes
1answer
203 views
What is the “#” for in TikZ?
I am a newbie and I asked in How to create rectangles like in this example? about how to make some rectangles. I am trying to read the code and understand it as I need rectangles rather than squares. ...
5
votes
1answer
62 views
Selecting specific nodes and changing style (for those nodes)
Is it possible to select specific nodes and color them green?
I was thinking of using another for loop, but it doesn't seem like I can define more than 1 style.
\documentclass{article}
...
4
votes
1answer
77 views
Fixing ordering of nodes and color (TikZ)
This is my first time using TikZ. I can't figure out how to change the ordering of the nodes from bottom up starting from the bottom left corner?
Also, when I try to use package xcolor midnightblue ...
4
votes
1answer
106 views
Drawing on multiple images inside the same tikzpicture, how to get the right transformation of coordinates?
Following Drawing on an image with TikZ, I've had many succesful instances of drawing on a picture with TikZ.
However, now I have a tikzpicture environment with several graphics, and I want to draw ...
5
votes
1answer
163 views
Typesetting straight baselines in a circular arrangement
I was wondering how one might go about setting the circular arrangement seen here in Figure "(2)"--i.e.,in a series of straight lines radiating from a central point.
The most useful thing I've ...
3
votes
0answers
61 views
TikZ: using a bitmaps's dimensions as global bounding box
I'm using a tikzpicture environment to draw on a bitmap image in order to add annotations. I'm setting the width of my bitmap to \textwidth. I want to add annotations in the left or right margins of ...
1
vote
0answers
83 views
Why is centering a TikZ picture from an external file not the same as a centering a .png figure?
Why can't I put a Tikz picture inside \makebox?
\begin{figure}[!ht]
\centering
\makebox[\textwidth][c]{\includegraphics[width=.8\textwidth]{./Figures/chapter5/procedure_contacts.pdf}}
\end{figure}
...
2
votes
2answers
189 views
Insert jpg image in the margin of beamer slide
I am using the Goettingen theme (beamer). I want to insert a jpg file in the margin (bottom right) of the current frame. I also want the image to be semi-transparent. Please help.
2
votes
1answer
72 views
Encircle an arrow in TikZ [duplicate]
I'm preparing some lecture notes and have some trouble creating an encircled arrow like the one in the picture.
What I'd like to do is to create an elliptic shape around an arrow defined in TikZ ...
4
votes
2answers
184 views
Tikz add arrows to multiple segments of a `\draw` command
I'm drawing an org chart and I'd like to have arrows pointing to each of the nodes I do so. I'm also lazily using a single draw command to draw a line from each of the nodes as the last part of my ...
2
votes
1answer
137 views
Tikz externalize: use external PDF or render by tikz, do not create external PDF
I have texlive 2012 and tikz. Is it possible to get the following behavior?
With external library to tikz, use external image, if it is available. However, if it is not available, render the ...
3
votes
1answer
139 views
Producing TikZ-made .pdfs and using /includegraphics on them?
I'm helping TeX a professor's handwritten notes for publishing/pre-print purposes, and for producing certain graphics, I use PGF/TikZ. However, it seems he is having trouble compiling the code ...
2
votes
1answer
138 views
Background image from tikzpicture does not fit the whole page
For a poster, I would like to have an image fill the whole page. This image is supposed to be drawn within a tikz environment as my other content. However, graphicx seems to fail at rescaling when the ...
18
votes
2answers
406 views
Can I place a caption inside of an image?
I've recently seen this the following image in this question:
As I was looking for a way to create nice captions (without the "Figure:") for a beamer presentation, I wondered if it was possible to ...
2
votes
1answer
125 views
how to get the size of a \pgfdeclareimage
Basically I want to use a TikZ node to frame a pgfimage, so later on, I will add more and connect them as I see fit.
I have this:
\pgfdeclareimage[width=10em]{image1}{images/image1}
...
9
votes
3answers
383 views
how to make a cog/gear in LaTeX?
I was wondering what would be a good way to make this in LaTeX. Basically, what I want to do with this is use it as a chapter heading. So basically it will be something like this:
cog chapter # ...
5
votes
1answer
210 views
How to draw a graph along with probabilty tables using TikZ package
I need help to draw a Directed Acyclic Graph of Bayesian Network along with probability of each node using TikZ package. Here is an example:
Table grid can be a full or partial as in above example.
...
6
votes
4answers
425 views
What is the easiest way to plot a function and its tangent lines at the turning points?
I want to plot graphs like this and embed them as Tikz or Pstricks code in my handouts. I know that there are software such as Ipe, LaTeXDraw etc. But none of them can satisfy me. Because Ipe doesn't ...
3
votes
2answers
65 views
Why does loading tikz before calling “driver=dvips” make a difference
This question doesn't entirely make sense because I know I don't need to call driver=dvips. But I would like to know whether anyone can explain what's happening.
A little background
I'm trying to ...
4
votes
1answer
211 views
How to top (horizontally) align rows of tikz nodes in an org chart graphic
Apologies for the long MWE and what seems like a slightly duplicated question. I've looked at the question/awnser how to top align rectangles and align tikz node with text about using baseline to top ...
5
votes
0answers
179 views
How to create a fancy badge (award graphics) in LaTeX? [closed]
Is it possible to create fancy badges in LaTeX? Are there any packages for this?
Below are some examples:
9
votes
1answer
201 views
A Tunisian flag on Tikz using a macro “m-grams”
I tried to represent the flag of my country.
I typed this code. But I believe that the position of stars, circles, ... is not so respected. In addition I have a left margin "white band" I want to ...
1
vote
1answer
141 views
Drawing a partitioned set with TikZ
I'd like to create a graphic of a set partitioned into subsets of various sizes/shapes/colors. (I'm trying to show a set partitioned by an equivalence relation into disjoint subsets, i.e., the ...
0
votes
0answers
71 views
How to draw graphs in tikz/latex? [duplicate]
Possible Duplicate:
Using LaTeX to draw time series graphs and histograms
I have never drawn any graphs in latex/tikz. What is the best and the simplest way to draw graphs in latex. I want ...
2
votes
1answer
91 views
How to rearrange a tikzpicture in a page that uses the class suftesi
I drew an ER schema for a database and put it in my mini-thesis written using suftesi. This class has the peculiarity of adding a mini-column beside the main column of contents, used for notes. This ...
7
votes
1answer
309 views
Tikz: Avoiding line segments in snake path
I am using tikz to draw Feynman diagrams, and I learned how to draw a curved snake path.
The problem is that in general line segments are present (I'd like to avoid them).
I found a couple of post ...
6
votes
2answers
321 views
5
votes
1answer
154 views
How to draw visual representation of relations with TikZ
My included graphics are too blurry so I decided to find out, how to draw the following four graphics in TikZ. I never really worked with TikZ, so can someone explain how to draw such graphics?






