{"id":1533,"date":"2019-05-09T16:58:36","date_gmt":"2019-05-09T20:58:36","guid":{"rendered":"http:\/\/www.jsylvest.com\/blog\/?p=1533"},"modified":"2019-05-09T16:58:43","modified_gmt":"2019-05-09T20:58:43","slug":"%e2%81%82-asterisms-in-latex-%e2%81%82","status":"publish","type":"post","link":"https:\/\/www.jsylvest.com\/blog\/2019\/05\/%e2%81%82-asterisms-in-latex-%e2%81%82\/","title":{"rendered":"\u2042 Asterisms in LaTeX \u2042"},"content":{"rendered":"\n<p>This is a snippet of LaTeX I put together so that I could use <a href=\"http:\/\/emdashes.com\/2010\/07\/asterism.php\">asterisms<\/a> (\u2042) when writing papers.  I use them to mark off sections of text which will need further attention when editing.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>unicode index:<\/td><td>U+2042 (8258)<\/td><\/tr><tr><td>HTML escapes:<\/td><td>&amp;#8258;<\/td><\/tr><tr><td><\/td><td>&amp;#x2042;<\/td><\/tr><tr><td>UTF8:<\/td><td>e2 81 82<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>I should really get around to cleaning up and posting the LaTeX macro files that I've been assembling over the years.  And who knows, maybe there's some other STEM folks who get as excited over obscure typographical marks as I do. (<a href=\"https:\/\/arresteddevelopment.fandom.com\/wiki\/In_God_We_Trust\">There are dozens of us! Dozens!<\/a>)<\/p>\n\n\n\n<p>There are other macros floating around out there that will create asterisms, but the ones I tried don't work if you're not using single-spacing\/standard leading.  This one will do so \u2014 best I can tell \u2014 in addition to working with different sized text, etc.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">Updated:<\/h4>\n\n\n\n<p>I've got a much, <em>much<\/em> simpler solution than the one I gave below, and it appears to get rid of the weird beginning-of-paragraph bug I sometimes ran in to with the solution I posted previously. I haven't tested it extensively, but it seems to work far better than the older version, and it's certainly much easier to understand.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\\newcommand{\\asterism}{%\n\\makebox[1em][c]{%\n\\makebox[0pt][c]{\\raisebox{-0.8ex}{\\smash{**}}}%\n\\makebox[0pt][c]{\\raisebox{0.2ex}{\\smash{*}}}%\n}}<\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>For the record, here's the old version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\\newcommand{\\asterism}{%\n&nbsp;&nbsp;\\smash{%\n&nbsp;&nbsp;&nbsp;&nbsp;\\begin{minipage}[t]{1.2em}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\centering%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\begin{spacing}{1.0}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\raisebox{-.15em}{%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\setlength{\\tabcolsep}{.025em}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\renewcommand*{\\arraystretch}{0.5}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\resizebox{1.05em}{!}{%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\begin{tabular}{@{}cc@{}}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\multicolumn{2}{c}*\\$$!-0.5em]%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&amp;*%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\end{tabular}%\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}% end resizebox\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}% end raisebox\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\end{spacing}%\n&nbsp;&nbsp;&nbsp;&nbsp;\\end{minipage}%\n&nbsp;&nbsp;}% end smash\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is a snippet of LaTeX I put together so that I could use asterisms (\u2042) when writing papers. I use them to mark off sections of text which will need further attention when editing. unicode index: U+2042 (8258) HTML &hellip; <a href=\"https:\/\/www.jsylvest.com\/blog\/2019\/05\/%e2%81%82-asterisms-in-latex-%e2%81%82\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10],"tags":[21,29,57,30],"class_list":["post-1533","post","type-post","status-publish","format-standard","hentry","category-cs","tag-design","tag-latex","tag-type","tag-typography","wpautop"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3sddF-oJ","jetpack-related-posts":[{"id":129,"url":"https:\/\/www.jsylvest.com\/blog\/2013\/04\/reading-list-for-2-apr-2013\/","url_meta":{"origin":1533,"position":0},"title":"Reading List for 2 Apr 2013","author":"jsylvest","date":"4 April 2013","format":false,"excerpt":"Alan Winfield's Web Log ::\u00a0Extreme debugging \u2014 a tale of microcode and an oven \"Components on the CPU circuit board were melting, but still it didn't crash. So that's how I debugged code with an oven.\" If that's not a closing line that gets you to click through, I don't\u2026","rel":"","context":"In &quot;Reading Lists&quot;","block_context":{"text":"Reading Lists","link":"https:\/\/www.jsylvest.com\/blog\/category\/reading-lists\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":278,"url":"https:\/\/www.jsylvest.com\/blog\/2013\/04\/reading-list-for-26-april-2013\/","url_meta":{"origin":1533,"position":1},"title":"Reading List for 26 April 2013","author":"jsylvest","date":"26 April 2013","format":false,"excerpt":"Tom Murphy :: learnfun & playfun: A general technique for automating NES games Wow. Here's the conference paper [pdf]. This suggested to me that it may be time to automate the playing of NES games, in order to save time. (Rather, to replace it with time spent programming.) Ha! I've\u2026","rel":"","context":"In &quot;Reading Lists&quot;","block_context":{"text":"Reading Lists","link":"https:\/\/www.jsylvest.com\/blog\/category\/reading-lists\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/posts\/1533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/comments?post=1533"}],"version-history":[{"count":8,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/posts\/1533\/revisions"}],"predecessor-version":[{"id":1553,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/posts\/1533\/revisions\/1553"}],"wp:attachment":[{"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/media?parent=1533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/categories?post=1533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jsylvest.com\/blog\/wp-json\/wp\/v2\/tags?post=1533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}