This file is indexed.

/usr/share/texmf/tex/latex/kotex/euc/contrib/hfntk.sty is in ko.tex 0.1.0+20071012-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
%%% file `hfntk.sty` ( part of ko.TeX )
%% 
%% - initial release <2005/04/20> by koaunghi@kornet.net
%% - accepted a part of ko.TeX <2007/07/15>
%%
%% Á¦°øµÇ´Â ¼±Åà »çÇ×Àº °¢ÁÖ ¹øÈ£ Çü½ÄÀÇ ¼±Åðú °¢ÁÖ ÆÇÂ¥±â ¹æ½ÄÀÇ
%% ¼±ÅÃÀ¸·Î ³ª´¶´Ù.
%%
%% °¢ÁÖ ¹øÈ£ Çü½Ä
%% --------------
%% - ÷ÀÚ: ¶óÅØÀÇ ±âº» ¹æ½ÄÀÌ´Ù.  °¢ÁÖ ¹øÈ£°¡ °¢Áָ鿡 ÷ÀڷΠ¥Áø´Ù.
%% - °ýÈ£: ÇÑ±Û ¹®¼­¿¡¼­ ÀÚÁÖ Á¢ÇÒ ¼ö ÀÖ´Â ¹æ½ÄÀÌ´Ù.  °¢ÁÖ ¹øÈ£°¡
%%         °¢ÁÖ¸é ±ÛÀÚüÀÇ Å©±â·Î Â¥Áö¸ç °¢ÁÖ ¹øÈ£ ´ÙÀ½¿¡ ´Ý´Â
%%         ¼Ò°ýÈ£°¡ µÚµû¸¥´Ù.  ¼Ò°ýÈ£¿Í °¢ÁÖ¹®ÀÇ »çÀÌ¿¡´Â Àü°¢ ³ÐÀÌÀÇ
%%         °£°ÝÀÌ °¢ÁÖ ¹øÈ£¿Í °¢ÁÖ¹®À» ±¸º°Çϴµ¥ È¿°úÀûÀÌ´Ù.
%%
%% ``÷ÀÚ''ÀÇ °æ¿ì, °¢ÁÖ ¹øÈ£¿Í °¢ÁÖ¹®ÀÇ °£°ÝÀº 0ptÀÌ°í
%% ``°ýÈ£''ÀÇ °æ¿ì, °¢ÁÖ ¹øÈ£¿Í °¢ÁÖ¹®ÀÇ °£°ÝÀº °ø°£ ¹®ÀÚÀÇ ³ÐÀÌÀÌ´Ù.
%% ÀÌ °£°ÝÀ» ´Þ¸® ÇÏ°íÀÚ ÇÒ ¶§´Â ´ÙÀ½°ú °°ÀÌ \footnumbersepÀÇ ±æÀ̸¦
%% ´Ù½Ã ÁØ´Ù.
%%   \setlength{\footnumbersep}{±æÀÌ}
%%
%% °¢ÁÖ ÆÇÂ¥±â ¹æ½Ä
%% ----------------
%% - ³»¾î¾²±â: °¢ÁÖ ¹øÈ£°¡ º»¹®ÀÇ ¿ÞÂʸÂÃãÀ¸·Î Â¥Áö°í °¢ÁÖ¹®Àº ù
%%     ±ÛÀÚÀÇ À§Ä¡·Î ¿ÞÂʸÂÃ㠵ȴÙ.
%% - ´ÙÇ×À̾±â: °¢ÁÖ°¡ »õ Çà¿¡¼­ ½ÃÀÛÇÏÁö ¾Ê°í ¾ÕÀÇ °¢ÁÖ¿¡
%%     À̾îÁø´Ù. ªÀº °¢ÁÙ°í¸¸ ±¸¼ºµÉ ¶§ À¯¿ëÇÏ´Ù.  ÁٹٲÞÀ¸·Î »õ ÇàÀÌ
%%     ½ÃÀÛÇϸé Ç×»ó »õ·Î¿î °¢ÁÖ°¡ ½ÃÀ۵ǵµ·Ï Â¥¿©Áø´Ù.
%% - ´Ü¼øÀ̾±â: ´ÙÇ×À̾±â¿Í °°À¸³ª »õ·Î¿î °¢ÁÖ°¡ ÇàÀ» ½ÃÀÛÇϵµ·Ï
%%     ÇÏÁö ¾Ê´Â´Ù.  ¾ÕÀÇ °¢ÁÖ°¡ ³¡³ª¸é ¿¬ÀÌ¾î ´ÙÀ½ °¢ÁÖ°¡ ½ÃÀÛÇÑ´Ù.
%% - ¿ÞÂʸÂÃã: µé¿©¾²±â³ª ³»¾î¾²±â¿¡ ÀÇÇØ °¢ÁÖ ¹øÈ£°¡ ±¸º°µÇµµ·Ï ÇÏÁö
%%     ¾Ê´Â´Ù. °¢ÁÖ¸é Àüü°¡ ¿ÞÂʸÂÃãÀ¸·Î Â¥Áø´Ù.
%% - µé¿©¾²±â: °¢ÁÖ ¹øÈ£°¡ ÀÖ´Â ÇàÀÌ ¿ÞÂÊ¿¡¼­ 2¹è°¢ µé¿© ½áÁø´Ù.
%%     °¢ÁÖ¸éÀÇ °¢ÁÖ ¹øÈ£µéÀº ¿À¸¥ÂÊÀ¸·Î Á¤·ÄµÈ´Ù.
%% - µé¿©¿ÞÂʸÂÃã: ¿ÞÂʸÂÃã°ú °°À¸³ª °¢ÁÖ¸é Àüü°¡ 2¹è°¢ µé¾î°£´Ù.
%% - µé¿©³»¾î¾²±â: ³»¾î¾²±â¿Í °°À¸³ª °¢ÁÖ¸é Àüü°¡ 2¹è°¢ µé¾î°£´Ù.
%% - µé¿©°ýÈ£¸ÂÃã: µé¿©³»¾î¾²±â¿Í °°À¸³ª ÁٹٲÞÀ¸·Î »õ·Î ½ÃÀÛÇÏ´Â ÇàÀÇ
%%     ¿ÞÂÊ ¸ÂÃãÀÌ °¢ÁÖ¹®ÀÇ Ã¹ ±ÛÀÚÀÇ À§Ä¡¿¡¼­ ¿ÞÂʸÂÃãÀÌ µÇÁö ¾Ê°í
%%     °¢ÁÖ ¹øÈ£ÀÇ °ýÈ£°¡ ³¡³ª´Â À§Ä¡¿¡¼­ ¿ÞÂʸÂÃãµÈ´Ù.  °¢ÁÖ ¹øÈ£
%%     Çü½ÄÀº ``°ýÈ£''°¡ ¾ÖÃÊ°ªÀÌ´Ù.
%%
%% ±âº» ¼±Åà »çÇ×
%% --------------
%% ¼±Åà »çÇ×À» ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ``÷ÀÚ''¿Í ``³»¾î¾²±â''°¡ ¾ÖÃÊ°ªÀÌ´Ù.
%%
\ProvidesPackage{hfntk}[2007/07/15 Hangul footnote style]

