{"id":1297,"date":"2009-05-27T16:53:14","date_gmt":"2009-05-27T16:53:14","guid":{"rendered":"http:\/\/blog.widmann.org.uk\/2009\/05\/27\/1297\/"},"modified":"2009-05-27T16:53:14","modified_gmt":"2009-05-27T16:53:14","slug":"how-to-make-business-cards-in-latex","status":"publish","type":"post","link":"https:\/\/widmanniana.org\/blog\/how-to-make-business-cards-in-latex\/","title":{"rendered":"How to make business cards in LaTeX"},"content":{"rendered":"<div style=\"float: left; margin-right: 10px; margin-bottom: 10px;\">\n<a href=\"http:\/\/www.flickr.com\/photos\/viralbus\/3570788014\/\" title=\"photo sharing\"><img decoding=\"async\" src=\"http:\/\/farm4.static.flickr.com\/3347\/3570788014_497a1b46c4_m.jpg\" alt=\"\" style=\"border: solid 2px #000000;\" \/><\/a><br \/>\n<span style=\"font-size: 0.9em; margin-top: 0px;\"><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/viralbus\/3570788014\/\">My business card<\/a><br \/>\nOriginally uploaded by <a href=\"http:\/\/www.flickr.com\/people\/viralbus\/\">viralbus<\/a><br \/>\n<\/span>\n<\/div>\n<p>When we set up <a href=\"http:\/\/www.complexli.com\/\">our company<\/a>, we needed some business cards.<\/p>\n<p><a href=\"http:\/\/www.vistaprint.co.uk\/\">VistaPrint<\/a> will make business cards from a PDF file made according to the following specifications: &#8220;Full Bleed Size: 90mm x 52mm; Document Trim Size: 87mm x 49mm&#8221;.<\/p>\n<p>I prefer doing typography in <a href=\"http:\/\/www.tug.org\/\">LaTeX<\/a>, so I just needed to set this up properly.<\/p>\n<p>I had a few problems with the margins, but with some help from <a href=\"http:\/\/www.tug.dk\/\">DK-TUG<\/a>&#8216;s mailing list, I came up with the following:<\/p>\n<p><code>\\documentclass[11pt,a4paper]{memoir}<br \/>\n\\setstocksize{52mm}{90mm}<br \/>\n\\setpagecc{49mm}{87mm}{*}<br \/>\n\\settypeblocksize{43mm}{81mm}{*}<br \/>\n\\setulmargins{3mm}{*}{*}<br \/>\n\\setlrmargins{3mm}{*}{*}<br \/>\n\\setheadfoot{0.1pt}{0.1pt}<br \/>\n\\setheaderspaces{1pt}{*}{*}<br \/>\n\\checkandfixthelayout[fixed]<br \/>\n\\pagestyle{empty} <br \/>\n\\usepackage{color}<br \/>\n\\begin{document}<br \/>\n\\pagecolor[cmyk]{...}<br \/>\n...<br \/>\n\\end{document}<\/code><\/p>\n<p>The &#8220;[fixed]&#8221; option is very important here, but it is only available in the newest versions of memoir, so you might need to upgrade this package if you have problems getting it to work.<\/p>\n<p>After designing the actual business card, I ran it through <tt>pdflatex<\/tt> and uploaded the resulting file to VistaPrint, and it worked beautifully, as can be seen on the photo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My business card Originally uploaded by viralbus When we set up our company, we needed some business cards. VistaPrint will make business cards from a PDF file made according to the following specifications: &#8220;Full Bleed Size: 90mm x 52mm; Document Trim Size: 87mm x 49mm&#8221;. I prefer doing typography in LaTeX, so I just needed to set this up properly. I had a few problems with the margins, but with some help from DK-TUG&#8216;s mailing list, I came up with the following: \\documentclass[11pt,a4paper]{memoir} \\setstocksize{52mm}{90mm} \\setpagecc{49mm}{87mm}{*} \\settypeblocksize{43mm}{81mm}{*} \\setulmargins{3mm}{*}{*} [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[159,105,114,147],"tags":[],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-en","category-featured","category-computing","category-typography"],"_links":{"self":[{"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/comments?post=1297"}],"version-history":[{"count":0,"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/posts\/1297\/revisions"}],"wp:attachment":[{"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/media?parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/categories?post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/widmanniana.org\/blog\/wp-json\/wp\/v2\/tags?post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}