Quote:
 Originally Posted by sponsoredwalk LyX is basically a gui, it bypasses all recourse to latex code (on my part!). I have had absolutely no need to write or read anything like \documentclass.
In which case I might suggest you try a different, more "stripped-down" editor, that gives you more control over your type-setting. For example, I use TexnicCenter, which probably isn't the best editor available, but it's more than adequate for my purposes. This does mean that you'll have to specify 'formatting' options and include packages at the beginning of every file, like this (for example)...
Code:
\documentclass[a4paper,10pt]{article}

\footskip = 45pt
\textwidth = 425pt
\textheight=22.6cm
\usepackage{amsfonts,amsmath}
\usepackage{graphicx}
\usepackage{calc}
\usepackage{titlesec}
\usepackage{threeparttable}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage[sort]{natbib}
\usepackage[labelformat=simple]{subfig}
\captionsetup{margin=0.5cm,font=small,labelfont=bf}
\titleformat{\section}{\bfseries\Large\raggedright}{\thesection}{1em}{}
\titleformat{\subsection}{\bfseries\large\raggedright}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\bfseries\normalsize\raggedright}{\thesubsubsection}{1em}{}
\renewcommand\bibname{References}
\setlength\fboxsep{0pt}
\setlength\fboxrule{0.75pt}

\begin{document}
However, like me, you'll probably find that you're using a very similar set-up for most documents you produce, so you can save your preamble in a file (called 'preamble.tex', for example), and just input this at the beginning of each document:
Code:
\documentclass[a4paper,12pt]{article}

\input{preamble}

\begin{document}