0

I'm new at Latex, and I'm trying to make a photo diagram.

And i have found the program "Dia" and wants to know how it works, i have tried to read the Manuel, but I'm not entirely sure of how it works, - So my questions is, how can i convert the Diagram to Latex, and then how do i include it in Latex?, And if i include a photo ind the diagram, where should i put the photo-file (in which folder)?

JesperB-ING
  • 3
  • 1
  • 2
  • I had never heard of dia but google suggested a possibility but it's just a drawing program so asking how to use it is off topic for this site. pdflatex can input images in (for example) png format but it does not care how you made that image, just save your image in the same folder as your tex document. – David Carlisle Feb 28 '15 at 17:39
  • According to the documentation you can export the diagram as a PDF file or even as PSTricks macros. – egreg Feb 28 '15 at 17:39
  • Exactly, I found out that the program have some abilities that i like to use. But my problem is, that i cant make it work,- I have to have more than two pictures beside each other, and some arrows between those – JesperB-ING Feb 28 '15 at 17:42
  • save your diagram as say zzz.pdf then a latex document of \documentclass{article}\usepackage{graphicx}\begin{document}\includegraphics{zzz}\end{document} should work. "can't make it work" isn't very specific, if you get an error ask a specific question and show the error message in full. – David Carlisle Feb 28 '15 at 17:46
  • Perfect, Thx a lot! -sorry I'm quite (what's it called - Yeah) Noob -.-' – JesperB-ING Feb 28 '15 at 17:53

1 Answers1

2

The drawing package may have other facilities and be able to use other formats, but a basic use to get you started is:

Save your diagram as say zzz.pdf in the same folder as your latex document then a latex document of

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{zz‌​z}
\end{document} 

should work.

David Carlisle
  • 757,742