I want to take the caption of the table to right from left. Is it possible?
\documentclass[a4paper]{article}
\usepackage{enumitem}
\usepackage{array}
\usepackage{multirow}
\usepackage{ltablex, booktabs}
\renewcommand{\tabularxcolumn}[1]{>{\raggedright\arraybackslash}m{#1}}
\usepackage{arydshln}
\setlength\dashlinedash{0.2pt}
\setlength\dashlinegap{1pt}
\setlength\arrayrulewidth{0.3pt}
\usepackage[tableposition=below]{caption}
\newcommand{\myhdashline}{%
\addlinespace
\hdashline
\addlinespace}
\usepackage{subfiles}
\usepackage{caption}
\usepackage{pdflscape}
\usepackage{rotating}
\usepackage{floatpag}
\usepackage{float}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\Large\bfseries}
{\thesection.}{0.5em}{}
\titleformat{\subsection}
{\normalfont\bfseries}
{\thesubsection.}{0.5em}{}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage[margin=1in,headsep=.15in]{geometry}
\pagestyle{fancy}
\fancyhf{}
\chead{\footnotesize Financial Disclosure Index}
\begin{document}
\begin{tabularx}{\textwidth}
{>{\hsize=1.3\hsize}X>{\hsize=0.7\hsize}X}
\textbf{Caption} \\ \midrule \endfirsthead
\textbf{Caption} \\ \midrule \endhead \bottomrule \endfoot
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\textbf{Title} & \\hline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
TextTextTextTextTextTextText&TextTextTextTextTextTextText\\myhdashline
TextTextTextTextTextTextText & TextTextTextTextTextTextText
\\myhdashline TextTextTextTextTextTextText &
TextTextTextTextTextTextText
\end{tabularx}
\end{document}
longtable
notation with your use oftabularx
... – Werner Dec 28 '18 at 17:50tabularx
environment. exception is when you useltablex
package, but this is not evident from your document example. – Zarko Dec 28 '18 at 17:50tabularx
environment really so long that had to be broken over two or more pages? – Zarko Dec 28 '18 at 18:01