回答編集履歴
2
\char`は必要ないかもです…
test
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
~~次のようなプリアンブル等で`\newcommand*{\percent}{\%}`とする方法でどうでしょうか?~~
|
2
|
-
次のようなプリアンブル等で`\newcommand*{\percent}{\textsf{\char`\%}}`とする方法でどうでしょうか?
|
2
|
+
~~次のようなプリアンブル等で`\newcommand*{\percent}{\textsf{\char`\%}}`とする方法でどうでしょうか?~~
|
3
|
+
|
4
|
+
次のようにプリアンブル等で`\newcommand*{\percent}{\textsf{\%}}`とする方法でどうでしょうか?
|
3
5
|
|
4
6
|
```latex
|
5
|
-
|
6
7
|
...
|
7
8
|
% \newcommand*{\percent}{\%}
|
8
|
-
\newcommand*{\percent}{\textsf{\char`\%}}
|
9
|
+
% \newcommand*{\percent}{\textsf{\char`\%}}
|
10
|
+
\newcommand*{\percent}{\textsf{\%}}
|
9
11
|
|
10
12
|
\begin{document}
|
11
13
|
|
1
すみませんかん違いしていました。
test
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
次のようなプリアンブル等で`\newcommand*{\percent}{\%}`とする方法でどうでしょうか?
|
1
|
+
~~次のようなプリアンブル等で`\newcommand*{\percent}{\%}`とする方法でどうでしょうか?~~
|
2
|
+
次のようなプリアンブル等で`\newcommand*{\percent}{\textsf{\char`\%}}`とする方法でどうでしょうか?
|
2
3
|
|
3
4
|
```latex
|
4
5
|
|
5
6
|
...
|
6
|
-
\newcommand*{\percent}{\%}
|
7
|
+
% \newcommand*{\percent}{\%}
|
8
|
+
\newcommand*{\percent}{\textsf{\char`\%}}
|
7
9
|
|
8
10
|
\begin{document}
|
9
11
|
|