<?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>
    <anon>プログラミング</anon>
  </categories>
  <description>「TeX は if 以外の実行制御を全てマクロ展開で行う」という前置きをおいて、再帰による繰り返し処理の話をしてきた。ところが、実は、TeX にも繰り返し処理用の「構文」らしきものがある。それは \loop...\if...\repeat というもので、丁度 C 言語（やその書式を受け継ぐ言語）の do ... while(...) に相当する。% \countUpTo{&lt;n&gt;}: 1 から n までの整数を出力する \newcount\num \newcount\limitNum \def\countUpTo#1{% \num=0 \limitNum=#1\relax \loop \adva…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20110828%2F1314537300&quot; title=&quot;TeX のループ構文 - マクロツイーター&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-08-28 22:15:00</published>
  <title>TeX のループ構文</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20110828/1314537300</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
