\usepackage{amsmath}
\usepackage{color}
+\definecolor{page_backgroundcolor}{rgb}{1, 0.3359375, 0}
+\pagecolor{page_backgroundcolor}
+\definecolor{document_fontcolor}{rgb}{0.66796875, 1, 0}
+\color{document_fontcolor}
\definecolor{note_fontcolor}{rgb}{0, 0, 1}
\definecolor{shadecolor}{rgb}{1, 0, 0}
\usepackage{framed}
\begin{shaded}%
Shaded background box\end{shaded}
+\begin{minipage}[c]{1\columnwidth}%
+\begin{shaded}%
+Shaded background box, with inner minipage\end{shaded}%
+\end{minipage}
+
\section{Colors}
\subsection{Predefined Colors}
Interword\ a
+Visible\textvisiblespace{}a
+
Thin\,a
Medium\:a
\bibitem[{{G\"{u}rkan et~al.}(2004)}]{gur+04} Gürkan, M.~A., Freitag,
M., \& Rasio, F.~A. 2004, ApJ, 604, 632\end{thebibliography}
+
\section{Input files\index{Input files}}
We can input files too, like this \input{DummyDocument}, or with the include
If you prefer verbatim input, you can choose
between~\verbatiminput{foo} or~\verbatiminput*{foo}.
+
\section{URL\index{URL}\nomenclature[www]{URL}{uniform resource locator}}
An URL: \url{http://www.lyx.org}
\nomenclature{URL2}{uniform resource locator}
+
\section{Lists\index{Lists}}
\listoffigures
\listoftables
+
\section{Graphics\index{Graphics}}
There is also some basic support for graphics, in the form
The following tow don't work, but they should???
%\macros{x} \macrot{x}
+
\section{Special formattings\index{Special formattings}}
\subsection{LyX line}
{\Huge \lyxline{\Huge}}{\Huge \par}
+
+\subsection{rules}
+
+test\rule[0.001\textwidth]{1\columnwidth}{0.05\textheight}
+
test
+\rule[0.5ex]{1\columnwidth}{1pt}
+
+\noindent \rule{1ex}{0.5cc}test
+
+\textcolor{red}{\rule[-4ex]{5in}{1cm}}
+
+
+\subsection{Spaces}
+
+simple: a\ b
+
+simple, protected: a~b
+
+thin: a\,b
+
+medium: a\negthinspace{}b
+
+thick: a\negmedspace{}b
+
+negative thin: a\negthinspace{}b
+
+negative meduim: a\negmedspace{}b
+
+negative thick: a\negthickspace{}b
+
+half quad: a\enskip{}b
+
+half quad, protected: a\enspace{}b
+
+a\quad{}b
+
+a\qquad{}b
+
+hfill: a\hfill{}b
+
+hfill, protected: a\hspace*{\fill}b
+
+custom,: a\hspace{1cm}b
+
+custom, protected: a\hspace*{1cm}b
+
+visible: a\textvisiblespace{}b
+
+
+\subsubsection*{now some math examples:}
+
+$a\hfill b$
+
+$a\hspace*{2cm}b$
+
+$a\hspace{1cm}b$
+
+$a\hspace*{\fill} b$
+
+$a\enskip b$
+
+$a\enspace b$
+
+
+\subsection{Phantoms}
+
+test\phantom{Wow}test
+
+test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
+
+test\phantom{Wow\textbackslash{}\&\%}test
+
+$test\hphantom{Wow}test$
+
+\[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
+
+
+$test\vphantom{Wow\&\%}test$
+
+
\subsection{Line breaks}
They can also or be broken by a newline\\
\printindex{}
+\printnomenclature hello
+
+\settowidth{\nomlabelwidth}{URL2}
\printnomenclature{}
+\printnomenclature[0.02\linewidth]{}
+
\end{document}