KTUGFaq

KTUG FAQ

α:
йȣ:
Troglodytism does not necessarily imply a low cultural level.
WanSungFontEmEditorTip/Edit/FindPagePSTricks&value=KC2006/ġ占쏙옙占쏙옙占쌕띰옙占쏙옙占쏙옙占쏙옙占ProgressiveRock › WinEdtTip/ǥ
[]

WinEdt Template ̿ ǥ

WinEdtTip/Templates ǥ⸦ ڼ ˾ƺϴ.

1 WinEdt Template ̿ ǥ
1.1 tabular ȯ ֱ
1.2 booktabs ȯ ֱ
1.3 ֱ
1.4
2 minipage ̿Ͽ ǥ ̱

[]

1.1 tabular ȯ ֱ


tabular ȯ(cf. Tabularȯ) ִ WinEdt ޴ Insert
Tabular (n x m) 
Dimensions ȭڰ Ÿ (Rows) (Columns) ְ OK tabular ȯ Էµȴ. 4, 4 Ͽ Էµȴ.
\begin{tabular}{|c|c|c|c|}% ʿ  | ,   ||
  \hline
  % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
   &  &  &  \\
  \hline%\hline    ־ ָ  ٷ ˴ϴ.
   &  &  &  \\
   &  &  &  \\
   &  &  &  \\
  \hline%ʿ  \hline 
\end{tabular}
(Template) c p{0.2\textwidth} Ǵ p{25mm} ְ ʺ(width) ϸ ȴ. ȿ \\ ſ \par մϴ. ̷ ϸ .

<!> WinEdt [http]Table Designer Plugin ġϿ ũη "Table/Array Environment" ȭڸ tabular ȯ Ǵ array ȯ ֽϴ. ġ WinEdt ׸ "Table Designer ġ " Ͻʽÿ. WinEdt â ִ ʿ Ŀ ΰ WinEdt â ޴
 Tools|Table Designer...
ŬϿ "Table/Array Environment" ȭڸ ϴ(Ʒ ׸ ). 켱 (Lines) , (Columns) , Tabular ȯ , Array ȯ ϰ, ʿ ִ ׶ ϳ Ͽ (l), (c), (r) մϴ. Ǽ ̸ Ǵ ̿ ִ ׸ ڸ üũմϴ. Ʒ ׸ ֽϴ. ϼǾ "Send" ߸ Ŀ ִ ڸ ϴ ȯ Էµ˴ϴ. plugin_array1.jpg

[]

1.2 booktabs ȯ ֱ

(cf. KTUGOperate:277, KTUGOperate:150759)

LaTeX booktabs Ű ʰ ׳ tabular ȯ ǥ ٰ ̰ δ. ǾƷ ణ , ù , ְų 쿡 󼭴  Ư ̸ ٸ ̺ ϰ ִ. booktabs Ű ̷ 䱸 Ѳ ذϴ Ű̴. , ٰ 0.65ex(default) 쵵 Ǿ ְ ġ ֵ Ǿ ִ.
booktabs Ű ʾ tabular ȯ濡 \hline ۿ booktabs Ű Ʒ \toprule (default 0.08em ), \midrule (default 0.05em ), \bottomrule (default 0.08em ) ٸ Ǿ Ӹ ƴ϶ \midrule[0.5pt] ִ. ׸ Ư ̸ \addlinespace ־ ȴ. \cmidrule(lr){2-3} 2 3 \midrule ֵ ʰ ʿ ణ ִ. 1 4 2 3 ̿ ణ Ϸ \cmidrule(r){1-2}\cmidrule(l){3-4} ϸ ȴ. ̰ ׳ tabular ȯ濡 \cline ϳ \cline ο ݾ δµ \cmidrule ְ ʿ ִ. ٸ ٰ ٽ ʰ ణ ϰ δ.

CTAN:/macros/latex/contrib/booktabs/booktabs.pdf ִ. (Template) ʿϸ Mittelbach The LaTeX Companion, 2nd ed. 269--272 Ͽ CTAN:/info/examples/tlc2/ ִ 5-6-7.ltx, 5-6-8.ltx Ͽ ȴ.

\usepackage{booktabs}          %preamble
\usepackage{multirow}          %preamble    

\renewcommand{\multirowsetup}{\centering}
\begin{tabular}{cccc}
 \toprule
  Case & Box A & Box B & Remarks \\
 \midrule
  \multirow{2}{10mm}{A}
   & $+X$ & $-1.0$ & \multirow{2}{10mm}{B} \\
    \cmidrule(lr){2-3}
   & $-X$ & $-7.9$ & \\
 \bottomrule
\end{tabular}
\makeatletter
\input{booktabs.sty}%
\input{multirow.sty}%
\makeatother

\renewcommand{\multirowsetup}{\centering}
\begin{tabular}{cccc}
 \toprule
  Case & Box A & Box B & Remarks \\ 
 \midrule
  \multirow{2}{10mm}{A}
   & $+X$ & $-1.0$ & \multirow{2}{10mm}{B} \\ 
    \cmidrule(lr){2-3}
   & $-X$ & $-7.9$ & \\
 \bottomrule
\end{tabular}

[]

1.3 ֱ

http://www.ktug.or.kr/jsboard/data/operate/files/20031105163340/raisebox.jpg

