bitte um Hilfe: Ich würde gern mein eingebundenes Logo verkleinern, durch Angabe der Option "width" and "height" bei includegraphics.
Das funktioniert aber aus irgendeinem Grund nicht.
Könnte mir jemand behilflich sein?
Das Dokument kompiliert wunderbar, wenn ich die Angaben in [] bei includegraphics weglasse. Sobald ich es hinschreibe, gibt es diesen Fehler:
(/usr/local/texlive/2014basic/texmf-dist/tex/generic/oberdiek/etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. ))) Package grfext Info: Graphics extension search list: (grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE G,.JBIG2,.JB2,.eps] (grfext) \AppendGraphicsExtensions on input line 452. (/usr/local/texlive/2014basic/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv e )) Foldmarks: yes Head of first page ! Argument of \Gin@iii has an extra }. <inserted text> \par l.30 \opening{Dear Madam/Sir,} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? width=2cm]{Logo_LCLSS.pdf}\hss ! Paragraph ended before \Gin@iii was complete. <to be read again> \par l.30 \opening{Dear Madam/Sir,} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Argument of \Gin@iii has an extra }. <inserted text> \par l.30 \opening{Dear Madam/Sir,} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? width=2cm]{Logo_LCLSS.pdf}\hss ! Paragraph ended before \Gin@iii was complete. <to be read again> \par l.30 \opening{Dear Madam/Sir,} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. Foot of first page Address (backaddress, addressee) LaTeX Font Info: External font `cmex10' loaded for size (Font) <12> on input line 30. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 30. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 30. Location field: empty Title: no Subject: before opening [1 {/usr/local/texlive/2014basic/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux) )
Danke!
Sebastian.
% !TeX spellcheck = en_GB \documentclass[foldmarks=true,foldmarks=blmtP, fromrule=afteraddress, fromphone,fromemail,fromlogo, fromalign=right, version=last]{scrlttr2} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{graphics} \begin{document} \setkomavar{fromname}{LCL School System} \setkomavar{signature}{Sebastian Stüwe} \setkomavar{fromaddress}{P.O. Box 10-1046\\1000 Monrovia 10} \setkomavar{fromphone}{0775-127-409} \setkomavar{fromemail}{sebastian@lcl-ced.org} \setkomavar{fromlogo}{\includegraphics[width=2cm]{Logo_LCLSS.pdf}} \setkomavar{date}{\today} %\setkomavar{place}{...} \setkomavar{subject}{Discussion on ...} \KOMAoptions{parskip=half} \begin{letter}{% To the\\ } \opening{Dear Madam/Sir,} ... \closing{Sincerely yours} % \ps PS: % \setkomavar*{enclseparator}{Enclosure} % \encl{Compendium of the constitution with the general meeting paragraphs.} % \cc{executive board\\all members} \end{letter} \end{document}