Tag Info

Hot answers tagged

100

Here is a play-by-play of how one can do it using potrace. It is similar to autotrace and provides a command line functionality/interface. Download potrace. It is available for virtually every distribution out there. Unpack it. Provide a signature in (say) BMP high resolution format (click to enlarge and see the quality): Store this file signature.bmp in ...


35

I’m not sure if this is an answer or a comment … In my opinion your number 4 is the worst solution—sorry. In my eyes this looks like “Oh he likes a real signature but isn’t able to scan/include it” or “Why not set the whole document in Comic Sans” and I don’t think this creates a professional appeal. I’d prefer to set the name only in the normal text font ...


32

You can accomplish this with the wallpaper package. It has many options for creating background images that are tiled, centered, and scaled, on every page or only specific ones. In your case if the letterhead is contained in lh.pdf then you simply need \documentclass{article} \usepackage{wallpaper} \ULCornerWallPaper{1}{lh.pdf} \begin{document} Your ...


29

Check for \newline or \\ commands and what comes before. For instance don't write \\\\ to get one further empty line. Possible reasons and solutions are given here in the UK TeX FAQ: No line here to end. To complement this: sometimes you really wish to break a line but LaTeX doesn't allow it because you are in vertical mode. In such cases \leavevmode ...


23

Add the following to your document preamble, after loading the moderncv style (classic): \usepackage{etoolbox}% http://ctan.org/pkg/etoolbox \makeatletter \patchcmd{\makelettertitle}% <cmd> {\raggedright \@opening}% <search> {\@opening}% <replace> {}{}% <success><failure> \makeatother The above patch just removes the ...


15

Here are some options using the soul package for underlining, hardcoding a couple of spaces ~ before and after the signature, and using different fonts from The LaTeX Font Catalogue. I'm particularly proud of the middle name Quegpylf that I coined to have many descenders, i.e. letters going below the baseline. \documentclass{article} \usepackage{soul}% for ...


13

I am using a hack in a similar situation: I have designed an A4-sized PDF that contains all the static information like colored boxes, logos and so on. This is placed into the background of a page. The letter proper is typeset on top of that using the dinbrief class that is geared towards letters in German. \documentclass[11pt]{dinbrief} ...


13

Most sites point to the options below for formal letters: akletter for German business letters; newlfm for US-centric letters, faxes and memos; dinbrief for German letters; brief in the Dutch ntgclass bundle; scrlttr2 in the KOMA-Script bundle. Here is my .tex code for a formal letter or an invoice based on scrlttr2 (part of KOMA-script). I found ...


12

Quite a lot of old classes (e.g. article or your dinbrief) don't set the pdf sizes. An option like a4paper sets only things like the TeX \paperwidth, the linewidth and similar lengths. You will have to insert the necessary command yourself. For pdflatex this is \pdfpagewidth=\paperwidth \pdfpageheight=\paperheight For latex/dvips you need a ...


12

The distance between the closing phrase and the signature is hard coded in letter.cls; in order to modify it, you have to change the \closing command: the following code doesn't really modify the distance, you should act on 6\medskipamount, changing it into a length that suits your needs. \makeatletter ...


12

Don't forget to load fontenc with the T1 option; \DJ and \dj are not available in the default OT1 encoding. Add in your preamble: \usepackage[T1]{fontenc} Here's a little example, producing your letters: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage{currvita} \begin{document} \v{s}\v{S}\DJ\dj\v{c}\v{C}\'c\'C\v{z}\v{Z} \end{document} ...


12

The newlfm class or the scrlttr2 class (from the KOMA-Script bundle) could be an option. EDIT: here's a simple example adapted from Matthew J. Miller's template \documentclass[10pt,stdletter,dateno]{newlfm} \usepackage{kpfonts} \usepackage{url} \widowpenalty=1000 \clubpenalty=1000 \newlfmP{headermarginskip=20pt} \newlfmP{sigsize=50pt} ...


12

As @Seamus correctly points out, capital Rho has the same glyph as capital P. You can put \newcommand{\Rho}{\mathrm{P}} into your preamble to make the macro \Rho avialable. The usage of \mathrm is necessary if you use default math alphabets, because all greek capitals are typeset in up-right font. List of those Greek letters whose capital variants coincide ...


11

For Croatian (and most continental European languages) it's recommended to use T1 encoded fonts; if you load also the inputenc package (and save your documents in UTF-8 encoding) you're also allowed to input characters with diacritics directly: \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[croatian]{babel} ...


11

