![长表顶行的标题行对齐方式](https://linux22.com/image/290501/%E9%95%BF%E8%A1%A8%E9%A1%B6%E8%A1%8C%E7%9A%84%E6%A0%87%E9%A2%98%E8%A1%8C%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F.png)
我无法设置长表顶行的对齐方式(右对齐)。
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{array}
\usepackage{longtable}
\usepackage{float}
\usepackage{setspace}
\usepackage{babel}
\begin{document}
Text (journal), an academic journal of language, discourse, and communication studies
Text (literary theory), any object that can be "read", including literature and other objects
Textbook, a manual of instruction in any branch of study
Religious text, writings which various religious traditions consider to be sacred
Written text, communication that represents language through the inscription of signs and symbols
\setstretch{.5}
\begin{longtable}{>{\raggedright}p{135pt}>{\raggedright}p{135pt}r}
\caption{Why Thousand USD is not right aligned?}
\multicolumn{3}{r}{\textbf{\scriptsize{}(Thousand USD)}}\tabularnewline
\textbf{Country} & \textbf{District} & \textbf{Amount }\textbf{\scriptsize ('000'USD)}\tabularnewline
\hline
\endhead
Afghanistan & L & 6\tabularnewline
\hline
Australia & K & 2,9\tabularnewline
\hline
Austria & I & 3\tabularnewline
\hline
Bahrain & K & 3\tabularnewline
& L & 1\tabularnewline
\hline
Belgium & K & 1\tabularnewline
& L & 2\tabularnewline
\hline
Canada & I & 99,965\tabularnewline
& K & 9\tabularnewline
& L & 1\tabularnewline
\hline
Cayman I & I & 2\tabularnewline
& Ka & 1\tabularnewline
\hline
\textbf{Grand Total} & & \textbf{2}\tabularnewline
\hline
\end{longtable}
\end{document}
答案1
和
\caption{Why Thousand USD is not right alligned?}\\
我没有问题。这\\
很重要。