{"action":"created","issue":{"url":"https://api.github.com/repos/kmuto/review/issues/406","labels_url":"https://api.github.com/repos/kmuto/review/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/kmuto/review/issues/406/comments","events_url":"https://api.github.com/repos/kmuto/review/issues/406/events","html_url":"https://github.com/kmuto/review/issues/406","id":60782408,"number":406,"title":"@<u> のLaTeX表現","user":{"login":"k16shikano","id":18476,"avatar_url":"https://avatars.githubusercontent.com/u/18476?v=3","gravatar_id":"","url":"https://api.github.com/users/k16shikano","html_url":"https://github.com/k16shikano","followers_url":"https://api.github.com/users/k16shikano/followers","following_url":"https://api.github.com/users/k16shikano/following{/other_user}","gists_url":"https://api.github.com/users/k16shikano/gists{/gist_id}","starred_url":"https://api.github.com/users/k16shikano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k16shikano/subscriptions","organizations_url":"https://api.github.com/users/k16shikano/orgs","repos_url":"https://api.github.com/users/k16shikano/repos","events_url":"https://api.github.com/users/k16shikano/events{/privacy}","received_events_url":"https://api.github.com/users/k16shikano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T07:46:47Z","updated_at":"2015-03-23T14:29:49Z","closed_at":null,"body":"提案です。現在は決め打ちで `jumoline`パッケージを前提とした `\\Underline` になっていますが、より一般的な `\\underline` とするか、`\\reviewunderline` として`layout.tex.erb` に以下のような定義を追加するのはどうでしょうか。\r\n\r\n{{{\r\n\\makeatletter\r\n\\@ifpackageloaded{jumoline}\r\n{\\newcommand{\\reviewunderline}{\\Underline}}\r\n{\\newcommand{\\reviewunderline}{\\underline}}\r\n\\makeatother\r\n}}}"},"comment":{"url":"https://api.github.com/repos/kmuto/review/issues/comments/85025112","html_url":"https://github.com/kmuto/review/issues/406#issuecomment-85025112","issue_url":"https://api.github.com/repos/kmuto/review/issues/406","id":85025112,"user":{"login":"takahashim","id":10401,"avatar_url":"https://avatars.githubusercontent.com/u/10401?v=3","gravatar_id":"","url":"https://api.github.com/users/takahashim","html_url":"https://github.com/takahashim","followers_url":"https://api.github.com/users/takahashim/followers","following_url":"https://api.github.com/users/takahashim/following{/other_user}","gists_url":"https://api.github.com/users/takahashim/gists{/gist_id}","starred_url":"https://api.github.com/users/takahashim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takahashim/subscriptions","organizations_url":"https://api.github.com/users/takahashim/orgs","repos_url":"https://api.github.com/users/takahashim/repos","events_url":"https://api.github.com/users/takahashim/events{/privacy}","received_events_url":"https://api.github.com/users/takahashim/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T14:29:49Z","updated_at":"2015-03-23T14:29:49Z","body":"これですが、実際に試してみると、上記のコードをユーザカスタムマクロを読み込んだ後に置くとユーザが変更できなくなるし、ユーザカスタムマクロの前に置くと`\\@ifpackageloaded{jumoline}`が無意味になるのでうれしくないですね……。\r\n\r\nということで、単純に`\\newcommand{\\reviewunderline}{\\underline}`をユーザカスタムマクロの読み込み前に定義しておいて、必要であれば`\\renewcommand{\\reviewunderline}{\\underline}`してもらうというのが確実な気がしてきました。\r\n"}}