I am not sure what you mean by "online application", but if you mean a letter you are sending as an attachment to an email, the answer is, it depends. If for example you are referring to an informal letter you sending to colleagues inviting them to attend a conference or a presentation then I think it is best to send it without a formal signature, but ...


10

Use the source, Luke. The letter.cls file is actually not that hard to read compared to article.cls :-) If you redefine \opening you should be able to get what you want: \makeatletter \renewcommand*{\opening}[1]{% % \ifx\@empty\fromaddress % \thispagestyle{firstpage}% % {\raggedleft\@date\par}% % \else % home address % \thispagestyle{empty}% ...


10

Use the sigleft class option: \documentclass[11pt,stdletter,sigleft]{newlfm}


10

I use the datatool package. I don't use the letter document class, since I use my own letterhead package plus the article class. But the basics of how to do this should be clear, and adaptable to letter class. It's important to do checks for empty fields in address lines, otherwise you will get blank lines. I use the parskip package with letters, which sets ...


10

The document class scrlttr2 doesn't use normal length adjusting there contents. Instead it uses pseudolengths. The most important length are described in scrguien or the German version scrguide. Both documentations have a great picture which are showing the pseudolengths. To explain my solution here the picture: In your case you must change the height ...


10

You can use \DeclareMathOperator, from the amsmath package; this will give you the proper font and proper spacing. Since your operator should have subscripts placed in "limits" as with \lim, you need to use the starred form \DeclareMathOperator*. An example: \documentclass{article} \usepackage{amsmath} \DeclareMathOperator*{\maxi}{maximize} ...


10

The KOMA-Script letter class scrlttr2 is very customizable and provides support for DIN 676/5008 out of the box (p. 195): DIN parameter set for letters on A4-size paper, complying with German standard DIN 676; suitable for window envelopes in the sizes C4, C5, C6, and C6/5 (C6 long). DINmtext parameter set for letters on A4-size paper, complying ...


9

After fixing the problems highlighted in wh1t3's comment, there is still one that remains. The answer comes from Section 82.3 of the PGF manual (Using Layers): Note: You can not add anything to the main layer using this environment. The only way to add anything to the main layer is to give graphic commands outside all {pgfonlayer} environments. The ...


9

I recommend using the scrlttr2 class. It is extremely flexible It is actively maintained It is stable since many years; if there would occur any bug I'm sure the author would deal with it quickly There are templates (German example) The class includes concepts which distinguish it from other classes, such as variables, pseudo lengths You can use option ...


9

The letter class uses a page style called firstpage on the first page ... \documentclass{letter} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{geometry} \usepackage{lipsum} \geometry{headheight = 0.6in} \fancypagestyle{firstpage}{\fancyhf{}\fancyhead[R]{\includegraphics[height=0.5in, keepaspectratio=true]{logo.pdf}}} ...


9

With scrlttr2 I sometimes used \enlargethispage as a quick way to get more text onto the first page, for example: \enlargethispage{3\baselineskip} Done before the end of the letter or before the end of the first page, respectively, this allows three further lines on the page. There's even a starred version \enlargethispage* which tries also compression. ...


9

My choice would be the document class scrlttr2. It can be customized in many ways. A very quick way to get the address field to the right is using the document class option SN: \documentclass[a4paper,SN]{scrlttr2} This option decides that the file SN.lco has to be used which sets the address to the right side. If you look into this file, which is located ...


9

The background package could be an option: \documentclass{letter} \usepackage{background} \usepackage{lipsum}% just to generate text for the example \SetBgAngle{0} \SetBgScale{1} \SetBgColor{black} \SetBgOpacity{1} \SetBgPosition{.01\paperwidth,-.5\textheight} \SetBgContents{\fbox{\parbox{3cm}{% Return Address:\\ John Q. Citizen\\ 500 Park Place\\ Boston, ...


9

You can do this be redefining the \opening command to produce: I also removed the blank line before that date. If you want to adjust this space before the date replace the value in \fromaddress\\[0.0em]: \documentclass{letter} \usepackage{lipsum}% for dummy text \makeatletter \renewcommand*{\opening}[1]{\ifx\@empty\fromaddress% ...


8

The package eso-pic allows to include a background image at each page but also on a single page. Another option is to use the textpos package that can put a box at a position on the page behind the text. It can be used together with \includegraphics and a PDF file.


8

Taking the definition from the article class, I get good results with \begin{filecontents}{letter.bib} @article{First, author = "Other, A. N.", title = "Some things {I} did", journal = "J. Irreproducible Results", year = "2011" } @article{Second, author = "Aaa, S{\o}mebloke", title = "Tigers", journal = "Ann. Improbable Res.", year ...



Only top voted, non community-wiki answers of a minimum length are eligible