mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-19 11:38:05 +02:00
Examples for the usage of LaTeX
A LEFT (OUTER) JOIN is totally sufficient here, you do not want to have one Berater NULL with about 10 customers (because some customers do not have a Berater). Moreover, when using the altered version as expected (i.e. the one with Kunden2Berater table) there is no column Kunden.berater_id anymore. You thus have to join Kunden2Berater. I have NOT checked the COUNT throroughly, but according to my understand you will have to count on one of the Kunden2Berater columns, because COUNT() will ignore NULL columns and this is what we want. If LEFT JOIN returned a row where there are no columns on the right side, the count shall give NULL. Yet, I have to admit that I do not understand COUNT() too well. The DISTINCT is then unneeded, because we GROUP BY berater_id and the kunden_id for each berater itself will already be unique. So please do not take the COUNT statement for granted now, it's untested. http://www.techonthenet.com/sql/count.php |
||
---|---|---|
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