{"id":51,"date":"2012-10-15T16:10:27","date_gmt":"2012-10-15T20:10:27","guid":{"rendered":"http:\/\/www.mbeckler.org\/blog\/?p=51"},"modified":"2012-10-15T16:10:27","modified_gmt":"2012-10-15T20:10:27","slug":"latex-comment-command","status":"publish","type":"post","link":"https:\/\/www.mbeckler.org\/blog\/?p=51","title":{"rendered":"Latex comment command"},"content":{"rendered":"<p>There&#8217;s no block comment (like \/* comment *\/ in c) for Latex source, which is unfortunate. Someone once suggested defining a custom Latex command that did nothing, and use that as a comment tool. This has been working well for me for a few years:<\/p>\n<p><code>\\newcommand{\\comment}[1]{}<\/code><\/p>\n<p>Use it like this:<\/p>\n<p><code>\\comment{stuff<br \/>\nthat<br \/>\nshould<br \/>\nbe<br \/>\ncommented<br \/>\nout}<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s no block comment (like \/* comment *\/ in c) for Latex source, which is unfortunate. Someone once suggested defining a custom Latex command that did nothing, and use that as a comment tool. This has been working well for me for a few years: \\newcommand{\\comment}[1]{} Use it like this: \\comment{stuff that should be commented [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[30,5,31],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-computing","tag-latex","tag-writing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2BznB-P","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":3,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mbeckler.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}