发布时间:2009-12-18 20:07:55
文章类别:小技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100ghb3.html
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
\usepackage{lettrine}
\lettrine[lines=2]{T}{his}
效果图:
演示代码:
\documentclass[a4paper,12pt]{article}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{wrapfig}
%\usepackage{indentfirst}
\usepackage{lettrine}
\begin{document}
\section*{Lettrine test}
% text from en.wikipedia.org/wiki/Gull
\lettrine[lines=2]{\textbf{G}}{ulls} are birds in the family Laridae. They are most closely
and more distantly to the waders. Most gulls belong to the
large genus Larus.
\end{document}
解决方案二:
\usepackage{dropping}
\dropping[len]{num}{text}%len是与左边的距离,默认为0,num是下沉行数
宏包下载地址:
http://www-hep2.fzu.cz/tex/texmf-dist/tex/latex/dropping/dropping.sty
效果图:
代码如上类似。
发表评论 取消回复