5
votes
4answers
193 views

How can I use a usepackage only for one section?

I need 2 different usepackages: one for a floatchart ( http://www.texample.net/tikz/examples/simple-flow-chart/) and one for my whole document. . For the Floatchart: \usepackage[latin1]{inputenc} ...
2
votes
0answers
133 views

Installing pfgornament?

Note: I have already searched through this site on how to do this but a lot of the things explained make little to no sense to me, I am a novice at this stuff so I was wondering if could get a little ...
3
votes
1answer
84 views

What is “\usetikzlibrary”? Shouldn't usepackage tikz just give me everything I need?

I'm new to LaTeX and maybe this has been answered somewhere already. But I don't understand why I have to use the command \usetiklibrary{...}. Why doesn't \usepackage{tikz} give me all the libraries? ...
1
vote
1answer
104 views

pstricks and tikz packages conflicting with other packages?

Why is it that whenever I add \usepackage{pstricks} or \usepackage{tikz}, I always get the error below? Latex Error: /usr/local/texlive/2013/texmf-dist/tex/latex/xcolor/xcolor.sty:60 TeX ...
3
votes
1answer
178 views

Draw a ERD in Crow's foot

I am draw my entity relationship diagram in a UML tool, I am new to TeX writing and now want to draw it in latex. The image of my ERD is given below; Please help me with code and tell me which ...
2
votes
1answer
71 views

How to center text in a schemabox?

I would like the text in the nodes between the arrows to be centered rather than left aligned. Using \centering or \begin{center} ... \end{center} around the minipage or setting text align=center in ...
2
votes
1answer
55 views

How to create Custom Packages and import them in a TeX file

I would like to create E-R diagrams. It can be done with TikZ. But a whole set of commands have to be written. And every time I have to draw a E-R diagram, I have to write them back. I would like to ...
1
vote
0answers
47 views

Termination of instance in {pgf-umlsd}?

is it possible to a draws a cross at the current position to indicate termination of a call in a sequence diagram using {pgf-umlsd}. \documentclass[a4paper,12pt]{article} \usepackage{epsfig} ...
1
vote
0answers
100 views

inserting tikzstyle objects into sty files [closed]

I am trying to put a tikz object (pie chart) into the sty file so it will update its shape as the presentation proceeds (instead of \insertframenumber/\inserttotalframenumber). the code for the pie ...
6
votes
1answer
136 views

Citing TikZ and other packages

In some areas of maths, it is advised to cite mathematical and drawing software you use to make your computations and drawings. Since I draw in TikZ, I would like to know how officially cite the ...
4
votes
1answer
86 views

Problems combining tikz and storebox: Missing number, treated as zero. With animate, page shipped out with text `graphicx`,

When I load both tikz and storebox and compile the following MWE, I get an error message ! Missing number, treated as zero.. When I additionally load animate, I get no error message, but a spurious ...
3
votes
1answer
952 views

Errors using tikz-cd and TikZ

I was trying to install the tikz-cd package into my miktex in order to draw commutative diagram. However, I encountered the following error and I don't know how to solve it. The situation: In the ...
8
votes
0answers
752 views

How to automatically generate Venn diagrams given the inclusion relations? [closed]

I'm writing a paper about classes of formal languages, and I'd like to have a diagram showing their heirarchy. Something similar to this (from Wikipedia:) Is there a LaTeX package which, I can give ...
5
votes
1answer
692 views

Why does loading pgfplots after tikz break the default layers in a tikzpicture?

Taking the MWE from Jake's answer to the question Background rectangles with equal width but 'fitting' height, I get an error when loading pgfplots after the tikz packages but not before. I'm assuming ...
2
votes
0answers
58 views

Where to put Latex generic commands? [duplicate]

Using more and more Latex I reach a point where I don't want to copy/paste anymore the new "generic" commands I created. As an example, I have generic commands to create Tikz pictures. These commands ...
20
votes
1answer
4k views

Package for typesetting Feynman diagrams (efficiency of `feynmp` and `tikz`)

Is there any good package for typesetting lots of Feynman diagrams? My question arise because Feynmp: Circle with three vertices lead me take a look at the documentation for the feynmf/feynmp ...
34
votes
4answers
5k views

Draw Bohr atomic model with electron shells in TeX?

This question led to a new package: bohr I'm making slides with beamer for my chemistry students. I would like to draw a figure in LaTeX to illustrate the electron shells in the Bohr model but ...
4
votes
1answer
2k views

Problem with “Package pgfkeys Error”

I am trying to create a color box using tcolorbox package. source code is like this- \documentclass[11pt]{article} \usepackage[top=.5in, bottom=.5in, left=1in, right=1in]{geometry} ...
19
votes
2answers
5k views

Option clash with xcolor and TikZ

I want to draw some coloured circles, so I loaded tikz in my preamble. However, now xcolor is telling me that it has an "option clash". How should I fix this? \documentclass{article} ...
7
votes
2answers
440 views

Where can I find documentation about TikZ/TikZPicture?

When looking for different packages of creating timelines, I came across the following one: \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage{tikz} \usetikzlibrary{snakes} ...
8
votes
2answers
2k views

Drawing Lattice/Trellis Graphs using PGF/TikZ

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 ...
2
votes
1answer
2k views

Can't find TikZ library calc

I am using a Mac operating system and am not a sophisticated programmer. I am trying to run code that uses the line \usetikzlibrary{calc} but I keep getting the error "I can't find file ...
7
votes
2answers
944 views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
1
vote
1answer
138 views

flacards and forloop is working but not with tikz foreach

My flashcard with \forloop is working after your help. I try it with \foreach (tikz) but it's not working. The pdf files contain only one flash card in the bottom right corner, the 24th card and the ...
3
votes
1answer
156 views

Naming a package built on TikZ

I am working on a package which builds on TikZ. How should I name it — tkz-foo or tikz-foo (foo is a placeholder). In CTAN both styles can be found: tikz- as well as tkz-. There are more tkz-named ...
3
votes
1answer
185 views

Linking text nodes in a page

I'd like to know what package can link nodes in different parts of a page. To simplify my question I uploaded an example extracted of tkz-linknodes manual (AlterMundus). Please note that the page ...
12
votes
3answers
3k views

How do I find which pgf version I have installed on Windows (MikTeX)?

I'm not sure how to find which version of pgf with MikTeX installed on my computer (Windows 7 - 64 bit).
1
vote
1answer
1k views

How to install tkz-2d in TeXLive 2010?

How to install tkz-2d in TeXLive 2010? My directory is /usr/local/texlive/2010 but i do not know which folder to place and even how to active.
7
votes
1answer
7k views

TikZ Library Not Found

I am new to TikZ and reading through the manual working out the first example which happens to use the intersections library. When I try \usetikzlibrary{intersections} LaTex spits out the following ...
2
votes
1answer
908 views

Did I install a package successfully?

On my Ubuntu system, I have already installed texlive-full under /usr/share from long time ago. I just tried a simple example with \usepackage{tikz} and it did work fine. Later, I added ...