{"id":349,"date":"2009-11-16T14:06:37","date_gmt":"2009-11-16T14:06:37","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2009\/11\/16\/publish-to-pdf\/"},"modified":"2009-11-16T14:06:37","modified_gmt":"2009-11-16T14:06:37","slug":"publish-to-pdf","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2009\/11\/16\/publish-to-pdf\/","title":{"rendered":"Publish to PDF"},"content":{"rendered":"<p>Sometimes one of my colleagues comes up with a big idea that&#8217;s so brilliant, it can be succinctly summarized in a small phrase that downplays its impact. <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/rn\/br5ktrh-1.html#br5ktri-27\"><em>Publish to PDF<\/em><\/a> pretty much says it all. In MATLAB R2009b you can now publish your MATLAB code directly to a PDF-file.  <\/p>\n<p>If you&#8217;re like me, you probably used to publish to doc and then use Google docs to convert it to a PDF. Well now you can go to PDF directly, and get a higher quality document than you would by going through Word and then to pdf.<\/p>\n<p>That&#8217;s pretty much the whole peanut butter sandwhich right there. The easiest way to set this up is through a Publish Configuration. <\/p>\n<div align=\"center\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_publish_to_pdf\/publish_to_pdf_small_f.png\" alt=\"Publish to PDF from a publish configuration\"><\/div>\n<p>Here is an image of the output of the <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/matlab_env\/briymz8-1.html#br68y68-1\">sine wave publishing demo <\/a>(click to see a larger version): <\/p>\n<div align=\"center\"><a href=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_publish_to_pdf\/sine_wave_pdf.png\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_publish_to_pdf\/sine_wave_pdf.png\" alt=\"Published PDF of sine wave demo\" width=550><\/a><\/div>\n<p>.<\/p>\n<p>You can also watch this <a href=\"https:\/\/www.mathworks.com\/support\/2009b\/matlab\/7.9\/demos\/new-matlab-publishing-features-in-r2009b.html\">lovely video<\/a> on how this new feature works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes one of my colleagues comes up with a big idea that&#8217;s so brilliant, it can be succinctly summarized in a small phrase that downplays its impact. Publish to PDF pretty much says it all&#8230;. <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2009\/11\/16\/publish-to-pdf\/\">read more >><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/349"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":513,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/349\/revisions\/513"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}