发布时间:2012-05-03 07:47:22
文章类别:TeX绘图
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770102ell4.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

看图说话:

enter image description here

Nice shaded/framed paragraphs using tikz and framed

参看:

http://tex.stackexchange.com/questions/43207/drop-shadow-framed-environment-using-mdframed-tikz

http://www.texample.net/tikz/examples/framed-tikz/

代码摘要如下:

\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{lipsum}
\usetikzlibrary{shadows}
\newmdenv[tikzsetting={fill=green!20},
roundcorner=10pt,shadow=true]{myshadowbox}

\begin{document}

\begin{myshadowbox}
\lipsum[2]
\end{myshadowbox}
\lipsum[3]
\begin{myshadowbox}
\lipsum
\end{myshadowbox}
\end{document}

点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部