带有“子标题”的 Lyx 文档格式

带有“子标题”的 Lyx 文档格式

我正在使用 lyx 中的文章类来生成以下格式

公司 XYZ 先生


客户姓名年龄<-------“每页重复”
地址

内容


页脚

我不想在序言中包含重复的“副标题”。我该怎么做?



平均能量损失


%% LyX 2.0.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{lmodern}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newcommand{\lyxaddress}[1]{
\par {\raggedright #1
\vspace{1.4em}
\noindent\par}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LO]{Left header, company name}
\fancyhead[RO]{right heade \\ Mr XYZ}
\fancyfoot{Address}

\makeatother

\usepackage{babel}
\begin{document}
\thispagestyle{fancy}


\lyxaddress{I want this\\
CLIENT'S address to be\\
repeated on each page,\\
}

These are my conditions. 
\begin{itemize}
\item I donot want to do this with latex editor. I want to use lyx
\item I am exporting latex file because I do not know how to upload lyx
here
\item I do not like my user to use ``preamble'' on lyx as they may change
it by mistake. That is, I want to write the address on lyx frontend,
but the code to make it repeat on each page can be there in the preamble\@. 
\item Thanks and regard\end{itemize}

\end{document} 

相关内容