在我的论文中,开头有两个章节,缩写列表和符号列表,仅包含一个表格。不幸的是,在转换为 pdf 时,LyX 将表格放在下一页,而我希望它们立即从标题章节开始。有没有办法阻止 LyX 将表格放在章节标题后的空白页面上?
工作示例:
\chapter*{List of abbreviations}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\ra{1.3}
\begin{table}
\begin{tabular}{@{}ll@{}}\midrule
Abbreviation & Meaning \\
\midrule
AFM & atomic force microscopy\\
CM & crosslinking monomer\\
\end{tabular}
\end{table}
\chapter*{List of symbols}
\begin{table}
\begin{tabular}{@{}ll@{}}\midrule
Symbol & Meaning \\
\midrule
CPE & Constant phase element \\
W & Warburg impedance\\
\end{tabular}
\end{table}
\chapter*{}
\end{document}
文档中的以下几行可能会为您提供一些信息:
\documentclass[oneside,american,english]{book}
\usepackage[LGR,T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{subscript}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\DeclareRobustCommand{\greektext}{%
\fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{booktabs}
\makeatother
\usepackage{babel}
\begin{document}
\selectlanguage{american}%
答案1
使用
\begin{table}[!htb]
然后表格将出现在最多,但并非所有情况都位于定义的位置。