KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You enjoy the company of other people.
FrontPage › ¹®´ÜÆøº¯°æ

³ª¿­È¯°æÀ» ÀÌ¿ëÇÑ ¹®´ÜÆø º¯°æ

by ssc KTUGOperate:4234

´ÙÀ½°ú °°ÀÌ newenvironment¸¦ »ç¿ëÇغ¸¼¼¿ä... ÇÑÆäÀÌÁö ¾È¿¡¼­µµ textwidth¸¦ ¹Ù²Ü¼ö ÀÖÀ¾´Ï´Ù. ¿¹Á¦Çϳª ¿Ã¸³´Ï´Ù.

\documentclass{article}
\setlength{\textwidth}{14cm}
\newenvironment{newidth}[2]{
 \begin{list}{}{
  \setlength{\topsep}{0pt}
  \setlength{\leftmargin}{#1}
  \setlength{\rightmargin}{#2}
  \setlength{\listparindent}{\parindent}
  \setlength{\itemindent}{\parindent}
  \setlength{\parsep}{\parskip}
 }
\item[]}{\end{list}}

\begin{document}
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.

\begin{newidth}{3cm}{3cm}
left and right margins are increased by 3 cm. left and right
margins are increased by 3 cm. left and right margins are
increased by 3 cm. left and right margins are increased by 3 cm.
left and right margins are increased by 3 cm. left and right
margins are increased by 3 cm.

   \begin{newidth}{3cm}{-1cm} %newidth ¾È¿¡ newidth °¡´É (nesting)
    The left margin is increased by 6cm and the right margin is increased by 2
    cm. The left margin is increased by 6cm and the right margin is increased by 2
    cm. The left margin is increased by 6cm and the right margin is increased by 2
    cm. The left margin is increased by 6cm and the right margin is increased by 2 cm.
  \end{newidth}
\end{newidth}
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.
textwidth 14cm. textwidth 14cm. textwidth 14cm. textwidth 14cm.

\begin{newidth}{-0.5cm}{-0.5cm}
textwidth 15cm. textwidth 15cm. textwidth 15cm. textwidth 15cm.
textwidth 15cm. textwidth 15cm. textwidth 15cm. textwidth 15cm.
textwidth 15cm. textwidth 15cm. textwidth 15cm. textwidth 15cm.

\end{newidth}

\end{document}

http://www.ktug.or.kr/jsboard/data/operate/files/20030207154443/test.JPG

Comment 1: KTUGOperate:12219 by Karnes
ssc ´Ô²²¼­ ÀÓÀÇÀÇ ¹®´ÜÆøÀ» ÀÚÀ¯·Ó°Ô ¼³Á¤ÇÏ´Â ¿¹Á¦¸¦ º¸¿©Áּ̽À´Ï´Ù. ÀÌ ¹®Á¦¸¦ Á»´õ LaTeX½º·´°Ô Á¢±ÙÇÏ´Â ¹æ¹ýÀº, ´ÙÀ½°ú °°ÀÌ ÇÏ´Â °ÍÀÔ´Ï´Ù.
  1. ¿¹ÄÁ´ë ¿ÞÂÊ ¿©¹éÀ» Á»´õ ³Ë³ËÇÏ°Ô ÁÙ ¹®´Ü¿¡ ´ëÇÏ¿© »õ·Î¿î ȯ°æÀ» Á¤ÀÇÇÕ´Ï´Ù. ¸¸¾à ¿©¹éÀÌ ¼­·Î ´Ù¸¥ ¸î °³ÀÇ ¹®´ÜÀ» ÇÑ ¹®¼­¿¡¼­ »ç¿ëÇÏ·Á¸é °¢°¢À» º°µµÀÇ È¯°æÀ¸·Î Á¤ÀÇÇϱâ·Î ÇÏ°í, ±× ¿©¹éÀÇ Æø°ú º»¹® ÆøÀ» ¹Ì¸® °áÁ¤ÇصӴϴÙ.
  2. ÇϳªÀÇ ¹®´Ü¸ð¾çÀ» ÇϳªÀÇ È¯°æÀ¸·Î Á¤ÀÇÇÕ´Ï´Ù. ÀÌ Á¤ÀÇ¿¡´Â ¸ðµç Àý´ë/»ó´ë ±æÀÌ°¡ ¹Ì¸® Á¤ÇØÁ® ÀÖ¾î¾ß ÇÕ´Ï´Ù. ¹®´Ü¸ð¾çÀ» ȯ°æÀ¸·Î Á¤ÀÇÇÒ ¶§ À§ÀÇ ssc ´ÔÀÇ ¿¹Á¦¸¦ »ç¿ëÇÕ´Ï´Ù. ÀÌ ÀÓÀÇÀÇ È¯°æÀ» ¿¹ÄÁ´ë lmarginpara¶ó°í ÇÑ´Ù¸é,
  3. º»¹®¿¡¼­´Â ¿À·ÎÁö \begin{lmarginpara}~~\end{lmarginpara}¸¸À» ¾¹´Ï´Ù. ³ªÁß¿¡ ´Ù¸¥ ÀÌÀ¯¿¡¼­ ÀÌ ¹®´ÜÀÇ ÆøÀ» ´Ù½Ã ¼³Á¤ÇØ¾ß ÇÒ ÇÊ¿ä°¡ »ý±â¸é preamble¿¡ Àִ ȯ°æÀÇ Á¤ÀǸ¦ ¹Ù²Ù°Å³ª ÀÌ È¯°æ Á¤ÀÇ¿¡¼­ »ç¿ëµÈ ±æÀÌ ¸ÅÅ©·Î°ªÀ» ¹Ù²ÞÀ¸·Î½á ¸ðµç ¹®¼­¿¡ ´ëÇØ ÀÏ°ýÀûÀ¸·Î ¹®´Ü¸ð¾çÀÌ ¹Ù²îµµ·Ï ¹®¼­¸¦ ÀÛ¼ºÇÕ´Ï´Ù.

chngpage ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ý


^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-12-29 17:40:31
Processing time 0.2147 sec