I have no idea how to make it work. All I'm trying to do, to start with, is make a title with a line above it and a line below it.
I know in this example I can do this:
Code: Select all
\title{This is the pretitle\\
This is the title\\
This is the posttitle}\maketitle
This is what I've tried.
Code: Select all
%% LyX 1.4.2 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[latin1]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{titling}
\begin{document}
\pretitle{this is the pretitle}
\title{this is the title}
\posttitle{This is the post titilte}
\maketitle
\end{document}
Frank