elsearticle harv not working with landscaped longtable
I have this very long and large table which I have compiled fine using normal article but today I just copied the whole tex to an elsearticle harv to submit to elsevier. Everything else works without the longtable in but I need that longtable. Thanks for help.
MWE:
%%
%% Copyright 2007, 2008, 2009 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for Elsevier's document class `elsarticle'
%% with harvard style bibliographic references
%% SP 2008/03/01
documentclass[preprint,12pt,authoryear]{elsarticle}
%% Use the option review to obtain double line spacing
%% documentclass[authoryear,preprint,review,12pt]{elsarticle}
%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
%% for a journal layout:
%% documentclass[final,1p,times,authoryear]{elsarticle}
%% documentclass[final,1p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,3p,times,authoryear]{elsarticle}
%% documentclass[final,3p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,5p,times,authoryear]{elsarticle}
%% documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give usepackage{epsfig}
%% The amssymb package provides various useful mathematical symbols
usepackage{amssymb}
usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
usepackage{graphicx} % support the includegraphics command and options
usepackage[fleqn,reqno]{amsmath}
usepackage[version=3]{mhchem} % Formula subscripts using ce{}
usepackage{setspace}
doublespacing
%
usepackage{gensymb}
usepackage{wasysym}%for permil sign
usepackage[para,online,flushleft]{threeparttable}
usepackage{longtable}
usepackage{pdflscape}
usepackage{lineno}
linenumbers
usepackage{tabularx}
usepackage{float}
usepackage[capitalise]{cleveref}
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}} %around tilde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The lineno packages adds line numbers. Start line numbering with
%% begin{linenumbers}, end it with end{linenumbers}. Or switch it on
%% for the whole article with linenumbers.
usepackage{lineno}
%
usepackage{lipsum}
%
journal{Something}
begin{document}
begin{frontmatter}
%% Title, authors and addresses
%% use the tnoteref command within title for footnotes;
%% use the tnotetext command for theassociated footnote;
%% use the fnref command within author or address for footnotes;
%% use the fntext command for theassociated footnote;
%% use the corref command within author for corresponding author footnotes;
%% use the cortext command for theassociated footnote;
%% use the ead command for the email address,
%% and the form ead[url] for the home page:
%% title{Titletnoteref{label1}}
%% tnotetext[label1]{}
%% author{Namecorref{cor1}fnref{label2}}
%% ead{email address}
%% ead[url]{home page}
%% fntext[label2]{}
%% cortext[cor1]{}
%% address{Addressfnref{label3}}
%% fntext[label3]{}
title{nco;w;w;nfknkn}
%% use optional labels to link authors explicitly to addresses:
%% author[label1,label2]{}
%% address[label1]{}
%% address[label2]{}
author[a]{Trina}
ead{abc@kbc.res.in}
address[a]{kbc, India}
date{}
begin{abstract}
end{abstract}
begin{keyword}
end{keyword}
end{frontmatter}
linenumbers
%% main text
lipsum[4][3]
%%%%%%%%%%%
begin{landscape}
begin{longtable}{p{1cm}p{5cm}p{8cm}p{8cm}}
& textbf{lipsum[4][6]} & textbf{lipsum[4][2]} & textbf{lipsum[4][3]} \
A & lipsum[4][3] (ICP-MS) newline includegraphics[align=t,width=linewidth]{test} & lipsum[3-4][2] & lipsum[3-4][2] \
B & lipsum[2][2] newline includegraphics[align=t,width=linewidth]{test} & & lipsum[3-4][2] \
caption{lipsum[3-4][7]}
label{tabmethods}%
end{longtable}%
end{landscape}
%%%%%%%%%%%
end{document}
endinput
%%
%% End of file `elsarticle-template-harv.tex'.
The error:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) entering extended mode (E:/LaTeX-manual/test2/Bose_etal_IntPaleo-elsarticle-QSR.tex LaTeX2e <2017-04-15> Babel <3.9r> and hyphenation patterns for 76 language(s) loaded. ("C:Program FilesMiKTeX
2.9texlatexelsarticleelsarticle.cls" Document Class: elsarticle 2009/09/17, 1.2.0: Elsevier Ltd ("C:Program FilesMiKTeX
2.9texlatexbasearticle.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:Program FilesMiKTeX
2.9texlatexbasesize12.clo")) ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg") ("C:Program FilesMiKTeX 2.9texlatexgraphics-defpdftex.def" ("C:Program FilesMiKTeX 2.9texgenericoberdiekinfwarerr.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekltxcmds.sty")))) ("C:Program FilesMiKTeX 2.9texlatexpsnfsspifont.sty" ("C:Program FilesMiKTeX 2.9texlatexpsnfssupzd.fd") ("C:Program FilesMiKTeX 2.9texlatexpsnfssupsy.fd")) ("C:Program FilesMiKTeX 2.9texlatexnatbibnatbib.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsfontsamssymb.sty" ("C:Program FilesMiKTeX 2.9texlatexamsfontsamsfonts.sty")) ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifpdf.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekifvtex.sty") ("C:Program FilesMiKTeX 2.9texgenericifxetexifxetex.sty") ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.cfg")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsmath.sty" For additional information on amsmath, use the `?' option. ("C:Program FilesMiKTeX
2.9texlatexamsmathamstext.sty" ("C:Program FilesMiKTeX 2.9texlatexamsmathamsgen.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsbsy.sty") ("C:Program FilesMiKTeX 2.9texlatexamsmathamsopn.sty")) ("C:Program FilesMiKTeX 2.9texlatexmhchemmhchem.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3-code.tex") ("C:Program FilesMiKTeX 2.9texlatexl3kernell3pdfmode.def")) ("C:Program FilesMiKTeX 2.9texlatexl3packagesl3keys2el3keys2e.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3regex.sty" ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3tl-build.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3tl-analysis.sty" ) ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3str-convert.st y")) ("C:Program FilesMiKTeX 2.9texlatextoolscalc.sty") ("C:Program FilesMiKTeX
2.9texlatexchemgreekchemgreek.sty" ("C:Program FilesMiKTeX 2.9texlatexl3packagesxparsexparse.sty"))) ("C:Program FilesMiKTeX 2.9texlatexsetspacesetspace.sty") ("C:Program FilesMiKTeX 2.9texlatexwasgensymb.sty") ("C:Program FilesMiKTeX
2.9texlatexwasysymwasysym.sty") ("C:Program FilesMiKTeX 2.9texlatexthreeparttablethreeparttable.sty") ("C:Program FilesMiKTeX 2.9texlatextoolslongtable.sty") ("C:Program FilesMiKTeX 2.9texlatexoberdiekpdflscape.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicslscape.sty")) ("C:Program FilesMiKTeX 2.9texlatexlinenolineno.sty") ("C:Program FilesMiKTeX 2.9texlatextoolstabularx.sty" ("C:Program FilesMiKTeX 2.9texlatextoolsarray.sty")) ("C:Program FilesMiKTeX 2.9texlatexfloatfloat.sty") ("C:Program FilesMiKTeX
2.9texlatexcleverefcleveref.sty") ("C:Program FilesMiKTeX 2.9texlatexlipsumlipsum.sty") No file Bose_etal_IntPaleo-elsarticle-QSR.aux. ("C:Program FilesMiKTeX
2.9texcontextbasesupp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:Program FilesMiKTeX
2.9texgenericoberdiekpdftexcmds.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifluatex.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekepstopdf-base.sty" ("C:Program FilesMiKTeX 2.9texlatexoberdiekgrfext.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvdefinekeys.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekkvoptions.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvsetkeys.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdieketexcmds.sty"))))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
Package gensymb Warning: Not defining perthousand.
Package gensymb Warning: Not defining micro.
("C:Program FilesMiKTeX 2.9texlatexamsfontsumsa.fd") ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsb.fd") ("C:Program FilesMiKTeX 2.9texlatexwasysymuwasy.fd") [1{C:/ProgramData/Mi KTeX/2.9/pdftex/config/pdftex.map}] Underfull hbox (badness 10000) in paragraph at lines 122--122 |OT1/cmr/bx/n/12 Quisque ul-lam-cor-per
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 vi-tae la-cus tin-cidunt
Underfull hbox (badness 4726) in paragraph at lines 122--122 OT1/cmr/bx/n/12 do-lor sit amet, con-
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 pus con-va-l-lis au-gue.
Underfull hbox (badness 6032) in paragraph at lines 122--122 OT1/cmr/bx/n/12 el-e-men-tum fer-men-tum
Underfull hbox (badness 1721) in paragraph at lines 123--123 OT1/cmr/m/n/12 erat ip-sum. Cras nibh.
Underfull hbox (badness 1831) in paragraph at lines 123--123 OT1/cmr/m/n/12 hac habitasse platea dic-
! Package keyval Error: align undefined.
See the keyval package documentation for explanation. Type H <return> for immediate help. ...
l.123 ...egraphics[align=t,width=linewidth]{test}
& lipsum[3-4][2] & lips...
?
longtable elsarticle xkeyval elsevier
add a comment |
I have this very long and large table which I have compiled fine using normal article but today I just copied the whole tex to an elsearticle harv to submit to elsevier. Everything else works without the longtable in but I need that longtable. Thanks for help.
MWE:
%%
%% Copyright 2007, 2008, 2009 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for Elsevier's document class `elsarticle'
%% with harvard style bibliographic references
%% SP 2008/03/01
documentclass[preprint,12pt,authoryear]{elsarticle}
%% Use the option review to obtain double line spacing
%% documentclass[authoryear,preprint,review,12pt]{elsarticle}
%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
%% for a journal layout:
%% documentclass[final,1p,times,authoryear]{elsarticle}
%% documentclass[final,1p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,3p,times,authoryear]{elsarticle}
%% documentclass[final,3p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,5p,times,authoryear]{elsarticle}
%% documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give usepackage{epsfig}
%% The amssymb package provides various useful mathematical symbols
usepackage{amssymb}
usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
usepackage{graphicx} % support the includegraphics command and options
usepackage[fleqn,reqno]{amsmath}
usepackage[version=3]{mhchem} % Formula subscripts using ce{}
usepackage{setspace}
doublespacing
%
usepackage{gensymb}
usepackage{wasysym}%for permil sign
usepackage[para,online,flushleft]{threeparttable}
usepackage{longtable}
usepackage{pdflscape}
usepackage{lineno}
linenumbers
usepackage{tabularx}
usepackage{float}
usepackage[capitalise]{cleveref}
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}} %around tilde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The lineno packages adds line numbers. Start line numbering with
%% begin{linenumbers}, end it with end{linenumbers}. Or switch it on
%% for the whole article with linenumbers.
usepackage{lineno}
%
usepackage{lipsum}
%
journal{Something}
begin{document}
begin{frontmatter}
%% Title, authors and addresses
%% use the tnoteref command within title for footnotes;
%% use the tnotetext command for theassociated footnote;
%% use the fnref command within author or address for footnotes;
%% use the fntext command for theassociated footnote;
%% use the corref command within author for corresponding author footnotes;
%% use the cortext command for theassociated footnote;
%% use the ead command for the email address,
%% and the form ead[url] for the home page:
%% title{Titletnoteref{label1}}
%% tnotetext[label1]{}
%% author{Namecorref{cor1}fnref{label2}}
%% ead{email address}
%% ead[url]{home page}
%% fntext[label2]{}
%% cortext[cor1]{}
%% address{Addressfnref{label3}}
%% fntext[label3]{}
title{nco;w;w;nfknkn}
%% use optional labels to link authors explicitly to addresses:
%% author[label1,label2]{}
%% address[label1]{}
%% address[label2]{}
author[a]{Trina}
ead{abc@kbc.res.in}
address[a]{kbc, India}
date{}
begin{abstract}
end{abstract}
begin{keyword}
end{keyword}
end{frontmatter}
linenumbers
%% main text
lipsum[4][3]
%%%%%%%%%%%
begin{landscape}
begin{longtable}{p{1cm}p{5cm}p{8cm}p{8cm}}
& textbf{lipsum[4][6]} & textbf{lipsum[4][2]} & textbf{lipsum[4][3]} \
A & lipsum[4][3] (ICP-MS) newline includegraphics[align=t,width=linewidth]{test} & lipsum[3-4][2] & lipsum[3-4][2] \
B & lipsum[2][2] newline includegraphics[align=t,width=linewidth]{test} & & lipsum[3-4][2] \
caption{lipsum[3-4][7]}
label{tabmethods}%
end{longtable}%
end{landscape}
%%%%%%%%%%%
end{document}
endinput
%%
%% End of file `elsarticle-template-harv.tex'.
The error:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) entering extended mode (E:/LaTeX-manual/test2/Bose_etal_IntPaleo-elsarticle-QSR.tex LaTeX2e <2017-04-15> Babel <3.9r> and hyphenation patterns for 76 language(s) loaded. ("C:Program FilesMiKTeX
2.9texlatexelsarticleelsarticle.cls" Document Class: elsarticle 2009/09/17, 1.2.0: Elsevier Ltd ("C:Program FilesMiKTeX
2.9texlatexbasearticle.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:Program FilesMiKTeX
2.9texlatexbasesize12.clo")) ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg") ("C:Program FilesMiKTeX 2.9texlatexgraphics-defpdftex.def" ("C:Program FilesMiKTeX 2.9texgenericoberdiekinfwarerr.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekltxcmds.sty")))) ("C:Program FilesMiKTeX 2.9texlatexpsnfsspifont.sty" ("C:Program FilesMiKTeX 2.9texlatexpsnfssupzd.fd") ("C:Program FilesMiKTeX 2.9texlatexpsnfssupsy.fd")) ("C:Program FilesMiKTeX 2.9texlatexnatbibnatbib.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsfontsamssymb.sty" ("C:Program FilesMiKTeX 2.9texlatexamsfontsamsfonts.sty")) ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifpdf.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekifvtex.sty") ("C:Program FilesMiKTeX 2.9texgenericifxetexifxetex.sty") ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.cfg")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsmath.sty" For additional information on amsmath, use the `?' option. ("C:Program FilesMiKTeX
2.9texlatexamsmathamstext.sty" ("C:Program FilesMiKTeX 2.9texlatexamsmathamsgen.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsbsy.sty") ("C:Program FilesMiKTeX 2.9texlatexamsmathamsopn.sty")) ("C:Program FilesMiKTeX 2.9texlatexmhchemmhchem.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3-code.tex") ("C:Program FilesMiKTeX 2.9texlatexl3kernell3pdfmode.def")) ("C:Program FilesMiKTeX 2.9texlatexl3packagesl3keys2el3keys2e.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3regex.sty" ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3tl-build.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3tl-analysis.sty" ) ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3str-convert.st y")) ("C:Program FilesMiKTeX 2.9texlatextoolscalc.sty") ("C:Program FilesMiKTeX
2.9texlatexchemgreekchemgreek.sty" ("C:Program FilesMiKTeX 2.9texlatexl3packagesxparsexparse.sty"))) ("C:Program FilesMiKTeX 2.9texlatexsetspacesetspace.sty") ("C:Program FilesMiKTeX 2.9texlatexwasgensymb.sty") ("C:Program FilesMiKTeX
2.9texlatexwasysymwasysym.sty") ("C:Program FilesMiKTeX 2.9texlatexthreeparttablethreeparttable.sty") ("C:Program FilesMiKTeX 2.9texlatextoolslongtable.sty") ("C:Program FilesMiKTeX 2.9texlatexoberdiekpdflscape.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicslscape.sty")) ("C:Program FilesMiKTeX 2.9texlatexlinenolineno.sty") ("C:Program FilesMiKTeX 2.9texlatextoolstabularx.sty" ("C:Program FilesMiKTeX 2.9texlatextoolsarray.sty")) ("C:Program FilesMiKTeX 2.9texlatexfloatfloat.sty") ("C:Program FilesMiKTeX
2.9texlatexcleverefcleveref.sty") ("C:Program FilesMiKTeX 2.9texlatexlipsumlipsum.sty") No file Bose_etal_IntPaleo-elsarticle-QSR.aux. ("C:Program FilesMiKTeX
2.9texcontextbasesupp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:Program FilesMiKTeX
2.9texgenericoberdiekpdftexcmds.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifluatex.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekepstopdf-base.sty" ("C:Program FilesMiKTeX 2.9texlatexoberdiekgrfext.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvdefinekeys.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekkvoptions.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvsetkeys.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdieketexcmds.sty"))))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
Package gensymb Warning: Not defining perthousand.
Package gensymb Warning: Not defining micro.
("C:Program FilesMiKTeX 2.9texlatexamsfontsumsa.fd") ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsb.fd") ("C:Program FilesMiKTeX 2.9texlatexwasysymuwasy.fd") [1{C:/ProgramData/Mi KTeX/2.9/pdftex/config/pdftex.map}] Underfull hbox (badness 10000) in paragraph at lines 122--122 |OT1/cmr/bx/n/12 Quisque ul-lam-cor-per
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 vi-tae la-cus tin-cidunt
Underfull hbox (badness 4726) in paragraph at lines 122--122 OT1/cmr/bx/n/12 do-lor sit amet, con-
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 pus con-va-l-lis au-gue.
Underfull hbox (badness 6032) in paragraph at lines 122--122 OT1/cmr/bx/n/12 el-e-men-tum fer-men-tum
Underfull hbox (badness 1721) in paragraph at lines 123--123 OT1/cmr/m/n/12 erat ip-sum. Cras nibh.
Underfull hbox (badness 1831) in paragraph at lines 123--123 OT1/cmr/m/n/12 hac habitasse platea dic-
! Package keyval Error: align undefined.
See the keyval package documentation for explanation. Type H <return> for immediate help. ...
l.123 ...egraphics[align=t,width=linewidth]{test}
& lipsum[3-4][2] & lips...
?
longtable elsarticle xkeyval elsevier
add a comment |
I have this very long and large table which I have compiled fine using normal article but today I just copied the whole tex to an elsearticle harv to submit to elsevier. Everything else works without the longtable in but I need that longtable. Thanks for help.
MWE:
%%
%% Copyright 2007, 2008, 2009 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for Elsevier's document class `elsarticle'
%% with harvard style bibliographic references
%% SP 2008/03/01
documentclass[preprint,12pt,authoryear]{elsarticle}
%% Use the option review to obtain double line spacing
%% documentclass[authoryear,preprint,review,12pt]{elsarticle}
%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
%% for a journal layout:
%% documentclass[final,1p,times,authoryear]{elsarticle}
%% documentclass[final,1p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,3p,times,authoryear]{elsarticle}
%% documentclass[final,3p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,5p,times,authoryear]{elsarticle}
%% documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give usepackage{epsfig}
%% The amssymb package provides various useful mathematical symbols
usepackage{amssymb}
usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
usepackage{graphicx} % support the includegraphics command and options
usepackage[fleqn,reqno]{amsmath}
usepackage[version=3]{mhchem} % Formula subscripts using ce{}
usepackage{setspace}
doublespacing
%
usepackage{gensymb}
usepackage{wasysym}%for permil sign
usepackage[para,online,flushleft]{threeparttable}
usepackage{longtable}
usepackage{pdflscape}
usepackage{lineno}
linenumbers
usepackage{tabularx}
usepackage{float}
usepackage[capitalise]{cleveref}
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}} %around tilde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The lineno packages adds line numbers. Start line numbering with
%% begin{linenumbers}, end it with end{linenumbers}. Or switch it on
%% for the whole article with linenumbers.
usepackage{lineno}
%
usepackage{lipsum}
%
journal{Something}
begin{document}
begin{frontmatter}
%% Title, authors and addresses
%% use the tnoteref command within title for footnotes;
%% use the tnotetext command for theassociated footnote;
%% use the fnref command within author or address for footnotes;
%% use the fntext command for theassociated footnote;
%% use the corref command within author for corresponding author footnotes;
%% use the cortext command for theassociated footnote;
%% use the ead command for the email address,
%% and the form ead[url] for the home page:
%% title{Titletnoteref{label1}}
%% tnotetext[label1]{}
%% author{Namecorref{cor1}fnref{label2}}
%% ead{email address}
%% ead[url]{home page}
%% fntext[label2]{}
%% cortext[cor1]{}
%% address{Addressfnref{label3}}
%% fntext[label3]{}
title{nco;w;w;nfknkn}
%% use optional labels to link authors explicitly to addresses:
%% author[label1,label2]{}
%% address[label1]{}
%% address[label2]{}
author[a]{Trina}
ead{abc@kbc.res.in}
address[a]{kbc, India}
date{}
begin{abstract}
end{abstract}
begin{keyword}
end{keyword}
end{frontmatter}
linenumbers
%% main text
lipsum[4][3]
%%%%%%%%%%%
begin{landscape}
begin{longtable}{p{1cm}p{5cm}p{8cm}p{8cm}}
& textbf{lipsum[4][6]} & textbf{lipsum[4][2]} & textbf{lipsum[4][3]} \
A & lipsum[4][3] (ICP-MS) newline includegraphics[align=t,width=linewidth]{test} & lipsum[3-4][2] & lipsum[3-4][2] \
B & lipsum[2][2] newline includegraphics[align=t,width=linewidth]{test} & & lipsum[3-4][2] \
caption{lipsum[3-4][7]}
label{tabmethods}%
end{longtable}%
end{landscape}
%%%%%%%%%%%
end{document}
endinput
%%
%% End of file `elsarticle-template-harv.tex'.
The error:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) entering extended mode (E:/LaTeX-manual/test2/Bose_etal_IntPaleo-elsarticle-QSR.tex LaTeX2e <2017-04-15> Babel <3.9r> and hyphenation patterns for 76 language(s) loaded. ("C:Program FilesMiKTeX
2.9texlatexelsarticleelsarticle.cls" Document Class: elsarticle 2009/09/17, 1.2.0: Elsevier Ltd ("C:Program FilesMiKTeX
2.9texlatexbasearticle.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:Program FilesMiKTeX
2.9texlatexbasesize12.clo")) ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg") ("C:Program FilesMiKTeX 2.9texlatexgraphics-defpdftex.def" ("C:Program FilesMiKTeX 2.9texgenericoberdiekinfwarerr.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekltxcmds.sty")))) ("C:Program FilesMiKTeX 2.9texlatexpsnfsspifont.sty" ("C:Program FilesMiKTeX 2.9texlatexpsnfssupzd.fd") ("C:Program FilesMiKTeX 2.9texlatexpsnfssupsy.fd")) ("C:Program FilesMiKTeX 2.9texlatexnatbibnatbib.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsfontsamssymb.sty" ("C:Program FilesMiKTeX 2.9texlatexamsfontsamsfonts.sty")) ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifpdf.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekifvtex.sty") ("C:Program FilesMiKTeX 2.9texgenericifxetexifxetex.sty") ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.cfg")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsmath.sty" For additional information on amsmath, use the `?' option. ("C:Program FilesMiKTeX
2.9texlatexamsmathamstext.sty" ("C:Program FilesMiKTeX 2.9texlatexamsmathamsgen.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsbsy.sty") ("C:Program FilesMiKTeX 2.9texlatexamsmathamsopn.sty")) ("C:Program FilesMiKTeX 2.9texlatexmhchemmhchem.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3-code.tex") ("C:Program FilesMiKTeX 2.9texlatexl3kernell3pdfmode.def")) ("C:Program FilesMiKTeX 2.9texlatexl3packagesl3keys2el3keys2e.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3regex.sty" ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3tl-build.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3tl-analysis.sty" ) ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3str-convert.st y")) ("C:Program FilesMiKTeX 2.9texlatextoolscalc.sty") ("C:Program FilesMiKTeX
2.9texlatexchemgreekchemgreek.sty" ("C:Program FilesMiKTeX 2.9texlatexl3packagesxparsexparse.sty"))) ("C:Program FilesMiKTeX 2.9texlatexsetspacesetspace.sty") ("C:Program FilesMiKTeX 2.9texlatexwasgensymb.sty") ("C:Program FilesMiKTeX
2.9texlatexwasysymwasysym.sty") ("C:Program FilesMiKTeX 2.9texlatexthreeparttablethreeparttable.sty") ("C:Program FilesMiKTeX 2.9texlatextoolslongtable.sty") ("C:Program FilesMiKTeX 2.9texlatexoberdiekpdflscape.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicslscape.sty")) ("C:Program FilesMiKTeX 2.9texlatexlinenolineno.sty") ("C:Program FilesMiKTeX 2.9texlatextoolstabularx.sty" ("C:Program FilesMiKTeX 2.9texlatextoolsarray.sty")) ("C:Program FilesMiKTeX 2.9texlatexfloatfloat.sty") ("C:Program FilesMiKTeX
2.9texlatexcleverefcleveref.sty") ("C:Program FilesMiKTeX 2.9texlatexlipsumlipsum.sty") No file Bose_etal_IntPaleo-elsarticle-QSR.aux. ("C:Program FilesMiKTeX
2.9texcontextbasesupp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:Program FilesMiKTeX
2.9texgenericoberdiekpdftexcmds.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifluatex.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekepstopdf-base.sty" ("C:Program FilesMiKTeX 2.9texlatexoberdiekgrfext.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvdefinekeys.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekkvoptions.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvsetkeys.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdieketexcmds.sty"))))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
Package gensymb Warning: Not defining perthousand.
Package gensymb Warning: Not defining micro.
("C:Program FilesMiKTeX 2.9texlatexamsfontsumsa.fd") ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsb.fd") ("C:Program FilesMiKTeX 2.9texlatexwasysymuwasy.fd") [1{C:/ProgramData/Mi KTeX/2.9/pdftex/config/pdftex.map}] Underfull hbox (badness 10000) in paragraph at lines 122--122 |OT1/cmr/bx/n/12 Quisque ul-lam-cor-per
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 vi-tae la-cus tin-cidunt
Underfull hbox (badness 4726) in paragraph at lines 122--122 OT1/cmr/bx/n/12 do-lor sit amet, con-
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 pus con-va-l-lis au-gue.
Underfull hbox (badness 6032) in paragraph at lines 122--122 OT1/cmr/bx/n/12 el-e-men-tum fer-men-tum
Underfull hbox (badness 1721) in paragraph at lines 123--123 OT1/cmr/m/n/12 erat ip-sum. Cras nibh.
Underfull hbox (badness 1831) in paragraph at lines 123--123 OT1/cmr/m/n/12 hac habitasse platea dic-
! Package keyval Error: align undefined.
See the keyval package documentation for explanation. Type H <return> for immediate help. ...
l.123 ...egraphics[align=t,width=linewidth]{test}
& lipsum[3-4][2] & lips...
?
longtable elsarticle xkeyval elsevier
I have this very long and large table which I have compiled fine using normal article but today I just copied the whole tex to an elsearticle harv to submit to elsevier. Everything else works without the longtable in but I need that longtable. Thanks for help.
MWE:
%%
%% Copyright 2007, 2008, 2009 Elsevier Ltd
%%
%% This file is part of the 'Elsarticle Bundle'.
%% ---------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'Elsarticle Bundle' is
%% given in the file `manifest.txt'.
%%
%% Template article for Elsevier's document class `elsarticle'
%% with harvard style bibliographic references
%% SP 2008/03/01
documentclass[preprint,12pt,authoryear]{elsarticle}
%% Use the option review to obtain double line spacing
%% documentclass[authoryear,preprint,review,12pt]{elsarticle}
%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn
%% for a journal layout:
%% documentclass[final,1p,times,authoryear]{elsarticle}
%% documentclass[final,1p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,3p,times,authoryear]{elsarticle}
%% documentclass[final,3p,times,twocolumn,authoryear]{elsarticle}
%% documentclass[final,5p,times,authoryear]{elsarticle}
%% documentclass[final,5p,times,twocolumn,authoryear]{elsarticle}
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give usepackage{epsfig}
%% The amssymb package provides various useful mathematical symbols
usepackage{amssymb}
usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
usepackage{graphicx} % support the includegraphics command and options
usepackage[fleqn,reqno]{amsmath}
usepackage[version=3]{mhchem} % Formula subscripts using ce{}
usepackage{setspace}
doublespacing
%
usepackage{gensymb}
usepackage{wasysym}%for permil sign
usepackage[para,online,flushleft]{threeparttable}
usepackage{longtable}
usepackage{pdflscape}
usepackage{lineno}
linenumbers
usepackage{tabularx}
usepackage{float}
usepackage[capitalise]{cleveref}
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}} %around tilde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The lineno packages adds line numbers. Start line numbering with
%% begin{linenumbers}, end it with end{linenumbers}. Or switch it on
%% for the whole article with linenumbers.
usepackage{lineno}
%
usepackage{lipsum}
%
journal{Something}
begin{document}
begin{frontmatter}
%% Title, authors and addresses
%% use the tnoteref command within title for footnotes;
%% use the tnotetext command for theassociated footnote;
%% use the fnref command within author or address for footnotes;
%% use the fntext command for theassociated footnote;
%% use the corref command within author for corresponding author footnotes;
%% use the cortext command for theassociated footnote;
%% use the ead command for the email address,
%% and the form ead[url] for the home page:
%% title{Titletnoteref{label1}}
%% tnotetext[label1]{}
%% author{Namecorref{cor1}fnref{label2}}
%% ead{email address}
%% ead[url]{home page}
%% fntext[label2]{}
%% cortext[cor1]{}
%% address{Addressfnref{label3}}
%% fntext[label3]{}
title{nco;w;w;nfknkn}
%% use optional labels to link authors explicitly to addresses:
%% author[label1,label2]{}
%% address[label1]{}
%% address[label2]{}
author[a]{Trina}
ead{abc@kbc.res.in}
address[a]{kbc, India}
date{}
begin{abstract}
end{abstract}
begin{keyword}
end{keyword}
end{frontmatter}
linenumbers
%% main text
lipsum[4][3]
%%%%%%%%%%%
begin{landscape}
begin{longtable}{p{1cm}p{5cm}p{8cm}p{8cm}}
& textbf{lipsum[4][6]} & textbf{lipsum[4][2]} & textbf{lipsum[4][3]} \
A & lipsum[4][3] (ICP-MS) newline includegraphics[align=t,width=linewidth]{test} & lipsum[3-4][2] & lipsum[3-4][2] \
B & lipsum[2][2] newline includegraphics[align=t,width=linewidth]{test} & & lipsum[3-4][2] \
caption{lipsum[3-4][7]}
label{tabmethods}%
end{longtable}%
end{landscape}
%%%%%%%%%%%
end{document}
endinput
%%
%% End of file `elsarticle-template-harv.tex'.
The error:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit) entering extended mode (E:/LaTeX-manual/test2/Bose_etal_IntPaleo-elsarticle-QSR.tex LaTeX2e <2017-04-15> Babel <3.9r> and hyphenation patterns for 76 language(s) loaded. ("C:Program FilesMiKTeX
2.9texlatexelsarticleelsarticle.cls" Document Class: elsarticle 2009/09/17, 1.2.0: Elsevier Ltd ("C:Program FilesMiKTeX
2.9texlatexbasearticle.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:Program FilesMiKTeX
2.9texlatexbasesize12.clo")) ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphicx.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicskeyval.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphicsgraphics.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicstrig.sty") ("C:Program FilesMiKTeX 2.9texlatexgraphics-cfggraphics.cfg") ("C:Program FilesMiKTeX 2.9texlatexgraphics-defpdftex.def" ("C:Program FilesMiKTeX 2.9texgenericoberdiekinfwarerr.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekltxcmds.sty")))) ("C:Program FilesMiKTeX 2.9texlatexpsnfsspifont.sty" ("C:Program FilesMiKTeX 2.9texlatexpsnfssupzd.fd") ("C:Program FilesMiKTeX 2.9texlatexpsnfssupsy.fd")) ("C:Program FilesMiKTeX 2.9texlatexnatbibnatbib.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsfontsamssymb.sty" ("C:Program FilesMiKTeX 2.9texlatexamsfontsamsfonts.sty")) ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifpdf.sty") ("C:Program FilesMiKTeX 2.9texgenericoberdiekifvtex.sty") ("C:Program FilesMiKTeX 2.9texgenericifxetexifxetex.sty") ("C:Program FilesMiKTeX 2.9texlatexgeometrygeometry.cfg")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsmath.sty" For additional information on amsmath, use the `?' option. ("C:Program FilesMiKTeX
2.9texlatexamsmathamstext.sty" ("C:Program FilesMiKTeX 2.9texlatexamsmathamsgen.sty")) ("C:Program FilesMiKTeX 2.9texlatexamsmathamsbsy.sty") ("C:Program FilesMiKTeX 2.9texlatexamsmathamsopn.sty")) ("C:Program FilesMiKTeX 2.9texlatexmhchemmhchem.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3.sty" ("C:Program FilesMiKTeX 2.9texlatexl3kernelexpl3-code.tex") ("C:Program FilesMiKTeX 2.9texlatexl3kernell3pdfmode.def")) ("C:Program FilesMiKTeX 2.9texlatexl3packagesl3keys2el3keys2e.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3regex.sty" ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3tl-build.sty") ("C:Program FilesMiKTeX 2.9texlatexl3experimentall3strl3tl-analysis.sty" ) ("C:Program FilesMiKTeX
2.9texlatexl3experimentall3strl3str-convert.st y")) ("C:Program FilesMiKTeX 2.9texlatextoolscalc.sty") ("C:Program FilesMiKTeX
2.9texlatexchemgreekchemgreek.sty" ("C:Program FilesMiKTeX 2.9texlatexl3packagesxparsexparse.sty"))) ("C:Program FilesMiKTeX 2.9texlatexsetspacesetspace.sty") ("C:Program FilesMiKTeX 2.9texlatexwasgensymb.sty") ("C:Program FilesMiKTeX
2.9texlatexwasysymwasysym.sty") ("C:Program FilesMiKTeX 2.9texlatexthreeparttablethreeparttable.sty") ("C:Program FilesMiKTeX 2.9texlatextoolslongtable.sty") ("C:Program FilesMiKTeX 2.9texlatexoberdiekpdflscape.sty" ("C:Program FilesMiKTeX 2.9texlatexgraphicslscape.sty")) ("C:Program FilesMiKTeX 2.9texlatexlinenolineno.sty") ("C:Program FilesMiKTeX 2.9texlatextoolstabularx.sty" ("C:Program FilesMiKTeX 2.9texlatextoolsarray.sty")) ("C:Program FilesMiKTeX 2.9texlatexfloatfloat.sty") ("C:Program FilesMiKTeX
2.9texlatexcleverefcleveref.sty") ("C:Program FilesMiKTeX 2.9texlatexlipsumlipsum.sty") No file Bose_etal_IntPaleo-elsarticle-QSR.aux. ("C:Program FilesMiKTeX
2.9texcontextbasesupp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:Program FilesMiKTeX
2.9texgenericoberdiekpdftexcmds.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekifluatex.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekepstopdf-base.sty" ("C:Program FilesMiKTeX 2.9texlatexoberdiekgrfext.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvdefinekeys.sty")) ("C:Program FilesMiKTeX 2.9texlatexoberdiekkvoptions.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdiekkvsetkeys.sty" ("C:Program FilesMiKTeX 2.9texgenericoberdieketexcmds.sty"))))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
Package gensymb Warning: Not defining perthousand.
Package gensymb Warning: Not defining micro.
("C:Program FilesMiKTeX 2.9texlatexamsfontsumsa.fd") ("C:Program FilesMiKTeX 2.9texlatexamsfontsumsb.fd") ("C:Program FilesMiKTeX 2.9texlatexwasysymuwasy.fd") [1{C:/ProgramData/Mi KTeX/2.9/pdftex/config/pdftex.map}] Underfull hbox (badness 10000) in paragraph at lines 122--122 |OT1/cmr/bx/n/12 Quisque ul-lam-cor-per
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 vi-tae la-cus tin-cidunt
Underfull hbox (badness 4726) in paragraph at lines 122--122 OT1/cmr/bx/n/12 do-lor sit amet, con-
Underfull hbox (badness 10000) in paragraph at lines 122--122 OT1/cmr/bx/n/12 pus con-va-l-lis au-gue.
Underfull hbox (badness 6032) in paragraph at lines 122--122 OT1/cmr/bx/n/12 el-e-men-tum fer-men-tum
Underfull hbox (badness 1721) in paragraph at lines 123--123 OT1/cmr/m/n/12 erat ip-sum. Cras nibh.
Underfull hbox (badness 1831) in paragraph at lines 123--123 OT1/cmr/m/n/12 hac habitasse platea dic-
! Package keyval Error: align undefined.
See the keyval package documentation for explanation. Type H <return> for immediate help. ...
l.123 ...egraphics[align=t,width=linewidth]{test}
& lipsum[3-4][2] & lips...
?
longtable elsarticle xkeyval elsevier
longtable elsarticle xkeyval elsevier
asked Jan 31 at 16:54
TrinaTrina
204
204
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
align=t is not a valid option to includegraphics.
If you add usepackage[export]{adjustbox}, then you can use
includegraphics[valign=t,width=linewidth]{test}
Note that it's valign.
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472755%2felsearticle-harv-not-working-with-landscaped-longtable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
align=t is not a valid option to includegraphics.
If you add usepackage[export]{adjustbox}, then you can use
includegraphics[valign=t,width=linewidth]{test}
Note that it's valign.
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
add a comment |
align=t is not a valid option to includegraphics.
If you add usepackage[export]{adjustbox}, then you can use
includegraphics[valign=t,width=linewidth]{test}
Note that it's valign.
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
add a comment |
align=t is not a valid option to includegraphics.
If you add usepackage[export]{adjustbox}, then you can use
includegraphics[valign=t,width=linewidth]{test}
Note that it's valign.
align=t is not a valid option to includegraphics.
If you add usepackage[export]{adjustbox}, then you can use
includegraphics[valign=t,width=linewidth]{test}
Note that it's valign.
answered Jan 31 at 18:04
egregegreg
718k8719043200
718k8719043200
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
add a comment |
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
This worked fine but dunno why squeezed the caption in valign with the middle column
– Trina
Feb 1 at 6:19
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472755%2felsearticle-harv-not-working-with-landscaped-longtable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown