[[TableOfContents]] = hoze-illust.sty = == \placefigure == {{{#!vim tex \setplacefigure{...} \placefigure[float=true/false, caption={blah blah}, label=blah, type=figure/picture, ...]{figure file name/picture environment} }}} == \illustfigure == {{{#!vim tex \setillustfigure{...} \illustfigure[caption={blah blah}, label=blah, scale=decimal, figureposition=left/right, frame=true/false, type=figure/picture, ... ]{figure file name/picture environment}{text} }}} == \placetable == {{{#!vim tex \setplacetable{...} \placetable[float=true/false, caption={blah blah}, label=blah, type=figure/picture, ...]{tabular} }}} == \illustfigure == {{{#!vim tex \setillusttable{...} \illusttable[caption={blah blah}, label=blah, scale=decimal, figureposition=left/right, frame=true/false, type=figure/picture, ... ]{tabular}{text} }}} == \grayrow == = hoze-style.sty = == \watermark == === ÅؽºÆ®¸¦ ³Ö´Â °æ¿ì === {{{ \watermark{x=30, y=30, angle=50, fontsize=90, color=red, text={Hoze is so hot!}} }}} === ±×¸²À» ³Ö´Â °æ¿ì === {{{ \watermark{x=50, y=100, scale=2, angle=-45, figure=Topfield} }}} == \setchaptertab == Àå ¹øÈ£¸¦ ¹Ý´Þ »öÀÎ (thumb index)À¸·Î ´Þ¾Æ ÁØ´Ù. {{{ \setchaptertab{ x=140, y=150, width=12, height=8, yspace=-10, color=black, font=\LARGE\sffamily\bfseries } }}} == \wrapnum == == \wrapchar == == \ui == == \button == == \submenu == == terms ȯ°æ == == \alert == = hoze-layout.sty = == \setlayout == = hoze.ist = {{{#!vim tex %fixltx2e package is required for markboth in two columns % @ is a valid character in some entries %actual '?' % ? instead of @ preamble " \\newcommand{\\idxmark}[1]{{#1}\\markboth{#1}{#1}} \\newcounter{indexanchor} \\begin{theindex}\n \\def\\hindexhead#1{\\ifcase#1¤¡\\or ¤¤\\or ¤§\\or ¤©\\or ¤±\\or ¤²\\or ¤µ\\or ¤ï\\or ¤·\\or ¤ñ\\or ¤¸\\or ¤º\\or ¤»\\or ¤¼\\or ¤½\\or ¤¾\\or ¤ö\\or ¤¿\\or ¤Á\\or ¤Ã\\or ¤Å\\or ¤Ç\\or ¤Ë\\or ¤Ì\\or ¤Ð\\or ¤Ñ\\or ¤Ó\\or ¤ý\\else Á¾¼º\\fi} \\def\\indexhead#1{% #1\\stepcounter{indexanchor}\\pdfbookmark[1]{#1}{\\theindexanchor} }\n\n" headings_flag 1 symhead_positive "\\symbolheadname" numhead_positive "\\numberheadname" heading_prefix "\\textbf{\\indexhead{" heading_suffix "}}\\nopagebreak\n" group_skip "\n\n\\indexspace\n" item_0 "\n\\item \\idxmark{" delim_0 "}, " item_x1 "} \n \\subitem " }}} 1. ¹®ÀÚ¼øÀ¸·Î Ã¥°¥ÇǸ¦ ¸¸µç´Ù. 1. »çÀüó·³ Á»ó´Ü°ú ¿ìÇÏ´ÜÀÇ Ç¥Á¦¾î¸¦ ¸éÁÖ¿¡ ³Ö´Â´Ù. = batch = == xpub.bat == {{{ @echo off rem kpsewhich -engine=pdftex -format=fmt latex.fmt rem kpsewhich -engine=xetex -format=fmt xelatex.fmt rem set TL_ROOT=c:\\usr\\texlive\\2009 for texindy rem "C:\Program Files\sumatrapdf\sumatrapdf.exe" -inverse-search "\"C:\Program Files\EmEditor\EmEditor.exe\" /l %l \"%f\"" rem xetex -fmt=xelatex -src-specials -synctex=-1 foo.tex xelatex -src-specials -synctex=-1 %~n1 if %ERRORLEVEL%==0 goto SUCCESS goto END :SUCCESS if !%2==! goto END xelatex %~n1 if .%2.==.-e. goto ENGLISHINDEX if .%2.==.-f. goto FRENCHINDEX if .%2.==.-g. goto GERMANINDEX if .%2.==.-i. goto ITALIANINDEX if .%2.==.-k. goto KOREANINDEX if .%2.==.-r. goto RUSSIANINDEX :ENGLISHINDEX rem makeindex %~n1 texindy -L english %~n1.idx goto AFTERMAKEINDEX :FRENCHINDEX texindy -L french %~n1.idx goto AFTERMAKEINDEX :GERMANINDEX texindy -M lang/german/duden-utf8.xdy %~n1.idx goto AFTERMAKEINDEX :ITALIANINDEX texindy -L italian %~n1.idx goto AFTERMAKEINDEX :KOREANINDEX komkindex -s hoze.ist %~n1.idx goto AFTERMAKEINDEX :RUSSIANINDEX rem perl c:\usr\texlive\texmf-local\makeindex\topfield\rumakeindex.pl %~n1.idx texindy -M lang/russian/utf8.xdy %~n1.idx goto AFTERMAKEINDEX :AFTERMAKEINDEX xelatex %~n1 xelatex %~n1 call delaux echo Successfully compiled! :END }}} == open.bat == {{{ @echo Usage: open filename [-p:pdf/-t:text/-s:texmf] @echo off if !%2==! goto PDF if .%2.==.-p. goto PDF if .%2.==.-t. goto TEXT if .%2.==.-s. goto TEXMF goto END :PDF START " " "c:\Program Files\SumatraPDF\SumatraPDF.exe" "%~n1.pdf" goto END :TEXT "c:\Program Files\EmEditor\EmEditor.exe" "%1" goto END :TEXMF kpsewhich %1 > tmp.tmp for /f %%i in (tmp.tmp) do "c:\Program Files\EmEditor\EmEditor.exe" %%i del tmp.tmp /q :END }}} == osd2pdf.bat == {{{ rem o2p.bat gm convert -crop 700x560+9+8 -density 250 %~n1.bmp %~n1.eps epstopdf %~n1.eps del %~n1.eps }}} {{{ for %%i in (*.bmp) do call o2p.bat %%i }}} == ras2pdf.bat == {{{ rem r2p.bat gm convert -density 150 %1 %~n1.eps epstopdf %~n1.eps del %~n1.eps }}} {{{ for %%i in (*.%1) do call r2p.bat %%i }}} == encpdf.bat == {{{ @echo off copy %~n1.pdf tmp.pdf del %~n1.pdf pdftk tmp.pdf output %~n1.pdf owner_pw X...X allow Printing del tmp.pdf echo Successfully encrypted! }}} == viewttf == {{{ @echo off echo usage: viewttf output_filename "font_name" fontsize echo \documentclass[a4paper,oneside]{memoir} > %~n1.tex echo \usepackage{hoze-style} >> %~n1.tex echo \setulmarginsandblock{2.5cm}{3cm}{*} >> %~n1.tex echo \setlrmarginsandblock{2.5cm}{2.5cm}{*} >> %~n1.tex echo \setheadfoot{1cm}{1.5cm} >> %~n1.tex echo \checkandfixthelayout >> %~n1.tex echo \pagestyle{empty} >> %~n1.tex echo \begin{document} >> %~n1.tex echo \fontviewer{%2}{%3} >> %~n1.tex echo \end{document} >> %~n1.tex xelatex %~n1.tex if %ERRORLEVEL%==0 call open %~n1.pdf }}} = °³Á¤ ÀÌ·Â = attachment:hoze_100106.zip ---- attachment:topfield2_100106.zip