I want to make a front-page to something I've been writing in LyX but everytime I use \begin{titlepage}\text {This is a sample title}\end{titlepage}, I get in the first page this line only instead of real title:

enter image description here

How can I solve it?

  • If you're planning on using the titlepage environment, you need to set it in a regular (or Standard) paragraph inside an ERT.
    – Werner
    Sep 20, 2013 at 4:08
  • How can I do so? Sep 20, 2013 at 6:13
  • 2
    Ctrl+L (or Insert > TeX Code) and type \begin{titlepage} <your title> \end{titlepage}.
    – Werner
    Sep 20, 2013 at 6:19
  • thanks but: a. my title is in hebrew and even after changing the encoding the document doesn't compile. b.How can I emphasize and centralize my title? Sep 20, 2013 at 6:26
  • 1
    @CoarguAliquis Without an example of the LaTeX code written by LyX it's impossible to say something.
    – egreg
    Sep 22, 2013 at 10:09

3 Answers 3


Here is an example LyX file with a title page in Hebrew. (Just copy the following to a file and then open that file in LyX 2.0.x).

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\textclass book
\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
\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


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

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

\begin_layout Standard
\begin_inset Note Note
status collapsed

\begin_layout Plain Layout


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

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

\begin_inset space ~

\family default
 ×¢× ×נת ××××× ××× ××שת×ש ×- 
\lang english
\lang hebrew


And here is the resulting PDF on my system:

page 1:

page 1

page 2:

page 2

Finally, here is the LaTeX that is produced from that .lyx file:

%% 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.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.



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


\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}.
  • First, thanks but look at my last comment. Can answer the 'correct' question too please ? Sep 23, 2013 at 3:17
  • @CoarguAliquis I don't understand. Do you mean the code that you use in the other thread? It doesn't use \begin{titlepage}. Also, I can't compile it. Do you have a minimal LyX example that compiles but just doesn't have the title page how you want?
    – scottkosty
    Sep 24, 2013 at 3:36
  • I meant this thread I solved by myself but I wanted to offer bounty on the other (about the TOC), I added there a lyx file which when I try to compile it, it shows example errors. Sep 24, 2013 at 3:41
  • @CoarguAliquis OK. In that case, you should give an answer to your own question here and accept it.
    – scottkosty
    Sep 24, 2013 at 4:42
  • Done. now, what will with the bounty? Can one answer my 'real' question and I'll give him the bounty from here? Sep 24, 2013 at 5:48

Try compile these source files to get title page Title Page Template


as @scottsty suggested, I'd give my answer. I found out this pdf where there are many front-pages to choose from so now my latex code is

{\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 

which produces a well-dsigned front-page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .