小编sho*_*gun的帖子

标题与 longtable Latex 横向模式下的表格不对齐

在我的长表中,当我使用横向模式时,标题与表格宽度不对齐。虽然当我删除横向模式时,它很好。然而,我的桌子又宽又长,我需要将其与横向模式对齐。这是一个 MWE,请帮帮我。

谢谢

\documentclass{article}
\usepackage{lipsum} % Just to fill some paragraph with random texts.
\usepackage[margin=1in,left=1.5in,includefoot]{geometry} % Setup the margin of the document \usepackage{float}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{tabu, colortbl}
\usepackage{array}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{lscape}
\usepackage[referable]{threeparttablex}
\usepackage{amsmath}
\usepackage{parskip}
\usepackage{xcolor}
\usepackage{setspace}

\renewcommand{\arraystretch}{1.5}
\setlength{\tabcolsep}{2pt}
\tabulinesep=1mm

\usepackage{ltcaption}
% The ltcaption package supports \CaptionLabelFont & \CaptionTextFont introduced by the NTG document classes
%\renewcommand\LTcaptype{table}
\renewcommand\CaptionLabelFont{\normalsize}
\renewcommand\CaptionTextFont{\normalsize}

\setlength{\LTcapwidth}{\textwidth} % caption width is same as table width
\setlength\LTcapskip{0.25em} % otherwise caption will skip baseline between caption and content

\renewcommand{\arraystretch}{1.5} % Insert …
Run Code Online (Sandbox Code Playgroud)

latex landscape caption longtable

3
推荐指数
1
解决办法
3991
查看次数

标签 统计

caption ×1

landscape ×1

latex ×1

longtable ×1