ǥ 2 dz ܿ  ֵ ʺ ̰ Ͽϴ. text ۿ ߾ӿ Ϸ Preamble
 \usepackage{array}
 \newcommand{\rb}[1]{\raisebox{-1.5ex}[0pt]{#1}}
־ϴ. ǥ1(׸ )
\begin{tabular}{|m{45pt}|m{28pt}|m{28pt}|m{33pt}|m{33pt}|}
\hline
  & Tree-\par based & Mesh-\par based
          & Stateless \par multicast& Overlay \par multicast \\ \hline
 Periodic \par message & Yes & Yes & No  & No \\ \hline
 Robustness \par for mobility
                       & No  & Yes & Yes & Yes \\ \hline
 Resource \par efficiency
                       & High & Low & High & Medium \\ \hline
 Type of \par data packet &
 Multi-\par cast& Multi-\par cast& Broad-\par cast & Unicast \\ \hline
 Control \par overhead & High & High & Low & Medium \\ \hline
\end{tabular}
Ͽ . ǥ2
\begin{tabular}{|p{50pt}|p{150pt}|}
 \hline
\emph{Parameters} & \emph{Values} \\ \hline
 Simulation \par
 model        & A flat space network with 50 hosts within
                1000 * 1000 meters \\
 1 &\hspace{15mm}0 \\
 1 &\hspace{15mm}1 \\
 0 &\hspace{15mm}1 \\
 1 &\hspace{15mm}1 \\
 0 &\hspace{15mm}1 \\
 1 &\hspace{15mm}0 \\
 0 &\hspace{15mm}0 \\ \hline
\end{tabular}
Ͽ . ǥ3
\begin{tabular}{|p{100pt}|p{100pt}|}
 \hline
 ODMRP & \emph{Value} \\ \hline
 Interval between join query \par floods & \rb{3 seconds} \\ \hline
 Waiting time before \par sending/forwarding a join \par reply
               node wait & \raisebox{-3ex}{0.025 seconds} \\ \hline
 Longevity of the group \par forwarding state
  & 9 seconds (3 times of join \par query floods interval) \\ \hline
 Maximum Join Table \par retransmission & \rb{3} \\ \hline
\end{tabular}
Ͽ .
[]

1.4

\begin{tabular}{|c|c|c|c|} c ¿ (center) Դϴ, ̰ l (), r () Ǵ ٲ ֽϴ. c Ǵ l, r \par ־ () ʰ Է ڷᰡ () ʺ ¿ þϴ.

  • p{25mm} p ķ ʺ 25mm, ⼭ p paragraph \\ baseline paragraph ù baseline ٴ Դϴ.

  • m{30mm} m ķ ʺ 30mm, ⼭ m middle \\ baseline ü paragraph baseline հ ٴ Դϴ.

  • b{20mm} b ķ ʺ 20mm, ⼭ b bottom \\ baseline paragraph baseline ٴ Դϴ.

̵ 뿹 KTUGOperate:3655 ֽϴ.

ġ ɼ m Ǵ b Preamble
 \usepackage{array}
־ մϴ. ǥ ĸǰ ȣ ̰, ̰ ٸ ϱ Ͽ Label ̷ tabular ȯ table ȯ ӿ ˴ϴ.

(Template)
  % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
Ǿ ִ ִ ̸ \\ \hline ǥ , \\ \cline{col1-col2} 1 2 ϴ. ʿϸ ־ ˴ϴ.

Tabularȯ ⺻ ȯ濡 ȭ ִ ֽϴ.

[]

2 minipage ̿Ͽ ǥ ̱

http://www.ktug.or.kr/jsboard/data/operate/files/20030203180442/minipage-footnote.jpg

Helmut Kopka & Patrick w. Daly: A Guide To LaTeX (3: 1999) 113 ̴ ӿ ִ "" ̴ ٰ Ͽ׿. ׷ "Source: Energy Balance Study Group" ̴ տ
 \\ \hrulefill \\[0.5ex]
־ϴ.

107 ʿ ִ floating table Ϸ غ.
--------------------------------
\begin{table}[h]
\flushleft {\bfseries Primary Energy Consumption}\\[1ex]
%\begin{center}
\begin{minipage}{\textwidth}
\begin{tabular*}{\textwidth}{@{}l@{\hspace{4cm}}r@{\extracolsep\fill}rr@{}}
\hline
 Energy Source & 1975 & 1980  & 1986\\\hline
 Total Consumption & & & \\
 (in million tons of BCU\footnote{\, BCU = Bituminous Coal Unit (1 ton
   BCU corresponds to the heating equivalent of 1 ton of bituminous
   coal=8140.}\, )& 347.7 & 390.2 & 385.0\\
 of which \hspace{3mm}(percentages) & & & \\
 \hspace{18mm}petroleum & 52.1 & 47.6 & 43.2\\
 \hspace{18mm}bituminous coal & 19.1 & 19.8 & 20.0\\
 \hspace{18mm}brown coal & 9.9 & 10.0 & 8.6 \\
 \hspace{18mm}natural gas & 14.2 & 16.5 & 15.1 \\
 \hspace{18mm}nuclear energy & 2.0 & 3.7 & 10.1 \\
 \hspace{18mm}other\footnote{\, Wind, water, solar energy, etc.}
  & 2.7 & 2.3 & 3.0\\
\end{tabular*}
\end{minipage}\\
\hrulefill
\\[0.5ex]
\emph{Source:} Energy Balance Study Group
%\end{center}
\end{table}


WinEdtTip Project

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-11-14 19:12:43
Processing time 0.0607 sec