看板LaTeX
标 题Re: [问题] 有关图文混用--picins
发信站交大资讯次世代BS2 (Sun Dec 22 17:02:42 2013)
转信站ptt!news.ntu!ctu-gate!news.nctu!newsfeed.nthu!news.nthu!nnthu!csnthu!c
※ 引述《[email protected] (数学小天兵)》之铭言:
> 原本我是用wrapfig,不过觉得不太好用,
> 爬文的结果,好像有另一个package picins比较好用,
> 可以查文的结果,却连怎麽用也看不出来,
> 连下载的picins.sty放在哪里都搞不清楚 = =
> 小弟的英文实在不是很好,想请问版上是否有大大会用??
> 对了,小弟编辑的环境是用Cwtex。
edt1023:~$ ltxpkg picins
The position of this package is installed at:
/home/edt1023/opt/texlive/2011/../texmf-local/tex/latex/local/picins/picins.sty
Version: I can't determine the version. Please read the source.
The preloaded package(s) of picins is(are):
找你系统上相对应的目录放在那里,texhash 一下就可以使用了。
如果还是搞不清楚,就放在你 tex 文稿同一目录。
以下是简单的例子:
\documentclass[a4paper]{article}
\usepackage{graphicx,epic}
\usepackage{picins}
\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}
\begin{figure}
\parpic[r]{\mypic}
\mytext
\end{figure}
\mytext
\end{document}
--
※ Origin: 交大次世代(bs2.to)
◆ From: 220.133.241.31
1F:推 banmi:谢谢果正大,不知道图文混合果正大觉得哪个比较好用?? 12/22 13:10