\newcount\x \newcount\nx
\def\mysqrt#1{\x=#1 \nx=\x \isqrt{#1}
\big\lfloor\sqrt{#1}\big\rfloor=\number\x}
\def\isqrt#1{\nx=#1
\divide\nx by\x \advance\nx by\x \divide\nx by2
\ifnum\x=\nx \else\x=\nx \isqrt{#1}\fi}
$\mysqrt{361}$
KTUGFaq
KTUG FAQ
KTUGCollectionScreenShot&value=TeX › HLaTeX2DHUcs&value=DVI̹ › 치歐/HLaTeX&value=한글TrueType글꼴사용 › MiKTeX설치&value=WinEdt/ϺԷ › MetaPost › /2008-03
Mar 27, 2008 ¶
Mar 26, 2008 ¶
\llap, \hfil, \hfilneg ¶
Է:
$$\displaylines{x\equiv x;\hfil\llap{(1)}\hfilneg\cr
\hbox{if}\quad x\equiv y\quad\hbox{then}\quad
y\equiv x;\hfil\llap{(2)}\hfilneg\cr
\hbox{if}\quad x\equiv y\quad\hbox{and}\quad
y\equiv z\quad\hbox{then}\quad
x\equiv z.\hfil\llap{(3)}\hfilneg\cr}$$
:
Mar 23, 2008 ¶
Character constants ¶
ũθ ۼϴٺ, (numeric constant) ʿ 찡 ִ.
65 \const ̸ Ѵ.
ϸ ɱ?
,
\newcount\const \const=65, īƮ ̿ϹǷ 뿡 ʷϴ ִ.
īƮ ʴ ִ.
\def\const{65}ù° ٴ , \const ũ̹Ƿ ؼ (expand) ؾ ϰ, Ư ڰ ƴ ū ū ϹǷ, \const ٷ ڿ ũΰ ´ٸ, ũε ȴ.
,
\chardef\const=65ش̶ ִ. ǵ \const װ ó Ȳ Ǵ ڷ ִ.
\const BCDȲ \const \char65 'A' Ǿ ABCD ȴ. ,
\advance\total by\constϸ, 'A' ƴ 65 Ǿ, \total̶ īƮ 65 ϰ ȴ.
ó chardef ϴ ù ° ó īƮ
Ѵٴ , ι° ó ũθ ʿ䵵 .
chardefδ 0 255 ۿ .
255 ū \mathchardef ϸ ȴ. ̴
32767("7FFF) ϴ
\everypar ¶
Է:
\font\init=cmbx10 scaled 2488
\def\Hang#1{\leavevmode
\hbox to 0pt {\hss
\raise 1.4ex \vbox to 0pt{\hbox to 1cm{\init #1\hss}\vss}}%
}
\hsize=8.5cm
\parskip=10pt
\parindent=0pt
\everypar={\hangindent=1cm \hangafter=-2 \Hang}
This is an old-fashioned mediaeval paragraph that
has lots of text and a very long first sentence. The
second sentence is also long, and only serves the purpose
to make this more than 2 or so lines long. For
good measure we throw in a third line which should
make this four lines long, if not five with a little luck.
Also, the second paragraph is an old-fashioned mediaeval
paragraph that has lots of text and a very
long first sentence. The second sentence is also long,
and only serves the purpose to make this more than 2
or so lines long. For good measure we throw in a third
line which should make this four lines long, if not five
with a little luck.
\bye
:
Mar 22, 2008 ¶