我无法显示图底部的标题。我总是在中间。非常感谢您的帮助。以下是代码。
\documentclass[fleqn,12pt,a4paper]{article}
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{color}
\usepackage{setspace}
\usepackage{hyperref}
\usepackage{cmll}
\usepackage{tabularx}
\usepackage{pifont}
\usepackage{amstext, amsmath}
\usepackage{enumerate}
\setmainfont[Script=Devanagari]{Sanskrit2003}
%
\begin{document}
\begin{figure}[htb]
\begin{center}
{\setlength{\unitlength}{6mm}
\begin{picture}(13,13)(0,0)
\put(-2,-0.5){\framebox(6,3){ What are Pragruhya}}
\put(8,-4){\framebox(7,3.2){
\shortstack{A monosyllabic \\with the exception of }}}
\put(4,1){\vector(1,2){4}}
\put(8,0){\framebox(7,3){
\shortstack{that come\\ after the of }}}
\put(4,1){\vector(1,1){4}}
\put(8,4){\framebox(7,3){
\shortstack{ or \\are called }}}
\put(4,1){\vector(1,-2){4}}
\put(8,-8){\framebox(7,3){
\shortstack{ A ending in \\are called }}}
\put(4,1){\vector(1,-1){4}}
\put(8,8){\framebox(7,4){
\shortstack{ in when \\followed by the \\word in the }}}
\put(4,1){\vector(1,0){4}}
\end{picture}
}
\end{center}
\caption{Some More Sutras}
\end{figure}
\end{document}
答案1
您需要调整图片环境的参数:
\begin{picture}(13,21)(-2,-8)
我可能弄错了。第一对是图片的大小,第二对是左下角的坐标。通过将后者设置为 (0,0) 并使用负坐标,您将在为图片保留的框外进行绘制。