使用 \begin{titlepage} 时出现问题

使用 \begin{titlepage} 时出现问题

我想为我在 LyX 中编写的内容制作一个首页,但每次使用时\begin{titlepage}\text {This is a sample title}\end{titlepage},第一页只会显示这一行,而不是真正的标题:

在此处输入图片描述

我该如何解决?

答案1

以下是 LyX 文件示例,其标题页采用希伯来语。(只需将以下内容复制到一个文件中,然后在 LyX 2.0.x 中打开该文件即可)。

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass book
\begin_preamble
\frenchspacing
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language hebrew
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mathdots 1
\use_mhchem 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index ××× ×קס
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language polish
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
×ר×××× ××××× ×- 
\lang english
LyX
\end_layout

\begin_layout Section*
××× × ×§×××ת ש×ש×× ××עת ×¢× ×©×××ש ×- 
\lang english
LyX
\end_layout

\begin_layout Standard
\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
×¢×ר×ת
\end_layout

\end_inset


\lang english
LyX
\lang hebrew
 ××××¢ ×¢× ×ס××× ×ª××¢×× ××¢××¨× ×צ×××× ×× 
\lang english
â
\lang hebrew
 ×××××¥ ××שת×ש ×××.
 ×××× ××ת××× ×קר××ת ×ק×××¥ 
\family sans
×¢×ר×
\begin_inset Formula $\vartriangleleft$
\end_inset

××××
\family default
, ×××××× ×ק××× ×§×¦×¨× ×ת××¢××.
 ×××ר ×××, × ××ª× ×××ש×× ×קר××ת 
\family sans
×¢×ר×
\begin_inset Formula $\vartriangleleft$
\end_inset

×ש××¢×ר
\begin_inset space ~
\end_inset

××××ר×
\family default
 ×¢× ×נת ××××× ××× ××שת×ש ×- 
\lang english
LyX
\lang hebrew
.
\end_layout

\end_body
\end_document

以下是我的系统上生成的 PDF:

第 1 页:

第 1 页

第2页:

第2页

最后,这是LaTeX该文件生成的.lyx

%% LyX 2.0.7dev created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english,hebrew]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9,cp1255]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{amssymb}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\frenchspacing

\makeatother

\usepackage{babel}
\begin{document}

\title{áøåëéí äáàéí ì- \inputencoding{latin9}\L{\LyX{}}}

\maketitle

\section*{ëîä ð÷åãåú ùçùåá ìãòú òì ùéîåù á- \L{\protect\LyX{}}}

\inputencoding{latin9}\L{\LyX{}}\inputencoding{cp1255} îâéò òí îñîëé
úéòåã åòæøä îöåééðéí \inputencoding{latin9}\L{\textemdash{}}\inputencoding{cp1255}
îåîìõ ìäùúîù áäí. ëãàé ìäúçéì á÷øéàú ä÷åáõ \textsf{òæøä\L{$\vartriangleleft$}îáåà},
äîäååä ä÷ãîä ÷öøä ìúéòåã. ìàçø îëï, ðéúï ìäîùéê á÷øéàú \textsf{òæøä\L{$\vartriangleleft$}äùéòåø~äîåãøê}
òì îðú ììîåã àéê ìäùúîù á- \inputencoding{latin9}\L{\LyX{}}\inputencoding{cp1255}.
\end{document}

答案2

尝试编译这些源文件以获取标题页标题页模板

答案3

正如@scottsty 所建议的,我会给出我的答案。我发现这个 pdf其中有很多首页可供选择,所以现在我的乳胶代码是

\thispagestyle{empty}
\begingroup
\centering
\vspace*{0.08\textheight}
{\Huge\bfseries Assisting Material }\\[\baselineskip]
{\scshape Course}\\[\baselineskip]
{\scshape Lecturer:}\\[\baselineskip] 
{\large\scshape Prof. }\par
\vfill  {\plogo}\\[0.5\baselineskip]
{\scshape Concluded by Coargo,2013}\par 
\vspace*{0.16\textheight}  
\endgroup

生成一个设计精美的首页。

相关内容