I'm quite new with LyX and I'm encountering a problem when I'm trying to create a beamer document:
Here it is:
\lyxframeend
{}\subsection*{Microscale}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined
Everything was fine till I added some frames to my documents... I know this problem can be solved easily by adding an end frame (that is what I read in other topics...) But I can guarantee that's not the case here... And impossible to figure out what's wrong when I relate my code to the example...
I'm seriously running out of ideas and patience...
Any suggestion or help would be gladly appreciated!
Thomas
Here is the code:
Code: Select all
% Visionner le code LaTeX
%% LyX 1.6.9 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{beamer}
\usepackage{fourier}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\usepackage{graphicx}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% this default might be overridden by plain title style
\newcommand\makebeamertitle{\frame{\maketitle}}%
\AtBeginDocument{
\let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
\def\gobbletableofcontents#1{\origtableofcontents}
}
\makeatletter
\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
\def\@@@lyxframe<#1>[{\@ifnextchar<{\@@@@@lyxframe<#1>[}{\@@@@lyxframe<#1>[<*>][}}
\def\@@@@@lyxframe<#1>[#2]{\@ifnextchar[{\@@@@lyxframe<#1>[#2]}{\@@@@lyxframe<#1>[#2][]}}
\long\def\@@@@lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
\frame<#1>[#2][#3]{\frametitle{#4}#5}}
\makeatother
\newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}}
\newenvironment{centercolumns}{\begin{columns}[c]}{\end{columns}}
\def\lyxframeend{} % In case there is a superfluous frame end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\date{}
\usetheme{Warsaw}
\makeatother
\usepackage{babel}
\begin{document}
\title[N fertilization effect on methane fluxes]{Impact of N fertilization on methane flux in a well-aerated grassland:}
\subtitle{From field to microscale level}
\author{Thomas}
\institute{Institute of Evolutionary Biology}
\date{01.11.2011}
\makebeamertitle
\AtBeginSubsection[]{
\frame<beamer>{
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
}
}
\lyxframeend{}\section*{Introduction}
\lyxframeend{}\subsection*{Overview}
\lyxframeend{}\lyxframe{Atmospheric Methane:}
\pause{}
\begin{itemize}
\item \textcolor{red}{second greatest greenhouse gas} (after CO$_{2}$)
\pause{}
\item Increase in concentration since the 18$^{th}$ century (17\%)
\pause{}
\item Causes of increase : mostly anthropogenic
\pause{}
\end{itemize}
\lyxframeend{}\subsection*{Sink \& Sources}
\lyxframeend{}\lyxframe{Atmospheric Balance:}
\pause{}
\begin{block}
<1->{Natural Sources:}
\begin{itemize}
\item Wetlands
\item Termites
\end{itemize}
\end{block}
\pause{}
\begin{block}
<2->{Human Sources:}
\begin{itemize}
\item Rice crops
\item Cattles
\item Landfills
\end{itemize}
\end{block}
\pause{}
\begin{block}
<3->{Sinks:}
\begin{itemize}
\item Atmospheric degradation (\textasciitilde{}90\%)
\item \textcolor{red}{Microbial oxidation (\textasciitilde{}10\%)}
\pause{}
\end{itemize}
\end{block}
\lyxframeend{}\subsection*{Ecology}
\lyxframeend{}\lyxframe{Methanotrophic Bacteria:}
\framesubtitle{In Well-Aerated Grassland}
\begin{topcolumns}%{}
\column{5cm}
\pause{}
\begin{block}
{Optimal Conditions}
\begin{itemize}
\item O$_{2}$
\item Upper Layers
\item Neutral to slightly Acidic pH
\item Dry Soil
\end{itemize}
\end{block}
\column{5cm}
\pause{}
\begin{block}
{Deadly Conditions}
\begin{itemize}
\item Anoxic environment
\item Acidic Soil
\item Flood
\item \textcolor{red}{NH$_{4}^{+}$}
\end{itemize}
\end{block}
\end{topcolumns}%{}
\lyxframeend{}\subsection*{Interests}
\lyxframeend{}\lyxframe{Study Questions:}
\begin{block}
<1->{N Fertilization and DMPP}
\begin{itemize}
\item How does the fertilizer dose affect methane uptakes:
\begin{itemize}
\item in the field ?
\item and at different soil depths ?
\end{itemize}
\end{itemize}
\end{block}
\pause{}
\begin{block}
<2->{Recovery}
\begin{itemize}
\item Is there an irreversible collapse of this ecosystem function ?
\end{itemize}
\end{block}
\pause{}
\begin{block}
<3->{Spatial Distribution}
\begin{itemize}
\item How do the treatment combinations affect methanotroph spatial niche
?
\end{itemize}
\end{block}
\lyxframeend{}\section*{Material \& Method}
\lyxframeend{}\subsection*{Experiment}
\lyxframeend{}\lyxframe{Experimental Design}
\pause{}
\begin{block}
{Randomized Split-Plot Experiment:}
\begin{itemize}
\item 4 Blocks
\item 6 Plots per Block : N fertilization level
\item 2 Subplots per Plot: DMPP treatment level
\end{itemize}
\end{block}
\pause{}
%
\begin{figure}
\includegraphics[scale=0.35]{\string"Exp pictures/expDesign\string".tif}%
\end{figure}
\lyxframeend{}\subsection*{Treatments}
\lyxframeend{}\lyxframe{Treatment Application}
\pause{}
\begin{itemize}
\item Gradient: 0, 200, 600 kg NH$_{4}^{+}$-N equiv. ha$^{-1}$ yr$^{-1}$
\pause{}
\item DMPP : 2\% N equiv. (w:w)
\pause{}
\end{itemize}
%
\begin{figure}
\includegraphics[scale=0.3]{\string"Exp pictures/block2\string".tif}%
\end{figure}
\lyxframeend{}\subsection*{Measurements}
\lyxframeend{}\lyxframe{Gas Samplings}
\begin{topcolumns}%{}
\column{7cm}
\begin{block}
<1->{In the field}
\begin{itemize}
\item static chambers
\item 5 times after treatment application
\end{itemize}
\end{block}
\pause{}
\begin{block}
<3->{From Incubations}
\begin{itemize}
\item sieved soil in jars
\item 3 different soil layers
\item 3 incubation times after treatment application
\end{itemize}
\end{block}
\column{4cm}
\includegraphics[scale=0.03]{\string"Exp pictures/DSC00082\string".JPG}
\end{topcolumns}%{}
\pause{}
\lyxframeend{}\lyxframe{Additional Measurements}
\begin{block}
{NH$_{4}^{+}$ concentrations And Water Content}
\begin{itemize}
\item For Each Layer
\item At each sampling day (3 times)
\end{itemize}
\end{block}
\lyxframeend{}\lyxframe{Radioactive Mapping}
\begin{topcolumns}%{}
\column{7cm}
\begin{block}
{Labeling}
\begin{itemize}
\item Incubation of Soil Cores with $^{14}$CH$_{4}$
\end{itemize}
\end{block}
\pause{}
\begin{block}
{Soil Section Radiographic Pictures}
\begin{itemize}
\item Freeze-drying
\item Impregnation with Epoxy Resin
\item Cutting and Polishing
\item Exposure and Scanning
\pause{}
\end{itemize}
\end{block}
\column{4cm}
\includegraphics[scale=0.03]{\string"Exp pictures/DSC00125\string".JPG}
\pause{\bigskip{}
}
\includegraphics[scale=0.065]{\string"Exp pictures/020\string".JPG}
\end{topcolumns}%{}
\lyxframeend{}\section*{Results}
\lyxframeend{}\subsection*{Ecosystem Level}
\lyxframeend{}\lyxframe{Methane Uptakes:}
\framesubtitle{Overview from the Field}
\begin{centercolumns}%{}
\column{7cm}
\includegraphics[scale=0.33]{\string"Experiment/Summary Field CH4ox with Sign\string".pdf}
\column{4cm}
\pause{}
\begin{block}
{Treatment effect:}
\begin{itemize}
\item Significant influence of N 600 level (b)
\item Not Significant influence of DMPP and N 200 (a)
\end{itemize}
\end{block}
\end{centercolumns}%{}
\lyxframeend{}\lyxframe{Methane Uptakes:}
\framesubtitle{Over Time of Study}
\begin{topcolumns}%{}
\column{7cm}
\includegraphics[scale=0.33]{\string"Experiment/time series/Time series final\string".pdf}
\column{4cm}
\pause{}
\begin{block}
{Effect over time:}
\begin{itemize}
\item Significant influence of N treatment
\item Not Significant influence \newline of DMPP treatment
\item Significant interaction
\end{itemize}
\end{block}
\end{topcolumns}%{}
\lyxframeend{}\subsection*{Layer Level}
\lyxframeend{}\lyxframe{Methane Uptakes:}
\framesubtitle{Per Depths}
\begin{topcolumns}%{}
\column{7cm}
\includegraphics[scale=0.33]{\string"Experiment/Summary CH4 ox per Treat with Sign\string".pdf}
\column{4cm}
\pause{}
\begin{block}
{Treatment Effect:}
\begin{itemize}
\item Significant influence of N fertilizer:
\begin{itemize}
\item at each day of sampling
\item for each treatment level
\end{itemize}
\item Not significant Influence \newline of DMPP treatment
\end{itemize}
\end{block}
\end{topcolumns}%{}
\lyxframeend{}\lyxframe{Methane Uptakes:}
\framesubtitle{Impact of Ammonium Concentrations}
\begin{topcolumns}%{}
\column{7cm}
\includegraphics[scale=0.3]{\string"Experiment/CH4ox per NH4 layer day fitted\string".pdf}
\column{3cm}
\pause{}
\begin{block}
{NH$_{4}^{+}$ Effect:}
\begin{itemize}
\item Non Linear Response
\item {}``Threshold'' of ammonium concentration
\end{itemize}
\end{block}
\end{topcolumns}%{}
\lyxframeend{}\lyxframe{Methane Uptakes:}
\framesubtitle{Water Content Effect}
\column{6cm}
\includegraphics[scale=0.28]{\string"Experiment/CH4ox with H2O\string".pdf}
\column{4cm}
\pause{}
\begin{block}
{Effect of Moisture:}
\begin{itemize}
\item Significant influence at day 4
\end{itemize}
\end{block}
\lyxframeend{}\subsection*{Microscale} % Here is apparently the problem even if I don't understand in what it's different from my other paragraphs...
\lyxframeend{}\lyxframe{Methanotrophic Activitiy}
\framesubtitle{Radiographic Pictures: Some Examples}
BLABLA
\lyxframeend{}\lyxframe{Methanotrophic Activity}
\framesubtitle{Radiographic Pictures: $^{14}$C Distribution}
BLABLA
\lyxframeend{}\section*{Discussion \& Conclusion}
\lyxframeend{}\subsection*{Discussion}
\lyxframeend{}\lyxframe{Principal Findings}
\lyxframeend{}\subsection*{Conclusion}
\lyxframeend{}\lyxframe{What's Next ?}
\framesubtitle{Or a Call for Further Researches}
\pause{}
\begin{block}
{Diversity and Abundance:}
\begin{itemize}
\item NH$_{4}^{+}$ effect on Microbial diversity ?
\item Spatial Shift = Diversity Shift ?
\item Link between Function Recovery and DIversity ?
\item and so many more...
\end{itemize}
\end{block}
\lyxframeend{}\section*{Acknowledgments}
\lyxframeend{}\lyxframe{Huge Thanks To: }
\pause{}
\begin{itemize}
\item my supervisor: ****
\pause{}
\item my helpers in the field and lab : Jyotshna, Sarah, Yu-Chan and Yuri
\pause{}
\item Everyone who supported me !
\pause{}
\item and of course...\\
YOU! THANKS FOR YOUR ATTENTION!
\end{itemize}
\lyxframeend{}\section*{Questions}
\lyxframeend{}\lyxframe{Questions ?}
\lyxframeend{}
\end{document}