Hi,
(1) I did write my CV with \documentclass[german]{ecv}. Now I want to write my letter, what documentclass should I use for making sure that I do have the same style? Just a letter class? Or is there a ecv class for the letter?
(2) I want to know what font the \documentclass[german]{ecv} uses. How can I look that up? How can I change the font? I tried: \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{helvet}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Thanks for your answer. I do not get to the point that it changes all my words. It only changes the Word: Lebenslauf. I would also like to know, what the default font is. How can I look up the font used in my document? Then I would use the font of my CV in my letter as well.
My example of code, what do I neet to write to set a helvit or times as the font?
Unless you're using another class called `ecv' than available through CTAN, the class already uses helvet and switches to sans serif at document start.
So for `helvet', you don't need to change anything.
For using `times', you'd need to not only load the package, but issue \normalfont just after \begin{document}.
Note, however, that this switch won't affect the footer line: it switches its text to sans serif (helvetica, in this case).
You can check what fonts are used in a LaTeX-produced pdf by either looking for `properties->fonts' in your pdf viewer or by calling `pdffonts <name-of-pdf-file-to-check>'
For Times it is not enough to add a \normalfamily via \AtBeginDocument, because the class also uses explicit \textsf. So if everything should be in Times, you either have to redefine the sans serif font to use the roman one:
BTW: I've replaced flushright environment in the right foot definition by \raggedright to avoid the extra vertical space before and after it on left pages. Also I've used extra % to avoid orphan spaces.
BTW: There are better Times like and Helvetica like fonts, e.g., TeX Gyre Termes and TeX Gyre Heros. Those are also available as OTF and can be uses with LuaLaTeX and XeLaTeX using fontspec.
Last but not least: Please use the code tag/button not the latex tag/button for several lines of code.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p