[轉錄]Re: [閒聊]文繞圖

看板LaTeX (論文排版)作者時間19年前 (2006/12/09 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
※ 本文轉錄自 [Edward] 看板 作者: Edward (蒙古大夫) 站內: Edward 標題: Re: [閒聊]文繞圖 時間: Sat Dec 9 02:44:56 2006 ※ 引述《Edward (蒙古大夫)》之銘言: > 這在 TeX 版是 FAQ,被問到的次數,雖然我沒實際統計過,但判斷 > 是排在前一、二名。 > 答案也被答到爛了[1]。 > 我實在很想知道,大家排文繞圖,不管是用什麼排版工具,真的有那 > 麼困難嗎?困難到底是在哪裡? 由於我不是很清楚一般的問題會出在哪裡,以下是一個舉例: <code> \documentclass{article} \usepackage{picinpar,epic} \newcommand{\mytext}{ \countdef\myno=0 \loop \advance\myno by 1 \ifnum\myno < 18 This is more picture inside paragrph test. This is \textsf{picinpar} package test. \repeat} \newcommand{\mypic}{ \unitlength=1mm \begin{picture}(40, 30) \multiput(5, 0)(5, 0){8}{\line(0, 1){30}} \multiput(0, 5)(0, 5){6}{\line(1, 0){40}} \thicklines \put(0, 0){\vector(0, 1){30}} \put(0, 0){\vector(1, 0){40}} \put(0, 0){\circle*{1}} \end{picture} } \begin{document} \sloppy \begin{figwindow}[5,c,{\mypic},{Center pic}] \mytext \end{figwindow} \end{document} </code> 其中 c 是 center,可以換成 r(right) 或 l(left)。那個 5 是指從 第五行開始插入。 當然,這不是唯一的方法,方法多得族繁不及備載[1]。 1 wrapfig, floatfig, shapepar, 手工用 box 硬幹…… -- 有些人有種奇怪的想法 -- 認為一些客觀知識的總合即為智慧。 (林語堂.啼笑皆非) -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: linux.cc.ntu.edu.tw ◆ Modify: 06/12/09 11:33:22 <edt1023.sayya.org>
文章代碼(AID): #15UZJ_00 (LaTeX)
文章代碼(AID): #15UZJ_00 (LaTeX)