乳胶定制信函模板(德语)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了乳胶定制信函模板(德语)相关的知识,希望对你有一定的参考价值。

  1. % LaTeX Custom Letter Template (German)
  2.  
  3. % typeset using TeXShop & MacTeX package (http://www.tug.org/mactex/)
  4.  
  5. % For alternatives please see:
  6. % - http://en.wikibooks.org/wiki/LaTeX/Letters
  7. % - http://lifeisallabout.wordpress.com/2009/02/10/letter-writing-in-latex/
  8. % - http://snipplr.com/view/19910/latex-standard-letter-german/
  9.  
  10. documentclass[11pt, a4paper]{article}
  11. usepackage[top=1.6cm, bottom=3.2cm, left=2.54cm, right=3.2cm]{geometry}
  12. usepackage[utf8]{inputenc}
  13. usepackage[T1]{fontenc}
  14. usepackage{textcomp}
  15. usepackage{ngerman}
  16. usepackage[ngerman]{babel}
  17.  
  18. newcommand{senderadresse}{
  19. Herrhspace{stretch{1}}Wohnort, den odayiso\
  20. Heinz Mustermann\
  21. Meine Strasse 10\
  22. 12345 Wohnort\
  23. Telefon~01234-56789
  24.  
  25. vspace{0.2cm}
  26. {scriptsizeunderline{Heinz Mustermann $ast$ Meine Str. 10 $ast$ 12345 Wohnort}}
  27.  
  28. vspace{-0.4cm}
  29. }
  30.  
  31. newcommand{empfaengeradresse} {
  32. Firma XYZ\
  33. Abteilung C\
  34. Brieffach 1234
  35.  
  36. vspace{-0.3cm}
  37. 12345 Stadt
  38. }
  39.  
  40.  
  41. % get custom date format
  42. usepackage[nodayofweek]{datetime}
  43. renewcommand{dateseparator}{.}
  44. newcommand{ odayiso}{ wodigitday dateseparator wodigitmonth dateseparator heyear}
  45.  
  46. % disable all underfull hbox & vbox warnings
  47. hbadness = 10000
  48. vbadness = 10000
  49.  
  50. % get phone symbols, etc.
  51. % cf. http://detexify.kirelabs.org/classify.html
  52. usepackage{marvosym}
  53. usepackage{wasysym}
  54. usepackage{amssymb}
  55.  
  56. % http://www.theiling.de/eurosym.html.en#usage
  57. % The eurosym package must not precede the marvosym package.
  58. %usepackage[official]{eurosym}
  59. usepackage[gen]{eurosym}
  60.  
  61. usepackage{pdfsync}
  62. usepackage{microtype}
  63. usepackage{csquotes}
  64. usepackage{hyphenat} % hyp{} command
  65. usepackage{pdfpages} % includepdf[pages=1-4]{file2include.pdf}
  66.  
  67. %usepackage[Center]{ragged2e} % RaggedRight, FlushRight, Centering
  68.  
  69. %lccode`-=`-
  70. %defaulthyphenchar=127
  71.  
  72. % Die Einrueckung der ersten Zeile eines Absatzes wird auf 0pt gesetzt
  73. setlength{parindent}{0pt}
  74.  
  75. % Der Abstand zwischen Absaetzen wird erhoeht
  76. setlength{parskip}{3ex plus 0.5ex minus 0.2ex}
  77.  
  78. % Disable single lines at the start of a paragraph (Schusterjungen)
  79. clubpenalty = 10000
  80.  
  81. % Disable single lines at the end of a paragraph (Hurenkinder)
  82. widowpenalty = 10000
  83. displaywidowpenalty = 10000
  84.  
  85. % enable: doublespacing, onehalfspacing, singlespacing
  86. usepackage{setspace}
  87.  
  88. % needed for conditional compilation to suppress pagination for single page documents
  89. usepackage{ifthen}
  90. usepackage{lastpage}
  91.  
  92. % needed for creating a left margin paper-fold mark (for the correct address placement for windowed envelopes)
  93. usepackage{eso-pic}
  94.  
  95. usepackage{blindtext}
  96.  
  97. % http://tug.ctan.org/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf
  98. usepackage[flushmargin,hang,stable]{footmisc}
  99.  
  100. % Cf. "Fussnoten: Abstand zwischen Ziffer und Text",
  101. % http://www.mrunix.de/forums/showthread.php?t=43620 (rais on page 2)
  102. renewcommand{@makefntext}[1]{setlength{parindent}{0pt}%
  103. egin{list}{}{%
  104. setlength{ opsep}{0pt}
  105. setlength{partopsep}{0pt}
  106. setlength{labelwidth}{0.43em}%
  107. setlength{labelsep}{0.2em}%
  108. setlength{leftmargin}{labelwidth}
  109. addtolength{leftmargin}{labelsep}
  110. footnotesize}item[{makebox[labelwidth][r]{@makefnmark}}]#1%
  111. end{list}}
  112.  
  113.  
  114. % "how to number pages: Page # of n",
  115. % http://happymutant.com/latex/misce/misce2.php
  116. %usepackage{fancyhdr,lastpage}
  117. %pagestyle{fancy}
  118. %fancyhf{}
  119. %cfoot{scriptsize{Seite hepage von pageref{LastPage}}}
  120. % enewcommandheadrulewidth{0pt} % Removes funny header line
  121.  
  122. % must be last command in preamble
  123. % hyperfootnotes: cf. http://www.mrunix.de/forums/showthread.php?t=42676
  124. %usepackage[pdftex,bookmarks,colorlinks,urlcolor=blue]{hyperref}
  125. usepackage[pdftex,bookmarks,colorlinks,urlcolor=blue,hyperfootnotes=false]{hyperref}
  126.  
  127.  
  128. egin{document}
  129.  
  130. % conditional compilation to suppress pagination for single page documents
  131. % Note: "When you use references, you have to compile your document twice to see the proper output",
  132. % cf. http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing
  133. % ifthenelse {<test>}{<true>} {<false>}
  134. ifthenelse{pageref{LastPage} = 1}{ hispagestyle{empty}}{}
  135. %ifthenelse{pageref{LastPage} = 1}{ hispagestyle{empty}}{cfoot{scriptsize{Seite hepage von pageref{LastPage}}}}
  136.  
  137. % 1.
  138. % create a left margin paper-fold mark at 10 cm (cf. http://mrunix.de/forums/showthread.php?t=65411)
  139. % 2.
  140. % write additional information into the right margin of the first page using a minipage inside a minipage
  141.  
  142. AddToShipoutPicture*{
  143.  
  144. AtPageUpperLeft{
  145. parbox[t][4.5cm][b]{1cm}{
  146. hspace*{0mm}
  147. rule{3mm}{0.25pt}
  148. }
  149. }
  150.  
  151. AtPageUpperLeft{
  152. parbox[t][8.5cm][b]{1cm}{
  153. hspace*{0mm}
  154. rule{3mm}{0.25pt}
  155. }
  156. }
  157.  
  158. AtPageUpperLeft{
  159. parbox[t][10cm][b]{1.5cm}{
  160. hspace*{7mm}
  161. rule{3mm}{0.25pt}
  162. }
  163. }
  164.  
  165. AtPageUpperLeft{
  166. oindent
  167. egin{minipage}[t][1.9cm][b]{3cm} % cm values have to be adjusted manually
  168. hspace*{18cm} % causes message: "Overfull hbox (xxx pt too wide) has occurred while output is active"
  169. % use the longest line of the minipage for widthof{}
  170. %egin{minipage}[t]{widthof{Meine Bankverbindung}}
  171. % ... or just specify the minipage width explicitly
  172. egin{minipage}[t]{3cm}
  173. iny{
  174. textbf{Meine Bankverbindung}:\
  175. Meine Bank AG\
  176. BLZ: 12345678\
  177. Konto: 1234567\
  178.  
  179. textbf{Weiterefootnote{ iny{minipage Fussnote aaa bbb ccc ddd label{refnoteMinipage}}} Informationen}:footref{refnoteMinipage}\
  180. ldots
  181. } % tiny
  182. end{minipage}
  183. end{minipage}
  184. }
  185.  
  186.  
  187. } % AddToShipoutPicture
  188.  
  189.  
  190. senderadresse
  191.  
  192. empfaengeradresse
  193.  
  194. vspace{1cm}
  195.  
  196. % subject line(s)
  197. %egin{list}{ extbf{--}}{leftmargin1em}
  198. egin{list}{textbf{}}{leftmargin-0em}
  199. item textbf{Betreff Zeile 1}
  200. item textbf{Betreff Zeile 2}
  201. end{list}
  202.  
  203. vspace{1.3cm}
  204.  
  205. % enable flexible inter-word spacing to avoid 'overfull hbox' due to over-long lines;
  206. % restore default spacing with fussy
  207. %sloppy
  208.  
  209. Sehr geehrte Damen und Herren,
  210.  
  211. onehalfspacing
  212.  
  213. % requires texcomp package
  214. euro ~verb+euro+
  215.  
  216. phone~verb+phone+
  217.  
  218. Telefon~verb+Telefon+
  219.  
  220. Mobilefone~verb+Mobilefone +
  221.  
  222. Faxmachine~verb+Faxmachine +
  223.  
  224. Email~verb+Email +
  225.  
  226. Ecommerce~verb+Ecommerce+
  227.  
  228.  
  229. texttt{[utf8]} ~verb+texttt{[utf8]}+
  230.  
  231. ldots~verb+ldots+
  232.  
  233. $lbrace$ $vert$ lbrack
  234.  
  235.  
  236.  
  237. onehalfspacing
  238.  
  239. % ewpage
  240.  
  241. vspace{1cm}
  242. Mit freundlichen Gruessen
  243.  
  244. vspace{3.5cm}
  245. Heinz Mustermann
  246.  
  247. end{document}

以上是关于乳胶定制信函模板(德语)的主要内容,如果未能解决你的问题,请参考以下文章

使用Wordpress的输入表单生成自动PDF信函

MCQ在乳胶中没有考试的问题

使用 Excel VBA 自动合并邮件

分不清电商小程序模板和定制的区别?

分不清电商小程序模板和定制的区别?

Visual Studio 定制模板类---详细步骤