<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doraTeX</author_name>
  <author_url>https://blog.hatena.ne.jp/doraTeX/</author_url>
  <blog_title>TeX Alchemist Online</blog_title>
  <blog_url>https://doratex.hatenablog.jp/</blog_url>
  <categories>
    <anon>TeX</anon>
  </categories>
  <description>先日，「\label によって直前の \refstepcounter された値が取得できるはずなのに，自分の文書中では正しく動かない」という質問を受けて，状況を調べてみたら，次のような罠にはまっていました。 状況 自分でカウンタを用意しており，そのカウンタの \refstepcounter は自作コマンドの中で自動でなされる。 \label 付けをするのは，必要なときに限って自分で地の文中で行う。 このような場合，\refstepcounter と \label の距離があまり離れないように注意せねばなりません。\refstepcounter と \label の距離が離れると，次のような場合…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoratex.hatenablog.jp%2Fentry%2F20231111%2F1699675723&quot; title=&quot;\refstepcounter &amp;amp; \label 使用上の注意点 - TeX Alchemist Online&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-11 13:08:43</published>
  <title>\refstepcounter &amp; \label 使用上の注意点</title>
  <type>rich</type>
  <url>https://doratex.hatenablog.jp/entry/20231111/1699675723</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
