LyX ⇒ Please don't laugh... How do I use tikz?
-
- Posts: 1
- Joined: Tue Oct 28, 2014 10:31 pm
Please don't laugh... How do I use tikz?
Ok, I am probably going to come across as a complete idiot but.....
I have never used latex, or lyx before. I really have no clue what I'm doing, I've read user guide and the tutorial and can do all the typing and formulas etc that I want, but I'm trying to do my final year dissertation on knot theory and I need to include some knot diagrams and I'm stumped.
I have found that I can draw them using a tikz package but I have no clue what that means or how I would go about it. Someone has used the package to draw these http://nforum.mathforge.org/discussion/ ... not-pages/ and it's exactly what I need.... but how would I do this in lyx please?!
Also.. I'm using a mac!
Thank you for any replies!!!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Please don't laugh... How do I use tikz?
In Lyx? Don't. This time you need actual coding, you can't behind the LyX-interface.but how would I do this in lyx please?!
There are tools supporting some kind of WYSIWYG approach; InkScape can export TikZ code.
The TikZ/pgf manual has a great tutorial, please have a look at it. You can use texworks (was installed with your distribution) along with the standalone class to produce the graphics and later include them in your document.
btw: One of the developers of LyX stated a few weeks back, that LyX is software for experienced LaTeX users.
-
- Posts: 89
- Joined: Fri Jan 24, 2014 12:42 am
Re: Please don't laugh... How do I use tikz?
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Please don't laugh... How do I use tikz?
TikZ is great. Its programming approach is very different to the GUI way of LyX. Well, it's possible to learn TikZ and the minimum of required LaTeX and embed it in LyX as ERT like written in the previous post.
You are writing a dissertation, so you are a very intelligent person. So learning LaTeX and LyX should be a small challenge for you. You can come here at any time and ask questions you have during learning. We can also help with specific TikZ pictures, many of us are experienced with TikZ.
I understand the wish to save time using LyX. Just with TikZ, I would use a quick editor such as TeXworks and developing TikZ drawings with a small LaTeX frame around. You can find a lot of complete examples on TeXample.net with a compilable LaTeX document for each one.
Stefan