<?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>例の“二文字フォント命令”に関する喧騒から派生する形で、「\newcommand と \def のどちらを使うべきか」が TeX 界隈でチョットだけ話題になったようである。この記事では、「某 ZR 氏はどう使い分けているか」という（他人にとってはどうでもよさそうな）話題を扱う。*1 LaTeXのコードを書いている場合 この場合は何も迷うことはない。\def は LaTeX の命令ではないので、必然的に \newcommand を使う*2ことになる。 TeX言語のコードを書いている場合 TeX 言語でのプログラミングを前提としている場合は、\newcommand を「\@ifdefinable …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20160729%2F1469807252&quot; title=&quot;\def か \newcommand か（ZR氏の場合） - マクロツイーター&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>2016-07-29 00:47:32</published>
  <title>\def か \newcommand か（ZR氏の場合）</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20160729/1469807252</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
