OK, I removed the command line: \makeatother
And it is now OK Sorry for the disturbance. =========================================================================== Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== > Sent: Friday, October 13, 2017 at 5:06 PM > From: "Patrick Dupre" <pdu...@gmx.com> > To: "Patrick Dupre" <pdu...@gmx.com> > Cc: lyx <lyx-users@lists.lyx.org> > Subject: Re: error latex > > Hello, > > I am attaching the file which gives me problems. > > Thank for your help. > > =========================================================================== > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > > > Sent: Friday, October 13, 2017 at 4:45 PM > > From: "Patrick Dupre" <pdu...@gmx.com> > > To: lyx <lyx-users@lists.lyx.org> > > Subject: error latex > > > > Hello, > > > > When I compile the file below, I get the following error message: > > Any idea? > > > > Style option: `fancybox' v1.4 <2010/05/15> (tvz) > > ) (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty > > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-pdftex.def) > > (/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg)) > > (/usr/share/texlive/texmf-dist/tex/latex/appendix/appendix.sty) > > (/usr/share/texlive/texmf-dist/tex/latex/setspace/setspace.sty) > > (/usr/share/texlive/texmf-dist/tex/latex/draftwatermark/draftwatermark.sty > > (/usr/share/texlive/texmf-dist/tex/latex/everypage/everypage.sty)) > > ! You can't use `\spacefactor' in vertical mode. > > \@->\spacefactor > > \@m {} > > l.80 \@ > > ifundefined{showcaptionsetup}{}{% > > ? ^C! Interruption. > > <to be read again> > > \@m > > l.80 \@ > > ifundefined{showcaptionsetup}{}{% > > > > ++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > %% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/. > > %% Do not edit unless you really know what you are doing. > > \documentclass[10pt,french,american,aps,showpacs,showkeyword,showkey]{revtex4-1} > > \usepackage{fourier} > > \usepackage[T1]{fontenc} > > \usepackage[latin9]{inputenc} > > \usepackage[a4paper]{geometry} > > \geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm} > > \pagestyle{plain} > > \setcounter{tocdepth}{2} > > \usepackage{babel} > > \makeatletter > > \addto\extrasfrench{% > > \providecommand{\og}{\leavevmode\flqq~}% > > \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% > > } > > > > \makeatother > > \usepackage{array} > > \usepackage{rotfloat} > > \usepackage{mathtools} > > \usepackage{bm} > > \usepackage{multirow} > > \usepackage{amsmath} > > \usepackage{amssymb} > > \usepackage{graphicx} > > \usepackage[unicode=true, > > bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, > > breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false] > > {hyperref} > > \hypersetup{pdftitle={Dipole Saturated Absorption Modeling in Frequency > > Modulation: Dealing with a Gaussian beam}, > > pdfauthor={Patrick Dupr�}, > > pdfsubject={Doppler-free linewidth Modeling in FMS}, > > pdfkeywords={Saturated Absorption, Lamb-dip, Gaussian beam, transit-time > > broadening, acetylene, collision rate, FMS, modeling}} > > \usepackage{breakurl} > > > > \makeatletter > > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. > > %% Because html converters don't know tabularnewline > > \providecommand{\tabularnewline}{\\} > > %% A simple dot to overcome graphicx limitations > > \newcommand{\lyxdot}{.} > > > > > > \@ifundefined{date}{}{\date{}} > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. > > %\journal{Journal of Quantitative Spectroscopy and Radiative Transfer} > > \usepackage{upgreek} % PB with Beamer > > \usepackage{color,fancybox} > > %\usepackage{breakurl} > > \usepackage{microtype} % For line too long > > \usepackage{appendix} > > > > % Because revtex does not like \doublespace > > \makeatletter > > \gdef\@ptsize{0}% 10pt documents > > % or: > > %\gdef\@ptsize{1}% 11pt documents > > %\gdef\@ptsize{2}% 12pt documents > > \let\@currsize\normalsize > > \makeatother > > \usepackage{setspace} > > \doublespace > > > > > > % Remove \usepackage{mathrsfs} to use these Declaration > > \DeclareMathAlphabet{\mathscr}{FMS}{futm}{m}{n}% > > \DeclareMathAlphabet{\mathcal}{OMS}{cmr}{m}{n}% > > > > %\fancyput(1.in,-7in){\Huge\bfseries\rotatebox{45}{\textcolor{yellow}{Version > > 7 Accepted in JQSRT}}} > > \usepackage{draftwatermark} > > \SetWatermarkAngle{45.0} > > \SetWatermarkColor{yellow} > > %\SetWatermarkLightness{ 0.5 } > > %\SetWatermarkFontSize{ length } > > \SetWatermarkScale{0.35} > > \SetWatermarkText{Version 0} > > > > \@ifundefined{showcaptionsetup}{}{% > > \PassOptionsToPackage{caption=false}{subfig}} > > \usepackage{subfig} > > \AtBeginDocument{ > > \def\labelitemii{\(\ast\)} > > } > > > > \makeatother > > > > \begin{document} > > > > \end{document} > > > > > > =========================================================================== > > Patrick DUPRÉ | | email: pdu...@gmx.com > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > Université du Littoral-Côte d'Opale | | > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > > =========================================================================== > >