mirror of
https://github.com/tomka/rechnung.git
synced 2024-09-20 14:55:29 +02:00
Merge remote-tracking branch 'schoradt/master'
This commit is contained in:
commit
b04bffb916
3 changed files with 67 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
*.sty
|
||||
*.drv
|
||||
*.log
|
||||
*.aux
|
||||
*.pdf
|
||||
|
|
8
Makefile
8
Makefile
|
@ -114,6 +114,12 @@ rechnungman.dvi: rechnung.dtx rechnungman.drv rechnung.sty
|
|||
$(RUN_MAKEINDEX)
|
||||
$(RESOLVE_XREF)
|
||||
|
||||
example: example.pdf
|
||||
|
||||
example.pdf: rechnung.sty example.tex
|
||||
pdflatex example.tex
|
||||
|
||||
|
||||
manual.ps.gz: manual.ps
|
||||
gzip < $< > $@
|
||||
|
||||
|
@ -126,7 +132,7 @@ rechnung.ps: rechnung.dvi $(MANPICS)
|
|||
clean:
|
||||
rm -f *.mp *.rawmp *.[0-9]* \
|
||||
*.log *.dvi *.aux *.toc *.ilg *.glo *.gls *.idx *.ind \
|
||||
*.ps *.mpx '#*#' *~ .*~
|
||||
*.ps *.mpx '#*#' *~ .*~ *.pdf
|
||||
|
||||
realclean: clean
|
||||
rm -f rechnung.sty rechnung.drv rechnungman*
|
||||
|
|
58
example.tex
Normal file
58
example.tex
Normal file
|
@ -0,0 +1,58 @@
|
|||
\documentclass[backaddress=false,11pt,a4paper]{scrlttr2}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{textcomp}
|
||||
\usepackage{rechnung}
|
||||
\usepackage{eurosym}
|
||||
|
||||
\setkomavar{fromphone}{+49 (0)355 / 00 00 000 00}
|
||||
\setkomavar{fromname}{}
|
||||
\setkomavar{fromaddress}{Musterstr. 00\\ 03000 Musterstadt}
|
||||
\setkomavar{subject}{Rechnung Nr.: XX-XX}
|
||||
\setkomavar{yourmail}{}
|
||||
\setkomavar{yourref}{}
|
||||
|
||||
\parindent0pt
|
||||
|
||||
\usepackage{color,calc,ngerman,mathptmx}
|
||||
\firsthead{\null\hfill
|
||||
\parbox[t][\headheight][t]{6cm}{%
|
||||
\raggedright
|
||||
|
||||
|
||||
\color[gray]{.5}%
|
||||
Muster GbR\\[\baselineskip]
|
||||
Musterstr. 00\\
|
||||
03000 Musterstadt\\[\baselineskip]
|
||||
Telefon: \usekomavar{fromphone}\\
|
||||
%\usekomavar*{fromfax} \usekomavar{fromfax}\\[\baselineskip]
|
||||
E-Mail: team@mustergbr.de\\
|
||||
WWW: http://www.eample.com\\
|
||||
[\baselineskip]
|
||||
Ust-Id: DE000000000\\
|
||||
}%
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\begin{letter}{Kunde\\
|
||||
\ \\
|
||||
Kundenstr. 1\\
|
||||
03000 Kundenstadt}
|
||||
\opening{Sehr geehrter Herr Kunde,}
|
||||
|
||||
für den Auftrag Nr. 0000000 berechnen wir abschließend:
|
||||
|
||||
\vspace{10pt}
|
||||
|
||||
\Euro{}
|
||||
\Waehrung{\euro}
|
||||
\Steuersatz{19}{7}
|
||||
|
||||
\begin{Rechnung}[N]
|
||||
|
||||
\Artikel{1}{Großer Auftrag}{75000,00}
|
||||
\Abschlagszahlung{35000,00}
|
||||
\end{Rechnung}
|
||||
|
||||
\end{letter}
|
||||
\end{document}
|
Loading…
Reference in a new issue