{"id":5347,"date":"2010-03-14T14:38:09","date_gmt":"2010-03-14T18:38:09","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=5347"},"modified":"2010-03-14T14:38:09","modified_gmt":"2010-03-14T18:38:09","slug":"supping-trouble-with-a-long-spoon","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2010\/03\/14\/supping-trouble-with-a-long-spoon\/","title":{"rendered":"&lt;sup&gt;ping trouble with a long spoon"},"content":{"rendered":"<p>I like <a href=\"http:\/\/robgoodlatte.com\/\">Rob Goodlatte<\/a>&#8216;s <a title=\"Introducing Flow, a new WordPress theme that solves the liquid layout problem by dynamically scaling text based on window width.\" href=\"http:\/\/robgoodlatte.com\/flow-theme-for-wordpress\/\">Flow Theme for WordPress<\/a>. But it makes me look like a shambling moron in some of my equations, <em><a href=\"http:\/\/scruss.com\/blog\/2005\/05\/09\/swift-turbine-specs-look-dubious\/\">viz<\/a><\/em>.:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5348\" title=\"no superscripts or subscripts\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.22-.png\" alt=\"\" width=\"234\" height=\"33\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.22-.png 234w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.22--160x22.png 160w\" sizes=\"auto, (max-width: 234px) 100vw, 234px\" \/>What&#8217;s &#8216;d2 v3&#8217; supposed to mean? I certainly didn&#8217;t type that.<\/p>\n<p>Digging (not very deeply) into Rob&#8217;s CSS, I found this section<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\nhtml, body, div, span, applet, object, iframe,\r\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\r\na, abbr, acronym, address, big, cite, code,\r\ndel, dfn, em, font, img, ins, kbd, q, s, samp,\r\nsmall, strike, strong, sub, sup, tt, var,\r\nb, u, i, center,\r\ndl, dt, dd, ol, ul, li,\r\nfieldset, form, label, legend,\r\ntable, caption, tbody, tfoot, thead, tr, th, td {\r\n margin: 0;\r\n padding: 0;\r\n border: 0;\r\n outline: 0;\r\n font-size: 100%;\r\n vertical-align: baseline;\r\n background: transparent;\r\n}\r\n<\/pre>\n<p>That forces pretty much all text to be aligned with the baseline, including &lt;sup&gt; and &lt;sub&gt;. While it may be all pretty like, it also destroys the sense of my markup.<\/p>\n<p>Deleting the references to <code>sub<\/code> and <code>sup<\/code> in line 5 fixes the problem. Let&#8217;s have that equation again:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5351\" title=\"now with superscripts and subscripts\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.41-.png\" alt=\"\" width=\"236\" height=\"47\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.41-.png 236w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/03\/Screen-shot-2010-03-14-at-14.21.41--160x31.png 160w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><br \/>\n<em>Laaaahrvely<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like Rob Goodlatte&#8216;s Flow Theme for WordPress. But it makes me look like a shambling moron in some of my equations, viz.: What&#8217;s &#8216;d2 v3&#8217; supposed to mean? I certainly didn&#8217;t type that. Digging (not very deeply) into Rob&#8217;s CSS, I found this section html, body, div, span, applet, object, iframe, h1, h2, h3, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":[2],"tags":[1651,1708,2122,2121,2123,49],"class_list":["post-5347","post","type-post","status-publish","format-standard","hentry","category-goatee-stroking-musing-or-something","tag-css","tag-html","tag-subscript","tag-superscript","tag-typography","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-1of","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=5347"}],"version-history":[{"count":3,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5347\/revisions"}],"predecessor-version":[{"id":5352,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5347\/revisions\/5352"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=5347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=5347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=5347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}