%% ÁÖ¼® ÆÇÂ¥±â ¼³Á¤

\setlength{\footnotesep}{3pt}
 
\def\footnoterule{\vfill\kern-3\p@
  \hrule \@width 2in \kern 2.6\p@\vspace{2pt}} % the \hrule is .4pt high

\newdimen\foot@parindent
\newdimen\footnumbersep

%%% hfn-k.tex for hangul latex

\DeclareOption{÷ÀÚ}{
  \def\fn@markstyle{\@makefnmark}
  \footnumbersep0pt
}
\DeclareOption{superscript}{
  \def\fn@markstyle{\@makefnmark}
  \footnumbersep0pt
}

\DeclareOption{°ýÈ£}{
  \def\fn@markstyle{\@thefnmark)}
  \settowidth{\footnumbersep}{~}
}
\DeclareOption{parenthesis}{
  \def\fn@markstyle{\@thefnmark)}
  \settowidth{\footnumbersep}{~}
}

%% °¢ÁÖ ³»¾î¾²±â
%% ---------------------
%% 1) ù¹ø° ÁÙ
%%    µÎ¹ø° ÁÙ
\DeclareOption{³»¾î¾²±â}{%
  \long\def\@makefntext#1{
    \settowidth{\foot@parindent}{\fn@markstyle}
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent8\p@\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle\hskip\footnumbersep}#1}
}
\DeclareOption{hang}{%
  \long\def\@makefntext#1{
    \settowidth{\foot@parindent}{\fn@markstyle}
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent8\p@\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle\hskip\footnumbersep}#1}
}

%% °¢ÁÖ ´ÙÇ×À̾±â
%% ---------------------
%% 1) ù¹ø° °¢ÁÖ  2) µÎ¹ø° °¢ÁÖ
%% 3) ¼¼¹ø° °¢ÁÖ
\DeclareOption{´ÙÇ×À̾±â}{
  \input{fnpara.sty}
  \long\def\@makefntext#1{%
    \hbox{\fn@markstyle\hskip\footnumbersep #1}
  }%
}
\DeclareOption{multipara}{
  \input{fnpara.sty}
  \long\def\@makefntext#1{%
    \hbox{\fn@markstyle\hskip\footnumbersep #1}
  }%
}

