LaTeX Books
LaTeX users online
In total there are 10 users online :: 1 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm
Users browsing this forum: Google [Bot] and 9 guests
Drawing similar right trianglesLaTeX Forum: Graphics, Figures & TablesAdd tags
9 posts
• Page 1 of 1
I am trying to recreate the following picture
I have been able to use the TikZ package to create something similar. However with how powerful the package is I am having trouble sorting through the documentation to find out how to do simple things. The hardest part i am finding is getting the label to show the length of each segment, especially when it stretches over several "parts", also an easy way to show the right angle symbol.
Edit by localghost: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible. Last edited by Mikerada6 on Wed Feb 9th, 2011, edited 1 time in total.
Is it necessarily that you use TikZ? If not, Here is an alternative to create images for LaTeX purposes, which I prefer over TikZ.
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
You can use the tkz-2d package with TikZ to draw the right angles. Here's an example, using the coordinates in your code snippet:
Here's a pic of what it looks like:
The »tkz-2d« package is superseded by the tkz-euclide package. So you should find this with the package manager. And the syntax for the right angle symbol has slightly changed. Unfortunately there's only a French version of the manual at the moment. Thorsten LaTeX Community Moderator
How to make a "Minimal Example" Board Rules Avoidable Mistakes ¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351) ² Posting stopped indefinitely due to offenses
And if you also like to use the command line tool for maintaining MikTeX, take a look here. OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
If you want to use tkz-euclide instead of tkz-2d, you need TikZ 2.10 installed. Also, make sure you remove the tkz-2d package then update the filename database, or you may encounter problems with conflicting tkz-base.sty files. Using tkz-euclide, the code looks like this:
Note that tkz-euclide automatically loads tikz.
9 posts
• Page 1 of 1
Return to Graphics, Figures & Tables LaTeX users onlineUsers browsing this forum: Google [Bot] and 9 guests |