<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zrbabbler</author_name>
  <author_url>https://blog.hatena.ne.jp/zrbabbler/</author_url>
  <blog_title>マクロツイーター</blog_title>
  <blog_url>https://zrbabbler.hatenablog.com/</blog_url>
  <categories>
    <anon>TeX</anon>
  </categories>
  <description>TeX は実行制御を全てマクロ展開だけで行う言語である。だから展開の仕組みを正しく理解すること（もっと具体的にいえば「\expandafter をどう使うか」）は、ある程度複雑なプログラムを「思った通りに書く」ために欠かせない。その中でも「条件文と展開との関係」は一番厄介なものだと思う。数学的に「綺麗な」形は次のようなものだろう。 \iftrue〈真〉\else〈偽〉\fi を一回展開すると 〈真〉 になる。 \iffalse〈真〉\else〈偽〉\fi を一回展開すると 〈偽〉 になる。 （ただし、「結果が真／偽になる \if 条件」を \iftrue／\iffalse で代表させた。((こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20110405%2F1302029319&quot; title=&quot;条件文における「展開」 - マクロツイーター&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>2011-04-05 03:48:39</published>
  <title>条件文における「展開」</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20110405/1302029319</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
