[{"data":1,"prerenderedAt":1623},["ShallowReactive",2],{"navigation_docs":3,"-specialized-documents-letters":351,"-specialized-documents-letters-surround":1618},[4,31,45,83,109,147,197,215,253,291,329],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting Started","i-lucide-play","\u002Fgetting-started","01.getting-started",[10,14,18,22,26],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"Installing Extra Packages","\u002Fgetting-started\u002Finstalling-extra-packages","01.getting-started\u002F03.installing-extra-packages",{"title":23,"path":24,"stem":25},"Basics","\u002Fgetting-started\u002Fbasics","01.getting-started\u002F04.basics",{"title":27,"path":28,"stem":29},"How to Get Help","\u002Fgetting-started\u002Fhow-to-get-help","01.getting-started\u002F05.how-to-get-help",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"AI Integration","i-lucide-bot","\u002Fai-integration","02.ai-integration",[37,41],{"title":38,"path":39,"stem":40},"Model Context Protocol (MCP)","\u002Fai-integration\u002Fmcp","02.ai-integration\u002F01.mcp",{"title":42,"path":43,"stem":44},"Agent Skills","\u002Fai-integration\u002Fskills","02.ai-integration\u002F02.skills",{"title":46,"icon":47,"path":48,"stem":49,"children":50,"page":30},"Document Fundamentals","i-lucide-file-text","\u002Fdocument-fundamentals","03.document-fundamentals",[51,55,59,63,67,71,75,79],{"title":52,"path":53,"stem":54},"Document Structure","\u002Fdocument-fundamentals\u002Fdocument-structure","03.document-fundamentals\u002F01.document-structure",{"title":56,"path":57,"stem":58},"Text Formatting","\u002Fdocument-fundamentals\u002Ftext-formatting","03.document-fundamentals\u002F02.text-formatting",{"title":60,"path":61,"stem":62},"Paragraph Formatting","\u002Fdocument-fundamentals\u002Fparagraph-formatting","03.document-fundamentals\u002F03.paragraph-formatting",{"title":64,"path":65,"stem":66},"Fonts","\u002Fdocument-fundamentals\u002Ffonts","03.document-fundamentals\u002F04.fonts",{"title":68,"path":69,"stem":70},"Colors","\u002Fdocument-fundamentals\u002Fcolors","03.document-fundamentals\u002F05.colors",{"title":72,"path":73,"stem":74},"List Structures","\u002Fdocument-fundamentals\u002Flist-structures","03.document-fundamentals\u002F06.list-structures",{"title":76,"path":77,"stem":78},"Special Characters","\u002Fdocument-fundamentals\u002Fspecial-characters","03.document-fundamentals\u002F07.special-characters",{"title":80,"path":81,"stem":82},"Internationalization","\u002Fdocument-fundamentals\u002Finternationalization","03.document-fundamentals\u002F08.internationalization",{"title":84,"icon":85,"path":86,"stem":87,"children":88,"page":30},"Page Design","i-lucide-layout","\u002Fpage-design","04.page-design",[89,93,97,101,105],{"title":90,"path":91,"stem":92},"Page Layout","\u002Fpage-design\u002Fpage-layout","04.page-design\u002F01.page-layout",{"title":94,"path":95,"stem":96},"Page Headers and Footers","\u002Fpage-design\u002Fcustomizing-page-headers-and-footers","04.page-design\u002F02.customizing-page-headers-and-footers",{"title":98,"path":99,"stem":100},"Title Creation","\u002Fpage-design\u002Ftitle-creation","04.page-design\u002F03.title-creation",{"title":102,"path":103,"stem":104},"Footnotes and Margin Notes","\u002Fpage-design\u002Ffootnotes-and-margin-notes","04.page-design\u002F04.footnotes-and-margin-notes",{"title":106,"path":107,"stem":108},"Rotations","\u002Fpage-design\u002Frotations","04.page-design\u002F05.rotations",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":30},"Tables and Graphics","i-lucide-table","\u002Ftables-and-graphics","05.tables-and-graphics",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Tables","\u002Ftables-and-graphics\u002Ftables","05.tables-and-graphics\u002F01.tables",{"title":120,"path":121,"stem":122},"Floats, Figures and Captions","\u002Ftables-and-graphics\u002Ffloats-figures-and-captions","05.tables-and-graphics\u002F02.floats-figures-and-captions",{"title":124,"path":125,"stem":126},"Importing Graphics","\u002Ftables-and-graphics\u002Fimporting-graphics","05.tables-and-graphics\u002F03.importing-graphics",{"title":128,"path":129,"stem":130},"Introducing Procedural Graphics","\u002Ftables-and-graphics\u002Fintroducing-procedural-graphics","05.tables-and-graphics\u002F04.introducing-procedural-graphics",{"title":132,"path":133,"stem":134},"PGF\u002FTikZ","\u002Ftables-and-graphics\u002Fpgf-tikz","05.tables-and-graphics\u002F05.pgf-tikz",{"title":136,"path":137,"stem":138},"PSTricks","\u002Ftables-and-graphics\u002Fpstricks","05.tables-and-graphics\u002F06.pstricks",{"title":140,"path":141,"stem":142},"MetaPost","\u002Ftables-and-graphics\u002Fmetapost","05.tables-and-graphics\u002F07.metapost",{"title":144,"path":145,"stem":146},"Picture","\u002Ftables-and-graphics\u002Fpicture","05.tables-and-graphics\u002F08.picture",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":30},"Technical Writing","i-lucide-flask-conical","\u002Ftechnical-writing","06.technical-writing",[153,157,161,165,169,173,177,181,185,189,193],{"title":154,"path":155,"stem":156},"Mathematics","\u002Ftechnical-writing\u002Fmathematics","06.technical-writing\u002F01.mathematics",{"title":158,"path":159,"stem":160},"Advanced Mathematics","\u002Ftechnical-writing\u002Fadvanced-mathematics","06.technical-writing\u002F02.advanced-mathematics",{"title":162,"path":163,"stem":164},"Theorems","\u002Ftechnical-writing\u002Ftheorems","06.technical-writing\u002F03.theorems",{"title":166,"path":167,"stem":168},"Algorithms","\u002Ftechnical-writing\u002Falgorithms","06.technical-writing\u002F04.algorithms",{"title":170,"path":171,"stem":172},"Source Code Listings","\u002Ftechnical-writing\u002Fsource-code-listings","06.technical-writing\u002F05.source-code-listings",{"title":174,"path":175,"stem":176},"Chemical Graphics","\u002Ftechnical-writing\u002Fchemical-graphics","06.technical-writing\u002F06.chemical-graphics",{"title":178,"path":179,"stem":180},"Linguistics","\u002Ftechnical-writing\u002Flinguistics","06.technical-writing\u002F07.linguistics",{"title":182,"path":183,"stem":184},"Bibliography Management","\u002Ftechnical-writing\u002Fbibliography-management","06.technical-writing\u002F08.bibliography-management",{"title":186,"path":187,"stem":188},"More Bibliographies","\u002Ftechnical-writing\u002Fmore-bibliographies","06.technical-writing\u002F09.more-bibliographies",{"title":190,"path":191,"stem":192},"Indexing","\u002Ftechnical-writing\u002Findices","06.technical-writing\u002F10.indices",{"title":194,"path":195,"stem":196},"Glossary","\u002Ftechnical-writing\u002Fglossary","06.technical-writing\u002F11.glossary",{"title":198,"icon":199,"path":200,"stem":201,"children":202,"page":30},"Cross-References and Links","i-lucide-link","\u002Fcross-references","07.cross-references",[203,207,211],{"title":204,"path":205,"stem":206},"Labels and Cross Referencing","\u002Fcross-references\u002Flabels-and-cross-referencing","07.cross-references\u002F01.labels-and-cross-referencing",{"title":208,"path":209,"stem":210},"Hyperlinks","\u002Fcross-references\u002Fhyperlinks","07.cross-references\u002F02.hyperlinks",{"title":212,"path":213,"stem":214},"Initials","\u002Fcross-references\u002Finitials","07.cross-references\u002F03.initials",{"title":216,"icon":217,"path":218,"stem":219,"children":220,"page":30},"Specialized Documents","i-lucide-file-badge","\u002Fspecialized-documents","08.specialized-documents",[221,225,229,233,237,241,245,249],{"title":222,"path":223,"stem":224},"Scientific Reports","\u002Fspecialized-documents\u002Fscientific-reports","08.specialized-documents\u002F01.scientific-reports",{"title":226,"path":227,"stem":228},"Letters","\u002Fspecialized-documents\u002Fletters","08.specialized-documents\u002F02.letters",{"title":230,"path":231,"stem":232},"Presentations","\u002Fspecialized-documents\u002Fpresentations","08.specialized-documents\u002F03.presentations",{"title":234,"path":235,"stem":236},"Teacher's Corner","\u002Fspecialized-documents\u002Fteachers-corner","08.specialized-documents\u002F04.teachers-corner",{"title":238,"path":239,"stem":240},"Curriculum Vitae","\u002Fspecialized-documents\u002Fcurriculum-vitae","08.specialized-documents\u002F05.curriculum-vitae",{"title":242,"path":243,"stem":244},"Academic Journals","\u002Fspecialized-documents\u002Facademic-journals","08.specialized-documents\u002F06.academic-journals",{"title":246,"path":247,"stem":248},"Xy-pic","\u002Fspecialized-documents\u002Fxy-pic","08.specialized-documents\u002F07.xy-pic",{"title":250,"path":251,"stem":252},"Creating 3D Graphics","\u002Fspecialized-documents\u002Fcreating-3d-graphics","08.specialized-documents\u002F08.creating-3d-graphics",{"title":254,"icon":255,"path":256,"stem":257,"children":258,"page":30},"Programming LaTeX","i-lucide-code","\u002Fprogramming","09.programming",[259,263,267,271,275,279,283,287],{"title":260,"path":261,"stem":262},"Macros","\u002Fprogramming\u002Fmacros","09.programming\u002F01.macros",{"title":264,"path":265,"stem":266},"Plain TeX","\u002Fprogramming\u002Fplain-tex","09.programming\u002F02.plain-tex",{"title":268,"path":269,"stem":270},"Creating Packages","\u002Fprogramming\u002Fcreating-packages","09.programming\u002F03.creating-packages",{"title":272,"path":273,"stem":274},"Creating Package Documentation","\u002Fprogramming\u002Fcreating-package-documentation","09.programming\u002F04.creating-package-documentation",{"title":276,"path":277,"stem":278},"Themes","\u002Fprogramming\u002Fthemes","09.programming\u002F05.themes",{"title":280,"path":281,"stem":282},"Modular Documents","\u002Fprogramming\u002Fmodular-documents","09.programming\u002F06.modular-documents",{"title":284,"path":285,"stem":286},"Collaborative Writing of LaTeX Documents","\u002Fprogramming\u002Fcollaborative-writing","09.programming\u002F07.collaborative-writing",{"title":288,"path":289,"stem":290},"Export To Other Formats","\u002Fprogramming\u002Fexport-to-other-formats","09.programming\u002F08.export-to-other-formats",{"title":292,"icon":293,"path":294,"stem":295,"children":296,"page":30},"Reference and Help","i-lucide-book-open","\u002Freference","10.reference",[297,301,305,309,313,317,321,325],{"title":298,"path":299,"stem":300},"FAQ","\u002Freference\u002Ffaq","10.reference\u002F01.faq",{"title":302,"path":303,"stem":304},"Tips and Tricks","\u002Freference\u002Ftips-and-tricks","10.reference\u002F02.tips-and-tricks",{"title":306,"path":307,"stem":308},"Errors and Warnings","\u002Freference\u002Ferrors-and-warnings","10.reference\u002F03.errors-and-warnings",{"title":310,"path":311,"stem":312},"Lengths","\u002Freference\u002Flengths","10.reference\u002F04.lengths",{"title":314,"path":315,"stem":316},"Counters","\u002Freference\u002Fcounters","10.reference\u002F05.counters",{"title":318,"path":319,"stem":320},"Boxes","\u002Freference\u002Fboxes","10.reference\u002F06.boxes",{"title":322,"path":323,"stem":324},"Rules and Struts","\u002Freference\u002Frules-and-struts","10.reference\u002F07.rules-and-struts",{"title":326,"path":327,"stem":328},"Command Glossary","\u002Freference\u002Fcommand-glossary","10.reference\u002F08.command-glossary",{"title":330,"icon":331,"path":332,"stem":333,"children":334,"page":30},"Appendices","i-lucide-bookmark","\u002Fappendices","11.appendices",[335,339,343,347],{"title":336,"path":337,"stem":338},"Package Reference","\u002Fappendices\u002Fpackage-reference","11.appendices\u002F01.package-reference",{"title":340,"path":341,"stem":342},"Sample LaTeX Documents","\u002Fappendices\u002Fsample-latex-documents","11.appendices\u002F02.sample-latex-documents",{"title":344,"path":345,"stem":346},"Links","\u002Fappendices\u002Flinks","11.appendices\u002F03.links",{"title":348,"path":349,"stem":350},"Authors","\u002Fappendices\u002Fauthors","11.appendices\u002F04.authors",{"id":352,"title":226,"body":353,"description":1612,"extension":1613,"links":1614,"meta":1615,"navigation":494,"path":227,"seo":1616,"stem":228,"__hash__":1617},"docs\u002F08.specialized-documents\u002F02.letters.md",{"type":354,"value":355,"toc":1599},"minimark",[356,360,365,373,389,431,445,448,696,703,712,718,722,727,734,753,764,768,771,889,893,896,942,945,948,997,1000,1004,1011,1236,1239,1253,1260,1263,1267,1519,1523,1582,1586,1595],[357,358,359],"p",{},"Sometimes the mundane things are the most painful. However, it doesn't have to be that way because of evolved, user-friendly templates. Thankfully, LaTeX allows for very quick letter writing, with little hassle.",[361,362,364],"h2",{"id":363},"the-letter-class","The letter class",[357,366,367,368,372],{},"To write letters use the standard document class ",[369,370,371],"em",{},"letter",".",[357,374,375,376,380,381,384,385,388],{},"You can write multiple letters in one LaTeX file - start each one with ",[377,378,379],"code",{},"\\begin{letter}{recipient}"," and end with ",[377,382,383],{},"\\end{letter}",". You can leave ",[369,386,387],{},"recipient"," blank. Each letter consists of four parts.",[390,391,392,404,415,428],"ol",{},[393,394,395,396,399,400,403],"li",{},"Opening (like ",[377,397,398],{},"\\opening{Dear Sir or Madam,}"," or ",[377,401,402],{},"\\opening{Dear Kate,}",").",[393,405,406,407,410,411,414],{},"Main body (written as usual in LaTeX). If you want the same body in all the letters, you may want to consider putting the entire body in a new command like ",[377,408,409],{},"\\newcommand{\\BODY}{actual body}"," and then using ",[377,412,413],{},"\\BODY"," in all the letters.",[393,416,417,418,421,422],{},"Closing (like ",[377,419,420],{},"\\closing{Yours sincerely,}",").\n",[423,424,425],"ul",{},[393,426,427],{},"LaTeX will leave some space after closing for your hand-written signature; then it will put your name and surname, if you have declared them.",[393,429,430],{},"Additional elements: post scripta, carbon copy and list of enclosures.",[357,432,433,434,437,438,441,442,372],{},"If you want your name, address and telephone number to appear in the letter, you have to declare them first with ",[377,435,436],{},"\\signature",", ",[377,439,440],{},"\\address"," and ",[377,443,444],{},"\\telephone",[357,446,447],{},"Here is an example:",[449,450,455],"pre",{"className":451,"code":452,"language":453,"meta":454,"style":454},"language-latex shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\\documentclass{letter}\n\\usepackage{hyperref}\n\\signature{Joe Bloggs}\n\\address{21 Bridge Street \\\\ Smallville \\\\ Dunwich DU3 4WE}\n\\begin{document}\n\n\\begin{letter}{Director \\\\ Doe \\& Co \\\\ 35 Anthony Road\n\\\\ Newport \\\\ Ipswich IP3 5RT}\n\\opening{Dear Sir or Madam:}\n\nI am writing to you on behalf of the Wikipedia project\n(http:\u002F\u002Fwww.wikipedia.org\u002F),\nan endeavour to build a fully-fledged multilingual encyclopaedia\nin an entirely open manner, to ask for permission to use your\ncopyrighted material.\n\n% The \\ldots command produces dots in a way that will not upset\n% the typesetting of the document.\n\\ldots\n\nThat said, allow me to reiterate that your material will be used\nto the noble end of providing a free collection of knowledge for\neveryone; naturally enough, only if you agree. If that is the\ncase, could you kindly fill in the attached form and post it\nback to me? We shall greatly appreciate it.\n\nThank you for your time and consideration.\n\nI look forward to your reply.\n\n\\closing{Yours Faithfully,}\n\n\\ps\n\nP.S. You can find the full text of GFDL license at\n\\url{http:\u002F\u002Fwww.gnu.org\u002Fcopyleft\u002Ffdl.html}.\n\n\\encl{Copyright permission form}\n\n\\end{letter}\n\\end{document}\n","latex","",[377,456,457,465,471,477,483,489,496,502,508,514,519,525,531,537,543,549,554,560,566,572,577,583,589,595,601,607,612,618,623,629,634,640,645,651,656,662,668,673,679,684,690],{"__ignoreMap":454},[458,459,462],"span",{"class":460,"line":461},"line",1,[458,463,464],{},"\\documentclass{letter}\n",[458,466,468],{"class":460,"line":467},2,[458,469,470],{},"\\usepackage{hyperref}\n",[458,472,474],{"class":460,"line":473},3,[458,475,476],{},"\\signature{Joe Bloggs}\n",[458,478,480],{"class":460,"line":479},4,[458,481,482],{},"\\address{21 Bridge Street \\\\ Smallville \\\\ Dunwich DU3 4WE}\n",[458,484,486],{"class":460,"line":485},5,[458,487,488],{},"\\begin{document}\n",[458,490,492],{"class":460,"line":491},6,[458,493,495],{"emptyLinePlaceholder":494},true,"\n",[458,497,499],{"class":460,"line":498},7,[458,500,501],{},"\\begin{letter}{Director \\\\ Doe \\& Co \\\\ 35 Anthony Road\n",[458,503,505],{"class":460,"line":504},8,[458,506,507],{},"\\\\ Newport \\\\ Ipswich IP3 5RT}\n",[458,509,511],{"class":460,"line":510},9,[458,512,513],{},"\\opening{Dear Sir or Madam:}\n",[458,515,517],{"class":460,"line":516},10,[458,518,495],{"emptyLinePlaceholder":494},[458,520,522],{"class":460,"line":521},11,[458,523,524],{},"I am writing to you on behalf of the Wikipedia project\n",[458,526,528],{"class":460,"line":527},12,[458,529,530],{},"(http:\u002F\u002Fwww.wikipedia.org\u002F),\n",[458,532,534],{"class":460,"line":533},13,[458,535,536],{},"an endeavour to build a fully-fledged multilingual encyclopaedia\n",[458,538,540],{"class":460,"line":539},14,[458,541,542],{},"in an entirely open manner, to ask for permission to use your\n",[458,544,546],{"class":460,"line":545},15,[458,547,548],{},"copyrighted material.\n",[458,550,552],{"class":460,"line":551},16,[458,553,495],{"emptyLinePlaceholder":494},[458,555,557],{"class":460,"line":556},17,[458,558,559],{},"% The \\ldots command produces dots in a way that will not upset\n",[458,561,563],{"class":460,"line":562},18,[458,564,565],{},"% the typesetting of the document.\n",[458,567,569],{"class":460,"line":568},19,[458,570,571],{},"\\ldots\n",[458,573,575],{"class":460,"line":574},20,[458,576,495],{"emptyLinePlaceholder":494},[458,578,580],{"class":460,"line":579},21,[458,581,582],{},"That said, allow me to reiterate that your material will be used\n",[458,584,586],{"class":460,"line":585},22,[458,587,588],{},"to the noble end of providing a free collection of knowledge for\n",[458,590,592],{"class":460,"line":591},23,[458,593,594],{},"everyone; naturally enough, only if you agree. If that is the\n",[458,596,598],{"class":460,"line":597},24,[458,599,600],{},"case, could you kindly fill in the attached form and post it\n",[458,602,604],{"class":460,"line":603},25,[458,605,606],{},"back to me? We shall greatly appreciate it.\n",[458,608,610],{"class":460,"line":609},26,[458,611,495],{"emptyLinePlaceholder":494},[458,613,615],{"class":460,"line":614},27,[458,616,617],{},"Thank you for your time and consideration.\n",[458,619,621],{"class":460,"line":620},28,[458,622,495],{"emptyLinePlaceholder":494},[458,624,626],{"class":460,"line":625},29,[458,627,628],{},"I look forward to your reply.\n",[458,630,632],{"class":460,"line":631},30,[458,633,495],{"emptyLinePlaceholder":494},[458,635,637],{"class":460,"line":636},31,[458,638,639],{},"\\closing{Yours Faithfully,}\n",[458,641,643],{"class":460,"line":642},32,[458,644,495],{"emptyLinePlaceholder":494},[458,646,648],{"class":460,"line":647},33,[458,649,650],{},"\\ps\n",[458,652,654],{"class":460,"line":653},34,[458,655,495],{"emptyLinePlaceholder":494},[458,657,659],{"class":460,"line":658},35,[458,660,661],{},"P.S. You can find the full text of GFDL license at\n",[458,663,665],{"class":460,"line":664},36,[458,666,667],{},"\\url{http:\u002F\u002Fwww.gnu.org\u002Fcopyleft\u002Ffdl.html}.\n",[458,669,671],{"class":460,"line":670},37,[458,672,495],{"emptyLinePlaceholder":494},[458,674,676],{"class":460,"line":675},38,[458,677,678],{},"\\encl{Copyright permission form}\n",[458,680,682],{"class":460,"line":681},39,[458,683,495],{"emptyLinePlaceholder":494},[458,685,687],{"class":460,"line":686},40,[458,688,689],{},"\\end{letter}\n",[458,691,693],{"class":460,"line":692},41,[458,694,695],{},"\\end{document}\n",[357,697,698,699,702],{},"To move the closing and signature parts to the left, insert the following before ",[377,700,701],{},"\\begin{document}",":",[449,704,706],{"className":451,"code":705,"language":453,"meta":454,"style":454},"\\longindentation=0pt\n",[377,707,708],{"__ignoreMap":454},[458,709,710],{"class":460,"line":461},[458,711,705],{},[357,713,714,715,372],{},"The amount of space to the left can be adjusted by increasing the ",[377,716,717],{},"0pt",[361,719,721],{"id":720},"envelopes","Envelopes",[723,724,726],"h3",{"id":725},"using-the-envlab-package","Using the envlab package",[357,728,729,730,733],{},"The envlab package provides customization to the ",[377,731,732],{},"\\makelabels"," command, allowing the user to print on any of an assortment of labels or envelope sizes. For example, beginning your LaTeX file the following way produces a document which includes the letter and a business-size (#10) envelope on the following page.",[449,735,737],{"className":451,"code":736,"language":453,"meta":454,"style":454},"\\documentclass{letter}\n\\usepackage[businessenvelope]{envlab}\n\\makelabels\n",[377,738,739,743,748],{"__ignoreMap":454},[458,740,741],{"class":460,"line":461},[458,742,464],{},[458,744,745],{"class":460,"line":467},[458,746,747],{},"\\usepackage[businessenvelope]{envlab}\n",[458,749,750],{"class":460,"line":473},[458,751,752],{},"\\makelabels\n",[357,754,755,756,763],{},"Refer to the ",[757,758,762],"a",{"href":759,"rel":760},"http:\u002F\u002Fmirrors.ctan.org\u002Fmacros\u002Flatex\u002Fcontrib\u002Fenvlab\u002Felguide.pdf",[761],"nofollow","envlab user guide"," for more information about this capable package. Note that the envlab package has issues displaying characters outside the base ASCII character set.",[723,765,767],{"id":766},"using-the-geometry-package","Using the geometry package",[357,769,770],{},"Here is a relatively simple envelope which uses the geometry package which is used because it vastly simplifies the task of rearranging things on the page (and the page itself).",[449,772,774],{"className":451,"code":773,"language":453,"meta":454,"style":454},"% envelope.tex\n\\documentclass{letter}\n\\usepackage[left=1in,top=0.15in,papersize={4.125in,9.5in},\n  landscape,twoside=false]{geometry}\n\\setlength\\parskip{0pt}\n\\pagestyle{empty}\n\n\\begin{document}\n\nFROM-NAME\n\nFROM-STREET ADDRESS\n\nFROM-CITY, STATE, \\ ZIP\n\n\\vspace{1.0in}\\large\n\\setlength\\parindent{3.6in}\n\nTO-NAME\n\nTO-STREET ADDRESS\n\nTO-CITY, STATE, \\ ZIP\n\n\\end{document}\n",[377,775,776,781,785,790,795,800,805,809,813,817,822,826,831,835,840,844,849,854,858,863,867,872,876,881,885],{"__ignoreMap":454},[458,777,778],{"class":460,"line":461},[458,779,780],{},"% envelope.tex\n",[458,782,783],{"class":460,"line":467},[458,784,464],{},[458,786,787],{"class":460,"line":473},[458,788,789],{},"\\usepackage[left=1in,top=0.15in,papersize={4.125in,9.5in},\n",[458,791,792],{"class":460,"line":479},[458,793,794],{},"  landscape,twoside=false]{geometry}\n",[458,796,797],{"class":460,"line":485},[458,798,799],{},"\\setlength\\parskip{0pt}\n",[458,801,802],{"class":460,"line":491},[458,803,804],{},"\\pagestyle{empty}\n",[458,806,807],{"class":460,"line":498},[458,808,495],{"emptyLinePlaceholder":494},[458,810,811],{"class":460,"line":504},[458,812,488],{},[458,814,815],{"class":460,"line":510},[458,816,495],{"emptyLinePlaceholder":494},[458,818,819],{"class":460,"line":516},[458,820,821],{},"FROM-NAME\n",[458,823,824],{"class":460,"line":521},[458,825,495],{"emptyLinePlaceholder":494},[458,827,828],{"class":460,"line":527},[458,829,830],{},"FROM-STREET ADDRESS\n",[458,832,833],{"class":460,"line":533},[458,834,495],{"emptyLinePlaceholder":494},[458,836,837],{"class":460,"line":539},[458,838,839],{},"FROM-CITY, STATE, \\ ZIP\n",[458,841,842],{"class":460,"line":545},[458,843,495],{"emptyLinePlaceholder":494},[458,845,846],{"class":460,"line":551},[458,847,848],{},"\\vspace{1.0in}\\large\n",[458,850,851],{"class":460,"line":556},[458,852,853],{},"\\setlength\\parindent{3.6in}\n",[458,855,856],{"class":460,"line":562},[458,857,495],{"emptyLinePlaceholder":494},[458,859,860],{"class":460,"line":568},[458,861,862],{},"TO-NAME\n",[458,864,865],{"class":460,"line":574},[458,866,495],{"emptyLinePlaceholder":494},[458,868,869],{"class":460,"line":579},[458,870,871],{},"TO-STREET ADDRESS\n",[458,873,874],{"class":460,"line":585},[458,875,495],{"emptyLinePlaceholder":494},[458,877,878],{"class":460,"line":591},[458,879,880],{},"TO-CITY, STATE, \\ ZIP\n",[458,882,883],{"class":460,"line":597},[458,884,495],{"emptyLinePlaceholder":494},[458,886,887],{"class":460,"line":603},[458,888,695],{},[723,890,892],{"id":891},"printing","Printing",[357,894,895],{},"The above will certainly take care of the spacing but the actual printing is between you and your printer. One user reports that printing envelopes created with envlab is relatively painless. If you use the geometry package, you may find the following commands useful for printing the envelope.",[449,897,901],{"className":898,"code":899,"language":900,"meta":454,"style":454},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","$ pdflatex envelope.tex\n$ pdf2ps envelope.pdf\n$ lpr -o landscape envelope.ps\n","bash",[377,902,903,916,926],{"__ignoreMap":454},[458,904,905,909,913],{"class":460,"line":461},[458,906,908],{"class":907},"sBMFI","$",[458,910,912],{"class":911},"sfazB"," pdflatex",[458,914,915],{"class":911}," envelope.tex\n",[458,917,918,920,923],{"class":460,"line":467},[458,919,908],{"class":907},[458,921,922],{"class":911}," pdf2ps",[458,924,925],{"class":911}," envelope.pdf\n",[458,927,928,930,933,936,939],{"class":460,"line":473},[458,929,908],{"class":907},[458,931,932],{"class":911}," lpr",[458,934,935],{"class":911}," -o",[458,937,938],{"class":911}," landscape",[458,940,941],{"class":911}," envelope.ps\n",[357,943,944],{},"Alternatively, you can use the latex dvi output driver.",[357,946,947],{},"In the first line, dvips command converts the .dvi file produced by latex into a .ps (PostScript) file. In the second line, the PostScript file is sent to the printer.",[449,949,951],{"className":898,"code":950,"language":900,"meta":454,"style":454},"$ latex envelope.tex && dvips -t unknown -T 9.5in,4.125in envelope.dvi\n$ lpr -o landscape envelope.ps\n",[377,952,953,985],{"__ignoreMap":454},[458,954,955,957,960,963,967,970,973,976,979,982],{"class":460,"line":461},[458,956,908],{"class":907},[458,958,959],{"class":911}," latex",[458,961,962],{"class":911}," envelope.tex",[458,964,966],{"class":965},"sMK4o"," &&",[458,968,969],{"class":907}," dvips",[458,971,972],{"class":911}," -t",[458,974,975],{"class":911}," unknown",[458,977,978],{"class":911}," -T",[458,980,981],{"class":911}," 9.5in,4.125in",[458,983,984],{"class":911}," envelope.dvi\n",[458,986,987,989,991,993,995],{"class":460,"line":467},[458,988,908],{"class":907},[458,990,932],{"class":911},[458,992,935],{"class":911},[458,994,938],{"class":911},[458,996,941],{"class":911},[357,998,999],{},"It is reported that pdflatex creates the right page size but not dvips despite what it says in the geometry manual. It will never work though unless your printer settings are adjusted to the correct page style. These settings depend on the printer filter you are using and in CUPS might be available on the lpr command line.",[361,1001,1003],{"id":1002},"windowed-envelopes","Windowed envelopes",[357,1005,1006,1007,1010],{},"An alternative to separately printing addresses on envelopes is to use the letter class from the KOMA package. It supports additional features like folding marks and the correct address placement for windowed envelopes. Using the ",[377,1008,1009],{},"scrlttr2"," document class from the KOMA package the example letter code is:",[449,1012,1014],{"className":451,"code":1013,"language":453,"meta":454,"style":454},"% koma_env.tex\n\\documentclass[a4paper]{scrlttr2}\n\\usepackage{lmodern}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage[english]{babel}\n\\usepackage{url}\n\n\\setkomavar{fromname}{Joe Bloggs}\n\\setkomavar{fromaddress}{21 Bridge Street\\\\\n  Smallville\\\\ Dunwich DU3 4WE}\n\\setkomavar{fromphone}{0123 45679}\n\n\\begin{document}\n\n\\begin{letter}{Director \\\\ Doe \\& Co \\\\ 35 Anthony Road\n\\\\ Newport \\\\ Ipswich IP3 5RT}\n\n\\KOMAoptions{fromphone=true,fromfax=false}\n\\setkomavar{subject}{Wikipedia}\n\\setkomavar{customer}{2342}\n\\opening{Dear Sir or Madam,}\n\nI am writing to you on behalf of the Wikipedia project\n(\\url{http:\u002F\u002Fwww.wikipedia.org\u002F}), an endeavour to build a\nfully-fledged multilingual encyclopaedia in an entirely open\nmanner, to ask for permission to use your copyrighted material.\n\n\\ldots\n\nThat said, allow me to reiterate that your material will be used\nto the noble end of providing a free collection of knowledge for\neveryone; naturally enough, only if you agree. If that is the\ncase, could you kindly fill in the attached form and post it back\nto me? We shall greatly appreciate it.\n\nThank you for your time and consideration.\n\nI look forward to your reply.\n\n\\closing{Yours Faithfully,}\n\\ps P.S. You can find the full text of GFDL license at\n\\url{http:\u002F\u002Fwww.gnu.org\u002Fcopyleft\u002Ffdl.html}.\n\\encl{Copyright permission form}\n\n\\end{letter}\n\n\\end{document}\n",[377,1015,1016,1021,1026,1031,1036,1041,1046,1051,1055,1060,1065,1070,1075,1079,1083,1087,1091,1095,1099,1104,1109,1114,1119,1123,1127,1132,1137,1142,1146,1150,1154,1158,1162,1166,1171,1176,1180,1184,1188,1192,1196,1200,1206,1211,1216,1221,1226,1231],{"__ignoreMap":454},[458,1017,1018],{"class":460,"line":461},[458,1019,1020],{},"% koma_env.tex\n",[458,1022,1023],{"class":460,"line":467},[458,1024,1025],{},"\\documentclass[a4paper]{scrlttr2}\n",[458,1027,1028],{"class":460,"line":473},[458,1029,1030],{},"\\usepackage{lmodern}\n",[458,1032,1033],{"class":460,"line":479},[458,1034,1035],{},"\\usepackage[utf8]{inputenc}\n",[458,1037,1038],{"class":460,"line":485},[458,1039,1040],{},"\\usepackage[T1]{fontenc}\n",[458,1042,1043],{"class":460,"line":491},[458,1044,1045],{},"\\usepackage[english]{babel}\n",[458,1047,1048],{"class":460,"line":498},[458,1049,1050],{},"\\usepackage{url}\n",[458,1052,1053],{"class":460,"line":504},[458,1054,495],{"emptyLinePlaceholder":494},[458,1056,1057],{"class":460,"line":510},[458,1058,1059],{},"\\setkomavar{fromname}{Joe Bloggs}\n",[458,1061,1062],{"class":460,"line":516},[458,1063,1064],{},"\\setkomavar{fromaddress}{21 Bridge Street\\\\\n",[458,1066,1067],{"class":460,"line":521},[458,1068,1069],{},"  Smallville\\\\ Dunwich DU3 4WE}\n",[458,1071,1072],{"class":460,"line":527},[458,1073,1074],{},"\\setkomavar{fromphone}{0123 45679}\n",[458,1076,1077],{"class":460,"line":533},[458,1078,495],{"emptyLinePlaceholder":494},[458,1080,1081],{"class":460,"line":539},[458,1082,488],{},[458,1084,1085],{"class":460,"line":545},[458,1086,495],{"emptyLinePlaceholder":494},[458,1088,1089],{"class":460,"line":551},[458,1090,501],{},[458,1092,1093],{"class":460,"line":556},[458,1094,507],{},[458,1096,1097],{"class":460,"line":562},[458,1098,495],{"emptyLinePlaceholder":494},[458,1100,1101],{"class":460,"line":568},[458,1102,1103],{},"\\KOMAoptions{fromphone=true,fromfax=false}\n",[458,1105,1106],{"class":460,"line":574},[458,1107,1108],{},"\\setkomavar{subject}{Wikipedia}\n",[458,1110,1111],{"class":460,"line":579},[458,1112,1113],{},"\\setkomavar{customer}{2342}\n",[458,1115,1116],{"class":460,"line":585},[458,1117,1118],{},"\\opening{Dear Sir or Madam,}\n",[458,1120,1121],{"class":460,"line":591},[458,1122,495],{"emptyLinePlaceholder":494},[458,1124,1125],{"class":460,"line":597},[458,1126,524],{},[458,1128,1129],{"class":460,"line":603},[458,1130,1131],{},"(\\url{http:\u002F\u002Fwww.wikipedia.org\u002F}), an endeavour to build a\n",[458,1133,1134],{"class":460,"line":609},[458,1135,1136],{},"fully-fledged multilingual encyclopaedia in an entirely open\n",[458,1138,1139],{"class":460,"line":614},[458,1140,1141],{},"manner, to ask for permission to use your copyrighted material.\n",[458,1143,1144],{"class":460,"line":620},[458,1145,495],{"emptyLinePlaceholder":494},[458,1147,1148],{"class":460,"line":625},[458,1149,571],{},[458,1151,1152],{"class":460,"line":631},[458,1153,495],{"emptyLinePlaceholder":494},[458,1155,1156],{"class":460,"line":636},[458,1157,582],{},[458,1159,1160],{"class":460,"line":642},[458,1161,588],{},[458,1163,1164],{"class":460,"line":647},[458,1165,594],{},[458,1167,1168],{"class":460,"line":653},[458,1169,1170],{},"case, could you kindly fill in the attached form and post it back\n",[458,1172,1173],{"class":460,"line":658},[458,1174,1175],{},"to me? We shall greatly appreciate it.\n",[458,1177,1178],{"class":460,"line":664},[458,1179,495],{"emptyLinePlaceholder":494},[458,1181,1182],{"class":460,"line":670},[458,1183,617],{},[458,1185,1186],{"class":460,"line":675},[458,1187,495],{"emptyLinePlaceholder":494},[458,1189,1190],{"class":460,"line":681},[458,1191,628],{},[458,1193,1194],{"class":460,"line":686},[458,1195,495],{"emptyLinePlaceholder":494},[458,1197,1198],{"class":460,"line":692},[458,1199,639],{},[458,1201,1203],{"class":460,"line":1202},42,[458,1204,1205],{},"\\ps P.S. You can find the full text of GFDL license at\n",[458,1207,1209],{"class":460,"line":1208},43,[458,1210,667],{},[458,1212,1214],{"class":460,"line":1213},44,[458,1215,678],{},[458,1217,1219],{"class":460,"line":1218},45,[458,1220,495],{"emptyLinePlaceholder":494},[458,1222,1224],{"class":460,"line":1223},46,[458,1225,689],{},[458,1227,1229],{"class":460,"line":1228},47,[458,1230,495],{"emptyLinePlaceholder":494},[458,1232,1234],{"class":460,"line":1233},48,[458,1235,695],{},[357,1237,1238],{},"The output is generated via:",[449,1240,1242],{"className":898,"code":1241,"language":900,"meta":454,"style":454},"$ pdflatex koma_env\n",[377,1243,1244],{"__ignoreMap":454},[458,1245,1246,1248,1250],{"class":460,"line":461},[458,1247,908],{"class":907},[458,1249,912],{"class":911},[458,1251,1252],{"class":911}," koma_env\n",[357,1254,1255,1256,1259],{},"Folding the print of the resulting file ",[377,1257,1258],{},"koma_env.pdf"," according the folding marks it can be placed into standardized windowed envelopes DIN C6\u002F5, DL, C4, C5 or C6.",[357,1261,1262],{},"In addition to the default, the KOMA-package includes predefined format definitions for different standardized Swiss and Japanese letter formats.",[361,1264,1266],{"id":1265},"reference-lettercls-commands","Reference: letter.cls commands",[1268,1269,1270,1283],"table",{},[1271,1272,1273],"thead",{},[1274,1275,1276,1280],"tr",{},[1277,1278,1279],"th",{},"Command",[1277,1281,1282],{},"Description",[1284,1285,1286,1296,1305,1314,1323,1332,1340,1349,1358,1367,1376,1389,1401,1411,1421,1430,1439,1448,1457,1466,1475,1485,1495,1509],"tbody",{},[1274,1287,1288,1294],{},[1289,1290,1291],"td",{},[377,1292,1293],{},"\\name{}",[1289,1295],{},[1274,1297,1298,1303],{},[1289,1299,1300],{},[377,1301,1302],{},"\\signature{}",[1289,1304],{},[1274,1306,1307,1312],{},[1289,1308,1309],{},[377,1310,1311],{},"\\address{}",[1289,1313],{},[1274,1315,1316,1321],{},[1289,1317,1318],{},[377,1319,1320],{},"\\location{}",[1289,1322],{},[1274,1324,1325,1330],{},[1289,1326,1327],{},[377,1328,1329],{},"\\telephone{}",[1289,1331],{},[1274,1333,1334,1338],{},[1289,1335,1336],{},[377,1337,732],{},[1289,1339],{},[1274,1341,1342,1347],{},[1289,1343,1344],{},[377,1345,1346],{},"\\stopbreaks",[1289,1348],{},[1274,1350,1351,1356],{},[1289,1352,1353],{},[377,1354,1355],{},"\\startbreaks",[1289,1357],{},[1274,1359,1360,1365],{},[1289,1361,1362],{},[377,1363,1364],{},"\\opening{}",[1289,1366],{},[1274,1368,1369,1374],{},[1289,1370,1371],{},[377,1372,1373],{},"\\closing{}",[1289,1375],{},[1274,1377,1378,1383],{},[1289,1379,1380],{},[377,1381,1382],{},"\\cc{}",[1289,1384,1385,1386],{},"Start a parbox introduced with ",[377,1387,1388],{},"\\ccname",[1274,1390,1391,1396],{},[1289,1392,1393],{},[377,1394,1395],{},"\\encl{}",[1289,1397,1385,1398],{},[377,1399,1400],{},"\\enclname",[1274,1402,1403,1408],{},[1289,1404,1405],{},[377,1406,1407],{},"\\ps",[1289,1409,1410],{},"Begins a new paragraph, normally at the close of the letter",[1274,1412,1413,1418],{},[1289,1414,1415],{},[377,1416,1417],{},"\\stopletter",[1289,1419,1420],{},"(empty)",[1274,1422,1423,1428],{},[1289,1424,1425],{},[377,1426,1427],{},"\\returnaddress",[1289,1429,1420],{},[1274,1431,1432,1437],{},[1289,1433,1434],{},[377,1435,1436],{},"\\startlabels",[1289,1438],{},[1274,1440,1441,1446],{},[1289,1442,1443],{},[377,1444,1445],{},"\\mlabel{}{}",[1289,1447],{},[1274,1449,1450,1455],{},[1289,1451,1452],{},[377,1453,1454],{},"\\descriptionlabel{}",[1289,1456],{},[1274,1458,1459,1463],{},[1289,1460,1461],{},[377,1462,1388],{},[1289,1464,1465],{},"\"cc\"",[1274,1467,1468,1472],{},[1289,1469,1470],{},[377,1471,1400],{},[1289,1473,1474],{},"\"encl\"",[1274,1476,1477,1482],{},[1289,1478,1479],{},[377,1480,1481],{},"\\pagename",[1289,1483,1484],{},"\"Page\"",[1274,1486,1487,1492],{},[1289,1488,1489],{},[377,1490,1491],{},"\\headtoname",[1289,1493,1494],{},"\"To\"",[1274,1496,1497,1502],{},[1289,1498,1499],{},[377,1500,1501],{},"\\date{}",[1289,1503,1504,1505,1508],{},"Alter the date. See ",[369,1506,1507],{},"datetime"," package for alternative formattings.",[1274,1510,1511,1516],{},[1289,1512,1513],{},[377,1514,1515],{},"\\today",[1289,1517,1518],{},"Long form date",[723,1520,1522],{"id":1521},"environments","Environments",[1268,1524,1525,1534],{},[1271,1526,1527],{},[1274,1528,1529,1532],{},[1277,1530,1531],{},"Environment",[1277,1533,1282],{},[1284,1535,1536,1546,1555,1564,1573],{},[1274,1537,1538,1543],{},[1289,1539,1540],{},[377,1541,1542],{},"letter{}",[1289,1544,1545],{},"See main article",[1274,1547,1548,1553],{},[1289,1549,1550],{},[377,1551,1552],{},"description",[1289,1554],{},[1274,1556,1557,1562],{},[1289,1558,1559],{},[377,1560,1561],{},"verse",[1289,1563],{},[1274,1565,1566,1571],{},[1289,1567,1568],{},[377,1569,1570],{},"quotation",[1289,1572],{},[1274,1574,1575,1580],{},[1289,1576,1577],{},[377,1578,1579],{},"quote",[1289,1581],{},[361,1583,1585],{"id":1584},"sources","Sources",[423,1587,1588],{},[393,1589,1590],{},[757,1591,1594],{"href":1592,"rel":1593},"https:\u002F\u002Fctan.org\u002Fpkg\u002Fkoma-script",[761],"koma-script -- A bundle of versatile classes and packages",[1596,1597,1598],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}",{"title":454,"searchDepth":467,"depth":467,"links":1600},[1601,1602,1607,1608,1611],{"id":363,"depth":467,"text":364},{"id":720,"depth":467,"text":721,"children":1603},[1604,1605,1606],{"id":725,"depth":473,"text":726},{"id":766,"depth":473,"text":767},{"id":891,"depth":473,"text":892},{"id":1002,"depth":467,"text":1003},{"id":1265,"depth":467,"text":1266,"children":1609},[1610],{"id":1521,"depth":473,"text":1522},{"id":1584,"depth":467,"text":1585},"Creating formal and informal letters with LaTeX using the letter class, including envelopes and windowed envelopes.","md",null,{},{"title":226,"description":1612},"lNxeO3cxk2FTE1lUeLT8jrzC7KaKwL4rcS4J7MB_fF8",[1619,1621],{"title":222,"path":223,"stem":224,"description":1620,"children":-1},"Guide to writing scientific reports, theses, and dissertations using LaTeX with document templates and best practices.",{"title":230,"path":231,"stem":232,"description":1622,"children":-1},"Creating presentations with LaTeX using Beamer and Powerdot packages, including themes, animations, and navigation.",1785155511565]