[[TableOfContents]] === `\changetext` ¸í·É === `\changetext` ¸í·ÉÀº ÅؽºÆ® ¿µ¿ªÀÇ Æø°ú À§Ä¡¸¦ º¯°æÇÏ´Â ¿ªÇÒÀ» ÇÑ´Ù. ÀÌ ¸í·ÉÀº ´Ù¼¸ °³ÀÇ ÀÎÀÚ¸¦ °¡Áö´Âµ¥ ¸ðµç ÀÎÀÚ´Â ±æÀÌ°ªÀ» ÁöÁ¤Çϰųª ºñ¿öµÎ¾î¾ß ÇÑ´Ù. °¢°¢ÀÇ ÀÎÀÚ°¡ ÀǹÌÇÏ´Â °ÍÀº ´ÙÀ½°ú °°´Ù. {{{#!vim tex \changetext{textheight}{textwidth}{evensidemargin}{oddsidemargin}{columnsep} }}} ÁÖ¾îÁø ±æÀÌ°ªÀº ÇØ´çÇÏ´Â ÇöÀç ±æÀÌ°ª¿¡ '''´õÇØÁø´Ù'''. ÀÌ ¸í·ÉÀÌ ÁÖ¾îÁø ÀÌÈķδ ÅؽºÆ® ¿µ¿ªÀÇ ·¹À̾ƿôÀÌ ¹Ù²î°í »õ·Î¿î `\change...` ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁö À¯È¿ÇÏ´Ù. === `\changepage` ¸í·É === `changepage` ¸í·ÉÀº ÂÊ ·¹À̾ƿôÀ» ¹Ù²Ù´Â µ¥ »ç¿ëÇÑ´Ù. ÀÌ ¸í·ÉÀº ¾ÆÈ© °³ÀÇ ÀÎÀÚ¸¦ °¡Áö´Âµ¥ °¢°¢ ±æÀÌ°ªÀ» Áְųª ºñ¿öµÐ´Ù. óÀ½ÀÇ ´Ù¼¸ °³ÀÇ ÀÎÀÚ´Â `\changetext` ¸í·ÉÀÇ ÀÎÀÚ¿Í ±× Àǹ̰¡ °°´Ù. ³ª¸ÓÁö ³× °³ÀÇ ÀÎÀÚ´Â ´ÙÀ½°ú °°´Ù. {{{#!vim tex \changepage{5 args}{topmargin}{headheight}{headsep}{footskip} }}} ÀÌ ±æÀÌ°ªµéÀº ÇØ´çÇÏ´Â °ª¿¡ '''´õÇØÁø´Ù'''. µû¶ó¼­ ÆäÀÌÁö »óÀÇ ÅؽºÆ® ¿µ¿ªÀÇ ¼¼·Î À§Ä¡¸¦ º¯°æÇÒ ¼ö ÀÖ´Ù. ÇöÀç ÆäÀÌÁöºÎÅÍ È¿°ú°¡ ¹ß»ýÇÏ°í »õ·Î¿î `\change...` ¸í·ÉÀÌ ³ª¿Ã ¶§±îÁö À¯È¿ÇÏ´Ù. /!\ NOTE: ÀÌ ¸í·ÉÀº ÆäÀÌÁö ÀüüÀÇ ¸ðµç ¹®´Ü¿¡ ¿µÇâÀ» ³¢Ä£´Ù. ¸î ¹®´Ü¸¸ ·¹À̾ƿôÀ» ¹Ù²Ù·Á ÇÑ´Ù¸é Â÷¶ó¸® hanging ÆÐÅ°Áö³ª PlainTeXÀÇ `\parshape` ¸í·ÉÀ» °í·ÁÇغ¸´Â °ÍÀÌ ÁÁÀ» °ÍÀÌ´Ù. === ¿¹Á¦ === 2´Ü ÆäÀÌÁöÀÇ ·¹À̾ƿôÀº 1´Ü ÆäÀÌÁöÀÇ ·¹À̾ƿô°ú Á¶±Ý ´Ù¸£´Ù. `\twocolumn` ¸í·ÉÀ¸·Î 2´ÜÀ¸·Î ³Ñ¾î°¥ ¶§ ÆäÀÌÁö ·¹À̾ƿôÀ» Á¶ÀýÇØÁÖ¾ú´Ù°¡ ´Ù½Ã 1´Ü ÆäÀÌÁö·Î µ¹¾Æ¿À¸é¼­ ÀÌÀüÀÇ ¼³Á¤À¸·Î µÇµ¹¸®´Â ¿¹ {{{#!vim tex ... single column normal page \newpage % or \clearpage \changetext{-5\baselineskip}{10em}{-5em}{-5em}{} \twocolumn ... two column pages \clearpage \changetext{5\baselineskip}{-10em}{5em}{5em}{} \onecolumn ... normal pages }}} ƯÁ¤ ¹®´ÜÀÇ ÆøÀ» Áõ°¡½ÃÄ×´Ù°¡ ¿ø·¡ÀÇ ¼³Á¤À¸·Î µ¹¾Æ¿À´Â ¿¹ {{{#!vim tex \changetext{0pt}{5em}{}{}{}% Start of wider paragraph text ... ... end of paragraph. \changetext{0pt}{-5em}{}{}{} Start of a normal paragraph ... }}} À̵û±Ý `\change...` ¸í·ÉÀ» afterpage ÆÐÅ°Áö `\afterpage` ¸í·ÉÀÇ ÀÎÀÚ·Î »ç¿ëÇϸé ÁÁÀ» ¶§°¡ ÀÖ´Ù. === adjustwidth ȯ°æ === adjustwidth ȯ°æÀº ¹®´ÜÀÇ ÁÂ¿ì ¸¶ÁøÀ» º¯°æÇÏ´Â µ¥ »ç¿ëÇÑ´Ù. ÀÌ È¯°æÀº ÇÑ °³ÀÇ ¿É¼Ç ÀÎÀÚ Ç¥Áö¿Í µÎ °³ÀÇ ±æÀÌ°ª ÀÎÀÚ¸¦ ¿ä±¸ÇÑ´Ù. {{{#!vim tex \begin{adjustwidth}[]{leftmargin}{rightmargin} }}} ±æÀÌ°ªÀÌ ¾ç¼ö·Î ÁÖ¾îÁö¸é ÇØ´ç ¸¶ÁøÀ» Áõ°¡Å°½Ã°í(= ÅؽºÆ® Çà±æÀ̴ ª¾ÆÁø´Ù), À½¼ö°ªÀ¸·Î ÁÖ¾îÁö¸é ¸¶ÁøÀ» °¨¼Ò½ÃŲ´Ù(= ÅؽºÆ® Çà±æÀÌ´Â ±æ¾îÁø´Ù). ±æÀÌ°ª ÀÎÀÚ¸¦ ºñ¿öµÎ¸é º¯È­°¡ ¾ø´Ù´Â °ÍÀÌ´Ù. ÀÌ È¯°æÀÌ Á¾·áµÇ´Â ½ÃÁ¡¿¡¼­ ¿ø·¡ÀÇ ¸¶Áø °ªÀ¸·Î º¹±ÍÇÑ´Ù. ƯÁ¤ ¹®´ÜÀ» ¿À¸¥ÂÊ ¸¶ÁøÀ¸·Î »©¼­ ´Ã¸®·Á¸é {{{#!vim tex \begin{adjustwidth}{}{-8em} }}} ¿É¼Ç ÀÎÀÚ¸¦ ºÙÀÌ¸é ¸¶Áø°ªÀÌ È¦Â¦¼öÂÊ¿¡ µû¶ó °ªÀ» º¯È­½ÃŲ´Ù. ±×³É {{{[]}}}¸¸À» ºÙ¿©ÁÖ¸é µÈ´Ù. ¹®¼­°¡ twoside·Î ÀÛ¼ºµÇ°í ÀÖ°í ¹Ù±ùÂÊ ¸¶ÁøÀ¸·Î ¹®´ÜÀ» »©°í ½Í´Ù¸é ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ´Ù. {{{#!vim tex \begin{adjustwidth}[]{}{-8em} }}} ¹®´ÜÀÇ ÆøÀº ´Ã¸®¸é¼­ ¹®´Ü À§Ä¡¸¦ °¡¿îµ¥·Î ÇÏ°í ½Í´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÒ ¼ö ÀÖ´Ù. {{{#!vim tex \begin{adjustwidth}{-4em}{-4em} }}} ¿¹¸¦ µé¾î quotation ȯ°æÀº ´ÙÀ½°ú °°ÀÌ ¼³Á¤ÇÑ °Í°ú °ÅÀÇ °°´Ù. {{{#!vim tex \begin{adjustwidth}{2.5em}{2.5em} }}} ÀÌ È¯°æÀº [¶°´Ù´Ï´Â °³Ã¼] ¾È¿¡¼­µµ ÀÛµ¿ÇÑ´Ù. Ç¥ÀÇ ÆøÀÌ ¹®´ÜÆøº¸´Ù ´õ ³Ð¾î¼­ ÆäÀÌÁö¿¡ ³õ¿´À» ¶§ ÇÑÂÊÀ¸·Î ±â¿ï¾îÁø´Ù¸é ´ÙÀ½°ú °°Àº ¹æ½ÄÀ¸·Î Á¶ÀýÇÒ ¼ö ÀÖ´Ù. {{{#!vim tex \begin{figure} \begin{adjustwidth}{-2em}{-2em} \includegraphics{wide} \caption{Wide figure} \end{adjustwidth} \end{figure} }}} Ȧ¦¼öÂÊ¿¡ µû¶ó ¸¶ÁøÀ» º¯°æÇÏ´Â ±â´ÉÀÌ Ç÷ÎÆ®ÀÇ °æ¿ì Àß ÀÛµ¿ÇÏÁö ¾Ê´Â °æ¿ì°¡ ÀÖ´Ù. ÀÌ°ÍÀº Ç÷ÎÆ®°¡ ÃÖÁ¾ÀûÀ¸·Î ³õÀÌ´Â À§Ä¡°¡ Ȧ¼öÂÊÀÌ µÉÁö ¦¼öÂÊÀÌ µÉÁö¸¦ TeXÀÌ ¹Ì¸® °áÁ¤ÇÏÁö ¾Ê±â ¶§¹®¿¡ ¹ß»ýÇÏ´Â °ÍÀ̹ǷΠÇ÷ÎÆ®°¡ ³õÀÌ´Â À§Ä¡¿¡ labelÀ» ºÙ¿©µÎ¾ú´Ù°¡ ´ÙÀ½¹ø ½ÇÇà ¶§ ÀÌ label À§Ä¡¸¦ Àо Ȧ¦¼öÂÊÀ» ¾Ë¾Æ³»µµ·Ï ÇÏ´Â "¾ö°ÝÇÑ ÆäÀÌÁö °Ë»ç"¸¦ °­Á¦ÇÏ´Â ¹æ¹ýÀÌ ÀÖ´Ù. ÆÐÅ°Áö ¿É¼Ç `strict`¸¦ ÁÖ¸é adjustwidth°¡ `\checkoddpage`¸¦ »ç¿ëÇÏ°Ô µÈ´Ù. ÀÌ ¸í·É¿¡ ´ëÇؼ­´Â ¾Æ·¡¸¦ Âü°íÇ϶ó. `\usepackage[strict]{chngpage}` ÀÌ ¿É¼ÇÀ» ½èÀ» ¶§ÀÇ ¹®Á¦Á¡Àº ÇÑ ¹®¼­¿¡ ³Ê¹« ¸¹Àº labelÀÌ ºÙ°Ô µÇ¾î¼­ TeXÀÇ ½ÇÇà ¿ë·®À» ³Ñ¾î°¥ °¡´É¼ºÀÌ ¾øÁö ¾Ê´Ù´Â °ÍÀÌ´Ù. ±×·¡¼­ ²À ÇÊ¿äÇÒ ¶§¸¸ ¾ö°ÝÇÑ ÆäÀÌÁö °Ë»ç¸¦ Çϵµ·Ï Çϸé ÁÁÀ» °ÍÀÌ´Ù. `\cpstricttrue`¿Í `\cpstrictfalse`¸¦ ÀÌ¿ëÇؼ­ ¾ö°ÝÇÑ ÆäÀÌÁö °Ë»ç¸¦ ÄѰųª ²ø ¼ö ÀÖ´Ù. /!\ NOTE: 2´Ü ¹®¼­¿¡¼­ adjustwidth ȯ°æÀº µÎ °³ÀÇ Ä®·³À» µ¿ÀÏÇÏ°Ô Ãë±ÞÇÑ´Ù. ¿¹¸¦ µé¾î ¹®´ÜÆøÀÌ ¹Ù±ùÂÊ ¸¶ÁøÀ¸·Î ´õ ³Ð¾îÁö¸é Ȧ¼öÂÊ¿¡¼­´Â Ãß°¡ ±æÀÌ°¡ ¸ðµç ´ÜÀÇ ¿À¸¥ÂÊÀ¸·Î ¿Ã °ÍÀÌ°í ¦¼öÂÊ¿¡¼­´Â ¿ÞÂÊÀ¸·Î ¿Ã °ÍÀÌ´Ù. ¿øÄ¡ ¾Ê´Â °á°ú°¡ »ý±ä´Ù¸é ¼öÀÛ¾÷À¸·Î Á¶ÀýÇØ¾ß ÇÒ ¼öµµ ÀÖ´Ù. === `\checkoddpage` ¸í·É === The \checkoddpage command can be used anywhere in the body of a document to determine if TeX is typesetting on an odd or even numbered page. If on an odd page then \ifcpoddpage is set TRUE, otherwise (on an even page) \ifcpoddpage is set FALSE. This works by the \checkoddpage command generating a label and then checking the \pageref for the label (actually, a special version of \pageref is required and is used internally by \checkoddpage). This mechanism requires at least two LaTeX passes to ensure that the labels have settled (on the initial pass there will be no labels in the *.aux file to be checked). The label identifier is composed of the command \cplabelprefix and an automatically generated number. \cplabelprefix, initially defined as `^_`, can be changed in the preamble if it will cause a clash with any author-defined labels. The default labels will be of the form `^_N` where N is a positive integer. ---- [CategoryTeXMacro]