Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

After looking for some material about Venn Diagrams, for example that (Ed Sandifer. How Euler Did It, Venn Diagrams Mathematical Association of America, January 2004) and after checking different questions on Tex.stackexchange like How to draw Venn diagrams (especially: complements) in LaTeX, I realized there was no Venn Diagram package and that may be an interesting idea.

What if you wanna trace the Venn diagram for 4 different circles ? What about the Euler diagram ? (difference http://en.wikipedia.org/wiki/Venn_diagram)

I'm just a beginner in LaTeX, I have some knowledge in C and some basic knowledge in LaTeX but I have no idea of how to build a LaTeX package.

I just have an idea of what the requirements should be :

  • Compatible with PDFLatex
  • Considered as a float by the compiler
  • Highly configurable in terms of
    • Type of diagram : Venn, Euler, conceptual three axis diagram (here), ...
    • Number of sets
    • Colors
    • Size (scale, width)
  • And it would take the past parameters as arguments and options of the package

If you have some tutorial for doing it, I'd be glad to start the code but right now I have no idea of how to do it.

I just wanted this idea to be somewhere, just like the diagram idea Diagrams package that allows to draw computer buffers (memory diagrams).

share|improve this question
3  
How about all possible Venn diagrams tex.stackexchange.com/questions/67395/… –  percusse Feb 13 '13 at 21:55
1  
Good idea, but this is a Q&A site, not a discussion forum or a development site. What should be the "correct answer"? I guess the question should be closed, if there's no concrete point to focus on. –  Stefan Kottwitz Feb 13 '13 at 22:33
2  
This is interesting, but as Stefan points out this is not a question, so perhaps you should consider editing it to make it a question. Also, you should have a look at the venndiagram package. –  Peter Grill Feb 13 '13 at 23:51
    
I just edited it to "how to develop a diagram package", is this correct now ? –  Uneo Feb 14 '13 at 1:58
1  
I suggest you start playing with package tikz (having the manual (it's actually a manual for tikz and pgf) open. Try drawing the diagrams you need. When you'll have a specific question, people at this site will be glad to help. ---And who knows, maybe at some point your code will become general enough to be packaged! –  Sašo Živanović Feb 22 '13 at 1:44
show 1 more comment

1 Answer

This isn't an answer perse (since it's been pointed out that, as it stands, this isn't much of a question), but it is the advice you're looking for.

Take a look at all your resources available to you (LaTeX Wiki, TeXBook, etc.) and familiarize yourself with TeX's control structures. After you're comfortable reading TeX code, hop into a simple document class (such as exam.cls) or package and look at how they put it together. Don't look at just one, either -- you might be unfortunate enough to see one that wasn't coded well, or worse incorrect.

Good luck.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.