mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Examples for the usage of LaTeX
- it's totally uneeded to join the FROM table once again - I do not know about specifying multiple tables in one JOIN, it might be wrong, but at least it's (same as using CROSS JOIN syntax with multiple FROM tables) at least bad behaviour - omitting the ON clause when using JOIN is afaik not optional in the SQL standard. MySQL allows it, but then uses CROSS JOIN. Here you either want NATURAL JOIN or JOIN with ON clause. I prefer JOIN with explicit ON clauses all the time (because I never call my columns Berater.berater_id, but Berater.id and in foreign key definitions then Foo.berater_id), but since in the lectures NATURAL JOIN was so often prefered, I thought about using that. In my own exam, I will always use ON clause, because I am more used to that and I will not run into troubles if there are two columns with the same name, which is exactly the problem here. There are two tables with column "name". The second NATURAL JOIN would fail, because it would try to not only JOIN Kunden2Berater.kunden_id with Kunden.kunden_id, but also Berater.name with Kunden.name. Thus, I'd recommend to always use explicit ON statements. |
||
---|---|---|
cheat-sheets | ||
circuits | ||
documents | ||
images | ||
math | ||
povray/ellipsoid | ||
presentations | ||
pstricks | ||
source-code | ||
tikz | ||
uml/class-diagramm | ||
.gitignore | ||
LICENSE | ||
README.md |
LaTeX-examples
More than 200 examples for the usage of LaTeX
(you can check that with the following command: find . -type d | sort | awk '$0 !~ last "/" {print last} {last=$0} END {print last}' | grep -v .git | wc -l
)
Most examples can be found on my Wikpedia Commons user page
You might also be interested in my Blog
Usage
Every LaTeX file is in a seperate folder and has its own Makefile. So you can simply generate the PDF by typing "make" in the terminal.
Requirements
- You should have the latest LaTeX version. Here are LaTeX installation instructions
- If you want to use the Makefiles, you have to have make
POV-Ray
Although POV-Ray has nothing to do with LaTeX, I decided to add some images here
- POV-Ray Documentation
- Ubuntuusers.de - German installation instructions
- Many examples
- More examples with complete sources
- High quality examples
Contact
If you have examples or suggestions for improving given examples, you send them to info@martin-thoma.de
Re-use
Feel free to use and modify the examples of this repository. But please add a link to this repository or martin-thoma.com