%% °¢ÁÖ ´Ü¼øÀ̾±â
%% ---------------------
%% 1) ù¹ø° °¢ÁÖ  2) µÎ¹ø° °¢ÁÖ  3) ¼¼
%% ¹ø° °¢ÁÖ
\DeclareOption{´Ü¼øÀ̾±â}{
  \input{fnpara.sty}
  \long\def\@makefntext#1{%
    \fn@markstyle\ifdim\footnumbersep=\z@\else~\fi #1
  }%
}
\DeclareOption{para}{
  \input{fnpara.sty}
  \long\def\@makefntext#1{%
    \fn@markstyle\ifdim\footnumbersep=\z@\else~\fi #1
  }%
}

%% °¢ÁÖ ¿ÞÂʸÂÃã
%% ---------------------
%% 1) ù¹ø° ÁÙ
%% µÎ¹ø° ÁÙ
%% \parindent: º»¹®ÀÇ º°Çà indent
\DeclareOption{¿ÞÂʸÂÃã}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \parindent\foot@parindent\noindent%
    \fn@markstyle\hskip\footnumbersep #1}%
}
\DeclareOption{leftflush}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \parindent\foot@parindent\noindent%
    \fn@markstyle\hskip\footnumbersep #1}%
}

%% °¢ÁÖ µé¿©¾²±â
%% ---------------------
%%     1) ù¹ø° ÁÙ
%% µÎ¹ø° ÁÙ
%% \parindent: º»¹® º°Çà indentÀÇ ÀÏÁ¤ ¹è¼ö
%% °¢ÁÖ ¹øÈ£ ¿À¸¥ÂÊ Á¤·Ä
\DeclareOption{µé¿©¾²±â}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \parindent\foot@parindent\noindent
    \hb@xt@1.5\foot@parindent{\hss\fn@markstyle}\hskip\footnumbersep #1}
}
\DeclareOption{indent}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \parindent\foot@parindent\noindent
    \hb@xt@1.5\foot@parindent{\hss\fn@markstyle}\hskip\footnumbersep #1}
}

%% °¢ÁÖ µé¿©¿ÞÂʸÂÃã
%% ---------------------
%%     1) ù¹ø° ÁÙ
%%     µÎ¹ø° ÁÙ
\DeclareOption{µé¿©¿ÞÂʸÂÃã}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \leftskip\foot@parindent
    \parindent\z@\noindent
    \fn@markstyle\hskip\footnumbersep #1
  }
}
\DeclareOption{leftflushindent}{
  \renewcommand\@makefntext[1]{%
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \leftskip\foot@parindent
    \parindent\z@\noindent
    \fn@markstyle\hskip\footnumbersep #1
  }
}

%% °¢ÁÖ µé¿©³»¾î¾²±â
%% ---------------------
%%     1) ù¹ø° ÁÙ
%%        µÎ¹ø° ÁÙ
\DeclareOption{µé¿©³»¾î¾²±â}{
  \long\def\@makefntext#1{
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \settowidth{\footnumbersep}{\reset@font ÁÖ}
    \divide\footnumbersep by2
    \leftskip\foot@parindent
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent\z@\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle\hskip\footnumbersep}#1}
}
\DeclareOption{hangpar}{
  \long\def\@makefntext#1{
    \settowidth{\foot@parindent}{\reset@font °¢ÁÖ}
    \settowidth{\footnumbersep}{\reset@font ÁÖ}
    \divide\footnumbersep by2
    \leftskip\foot@parindent
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent\z@\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle\hskip\footnumbersep}#1}
}

%% °¢ÁÖ µé¿©°ýÈ£¸ÂÃã
%% ---------------------
%%     1)  ù¹ø° ÁÙ
%%       µÎ¹ø° ÁÙ
\DeclareOption{µé¿©°ýÈ£¸ÂÃã}{
  \def\fn@markstyle{\@thefnmark)}
  \settowidth{\footnumbersep}{~}
  \long\def\@makefntext#1{
    \settowidth{\leftskip}{\reset@font °¢ÁÖ}
    \settowidth{\foot@parindent}{\fn@markstyle}
    \settowidth{\footnumbersep}{\reset@font ÁÖ}
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent=\footnumbersep\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle}\hskip\footnumbersep #1}
}
\DeclareOption{varhangpar}{
  \def\fn@markstyle{\@thefnmark)}
  \settowidth{\footnumbersep}{~}
  \long\def\@makefntext#1{
    \settowidth{\leftskip}{\reset@font °¢ÁÖ}
    \settowidth{\foot@parindent}{\fn@markstyle}
    \settowidth{\footnumbersep}{\reset@font ÁÖ}
    \@setpar{\@@par\@tempdima \hsize
      \advance\@tempdima-\foot@parindent
      \parshape\@ne\foot@parindent \@tempdima}\par
    \parindent=\footnumbersep\noindent
    \hb@xt@\z@{\hss\hss\fn@markstyle}\hskip\footnumbersep #1}
}

%\ExecuteOptions{÷ÀÚ, ³»¾î¾²±â}
\ExecuteOptions{superscript,hang}

\ProcessOptions

\endinput

%% end of hfn-k.sty