KTUGFaq

KTUG FAQ

α:
йȣ:
Recent investments will yield a slight profit.
FindPage&value=%B4%C0%BD%BC%C7%D1%C0%DB%BE%F7%C1%F6%C4%A7占쌉쏙옙占쏙옙&value=LaTeX/FindPagehoze/webtexDVIPDFMx&value=TeX4ht/ѱ۱KTUG › ƮĶ

r1.4

@@ -1,7 +1,31 @@
TeX/LaTeX Լ μ ϴ ƮĶ ؾ ϴ 찡 ִ.

== LaTeX ϴ 1 ==
{{{#!vim tex
\newcommand\ ct hello[2][\@empty]{%
\ifx#1\@empty%1 No option
\def\temp@val{1 : }%
\else% Option
\def\temp@val{#1 : }%
\fi%
}
}}}

== 2 ==
\ ifx @ifnextchar ̿ؼ ΰ Լ иؼ ϴ
{{{#!vim tex
\makeatletter
\def\PicTure{\@ifnextchar[\@pic@ture\@@pic@@ture}
\def\@pic@ture[#1 ]#2{\includegraphics[width=#1cm]{#2}}
\def\@ empty% @pic@@ture#1{\includegraphics{#1}}
\makeatother
}}}
DeleteMe \@ifnextchar ӻ ϴ ÷ؿ (?) ϴ \futurelet \ifx Ͱ ƺԴϴ. ϱ ϳ׿. :)
{{{#!vim tex
\def\Com{\futurelet\testchar\MaybeOptArgCom}
\def\MaybeOptArgCom{\ifx[\testchar \let\next\OptArgCom
\else \let\next\NoOptArgCom \fi \next}
\def\OptArgCom[#1]#2{ ... }
\def\NoOptArgCom#1{ ... }
}}}



LaTeX Լ μ ϴ ƮĶ ؾ ϴ 찡 ִ.

[]

1

\newcommand\hello[2][\@empty]{%
  \ifx#1\@empty%1 No option
    \def\temp@val{1 : }%
  \else% Option
     \def\temp@val{#1 : }%
  \fi%
}

[]

2

\@ifnextchar ̿ؼ ΰ Լ иؼ ϴ
\makeatletter
\def\PicTure{\@ifnextchar[\@pic@ture\@@pic@@ture}
\def\@pic@ture[#1]#2{\includegraphics[width=#1cm]{#2}}
\def\@@pic@@ture#1{\includegraphics{#1}}
\makeatother

DeleteMe \@ifnextchar ӻ ϴ ÷ؿ (?) ϴ \futurelet \ifx Ͱ ƺԴϴ. ϱ ϳ׿. :)
\def\Com{\futurelet\testchar\MaybeOptArgCom}
\def\MaybeOptArgCom{\ifx[\testchar \let\next\OptArgCom
  \else \let\next\NoOptArgCom \fi \next}
\def\OptArgCom[#1]#2{ ... }
\def\NoOptArgCom#1{ ... }

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-02-06 18:55:34
Processing time 0.0466 sec