Lyx:标题文本与 Toc 中的标题数字重叠

Lyx:标题文本与 Toc 中的标题数字重叠

我正在使用 Lyx,但在目录中遇到了一个问题:标题文本与标题数字重叠。我发现以前有人在这里问过类似的问题,但不幸的是,我仍然无法根据以前的解决方案修复它。我附上了我的 Lyx 文件的源代码,如下所示。提前致谢!

% Preview source code

%% LyX 2.0.7.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{babel}
\usepackage{float}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
 {hyperref}
\hypersetup{pdftitle={A DNA Realization of Chemical Reaction Networks},
 pdfauthor={Yuan-Jyue Chen, Neil Dalchau, Cezanne Camacho, Matt Olson, David Soloveichik, Andrew Phillips, Luca Cardelli, and Georg Seelig}}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
%\newref{fig}{refcmd = {Fig.~\ref{#1}}}
%\newref{tab}{refcmd = {Table~\ref{#1}}}
%\newref{sub}{refcmd = {\ref{#1}}}
%\newref{sec}{refcmd = {\ref{#1}}}
%\usepackage{prettyref}
%\newrefformat{fig}{Fig.~\ref{#1}}
%\newrefformat{sub}{Section~\ref{#1}}
%\newrefformat{sec}{Section~\ref{#1}}
%\newrefformat{tab}{Table~\ref{#1}}
%\newrefformat{eq}{(\ref{#1})}

\usepackage{mathpazo}
\usepackage[small,bf]{caption}

% allow minimal text w. figs
\renewcommand{\textfraction}{0.001}
\renewcommand{\topfraction}{0.95} 

%\renewcommand{\arraystretch}{1.2}
\usepackage{caption}
\usepackage{graphicx} % Inserting images
%\usepackage{subfig}
\usepackage{wrapfig} % Wrapping text around figure
\usepackage{sidecap}
\usepackage{subcaption}

\makeatother

\begin{document}

\section*{Supporting information}

~

\noindent Ben Groves$^{1}$, Yuan-Jyue Chen$^{1}$, Sergii Pochekailov$^{1}$,
Chiara Zurla$^{2}$, Philip Santangelo$^{2}$, and Georg Seelig$^{1,3}$

~

\noindent $^{1}$ Department of Electrical Engineering, University
of Washington

\noindent $^{2}$ Wallace H. Coulter Department of Biomedical Engineering,
Georgia Tech and Emory University

\noindent $^{3}$ Department of Computer Science \& Engineering, University
of Washington\tableofcontents{}

\renewcommand{\thesection}{S\arabic{section}}
\renewcommand{\thefigure}{S\arabic{figure}} 
\renewcommand{\thetable}{S\arabic{table}}

\newpage{}

\newpage{}


\section{Effect of covalent modifications on strand exchange kinetics}

test test test\newpage{}


\section{Control of double-stranded strand exchange kinetics by varying toehold
and double-stranded domain length}

\newpage{}


\section{In vitro test of different transfection reagents}

\newpage{}


\section{Sequential transfection versus co-transfection}

\newpage{}


\section{Impact of increasing the length of the double-stranded domain on
reporter activation in cells}



\newpage{}


\section{Reporter: sensitivity to spurious targets}

\newpage{}


\section{The impact of transfection regime on gate colocalization in cells}

\newpage{}


\section{Colocalization of activated reporter with endosome markers}

\newpage{}


\section{Circuit performance using different concentrations of nucleic acids}

\newpage{}


\section{Stability of double-stranded nucleic acid complexes}

\newpage{}


\section{AND logic gate: sensitivity to spurious targets}

\newpage{}


\section{OR logic gate based on 3-way strand displacement}

\newpage{}


\section{Material and methods}


\subsection{Sequence design}


\subsection{In vitro experiments}


\subsection{In vivo experiments}


\subsection{Melt curves}

\newpage{}


\section{Tables of sequences}
\end{document}

答案1

您可以使用此tocloft包来实现此目的。将其插入到您的 Lyx 文档前言中:

\usepackage{tocloft}
\cftsetindents{section}{0em}{3em}
\cftsetindents{subsection}{3em}{4em}

平均能量损失

相关内容