I wish to have my figures and tables in place and remove relevant code from endfloat











up vote
1
down vote

favorite












I have a document using floats and endfloat and causing a headache- I wish to have my figures and tables in place and remove relevant code from endfloat
Please help
PS: Am new to Latex so don't murder me :/. Thank you in advance
which lines of code shall I remove from the following



documentclass[3p,authoryear,preprint,12pt,onecolumn]{elsarticle}
longdeftwocolumn[#1]{#1}
makeatletter@twocolumnfalse makeatother
usepackage[nomarkers, nolists,tablesonly]{endfloat}



%usepackage{tabulary,graphicx}

usepackage{booktabs}
%usepackage{lscape}
%usepackage{longtable}
usepackage[normalem]{ulem}
useunder{uline}{ul}{}
usepackage{subfigure}

usepackage{tabulary,xcolor}
usepackage{amsfonts,amsmath,amssymb}
usepackage[T1]{fontenc}
makeatletter
letsave@ps@pprintTitleps@pprintTitle
defps@pprintTitle{save@ps@pprintTitlegdef@oddfoot{footnotesizeitshape nullhfilltoday}}
defhlinewd#1{%
noalign{ifnum0=`}fihrule @height #1
futureletreserved@a@xhline}
deftbltoprule{hlinewd{.8pt}\[-12pt]}
deftblbottomrule{hlinewd{.8pt}}
deftblmidrule{noalign{vspace*{6pt}}hlinenoalign{vspace*{2pt}}}
AtBeginDocument{ifNAT@numbers biboptions{sort&compress}fi}
makeatother






usepackage{ifluatex}
ifluatex
usepackage{fontspec}
defaultfontfeatures{Ligatures=TeX}
usepackage{unicode-math}
unimathsetup{math-style=TeX}
else
usepackage[utf8]{inputenc}
fi
ifluatexelseusepackage{stmaryrd}fi


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Following additional macros are required to function some
% functions which are not available in the class used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage{url,multirow,morefloats,floatflt,cancel,tfrupee}
makeatletter
AtBeginDocument{@ifpackageloaded{textcomp}{}{usepackage{textcomp}}}
makeatother
usepackage{colortbl}
usepackage{xcolor}
usepackage{pifont}
usepackage[nointegrals]{wasysym}
urlstyle{rm}
makeatletter

%%%For Table column width calculation.
defmcWidth#1{csname TY@F#1endcsname+tabcolsep}

%%Hacking center and right align for table
defcAlignHack{rightskip@flushglueleftskip@flushglueparindentz@parfillskipz@skip}
defrAlignHack{rightskipz@skipleftskip@flushglue parindentz@parfillskipz@skip}


if@twocolumnusepackage{dblfloatfix}fi
AtBeginDocument{
expandafterifxcsname eqalignendcsnamerelax
defeqalign#1{nullvcenter{def\{cr}openupjotm@th
ialign{strut$displaystyle{##}$hfil&$displaystyle{{}##}$hfil
crcr#1crcr}},}
fi
}

letlt=<
letgt=>
defprocessVert{ifmmode|elsetextbarfi}
letprocessvertprocessVert

@ifundefined{subparagraph}{
defsubparagraph{@startsection{paragraph}{5}{2parindent}{0ex plus 0.1ex minus 0.1ex}%
{0ex}{normalfontsmallitshape}}%
}{}

% These are now gobbled, so won't appear in the PDF.
newcommandrole[1]{unskip}
newcommandaucollab[1]{unskip}

@ifundefined{tsGraphicsScaleX}{gdeftsGraphicsScaleX{1}}{}
@ifundefined{tsGraphicsScaleY}{gdeftsGraphicsScaleY{.9}}{}
% To automatically resize figures to fit inside the text area
defcheckGraphicsWidth{ifdimGin@nat@width>linewidth
tsGraphicsScaleXlinewidthelseGin@nat@widthfi}

defcheckGraphicsHeight{ifdimGin@nat@height>.9textheight
tsGraphicsScaleYtextheightelseGin@nat@heightfi}

deffixFloatSize#1{}%@ifundefined{processdelayedfloats}{setbox0=hbox{includegraphics{#1}}ifnumwd0<columnwidthrelaxrenewenvironment{figure*}{begin{figure}}{end{figure}}fi}{}}
letts@includegraphicsincludegraphics

definlinegraphic[#1]#2{{edef@tempa{#1}edefbaseline@shift{ifx@tempa@empty0else#1fi}edeftempZ{thenumexpr(numexpr(baseline@shift*f@size/100))}protectraisebox{tempZ pt}{ts@includegraphics{#2}}}}

%renewcommand{includegraphics}[1]{ts@includegraphics[width=checkGraphicsWidth]{#1}}
AtBeginDocument{defincludegraphics{@ifnextchar[{ts@includegraphics}{ts@includegraphics[width=checkGraphicsWidth,height=checkGraphicsHeight,keepaspectratio]}}}

defURL#1#2{@ifundefined{href}{#2}{href{#1}{#2}}}

%%For url break
defUrlOrds{do*do-do~do'do"do-}%
g@addto@macro{UrlBreaks}{UrlOrds}
makeatother
deffloatpagefraction{0.8}
defdblfloatpagefraction{0.8}
defstyle#1#2{#2}
defxxxguillemotleft{fontencoding{T1}selectfontguillemotleft}
defxxxguillemotright{fontencoding{T1}selectfontguillemotright}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
emergencystretch 15pt deffloatpagefraction{0.8}









share|improve this question














bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 4




    Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
    – Bernard
    Apr 14 at 20:03















up vote
1
down vote

favorite












I have a document using floats and endfloat and causing a headache- I wish to have my figures and tables in place and remove relevant code from endfloat
Please help
PS: Am new to Latex so don't murder me :/. Thank you in advance
which lines of code shall I remove from the following



documentclass[3p,authoryear,preprint,12pt,onecolumn]{elsarticle}
longdeftwocolumn[#1]{#1}
makeatletter@twocolumnfalse makeatother
usepackage[nomarkers, nolists,tablesonly]{endfloat}



%usepackage{tabulary,graphicx}

usepackage{booktabs}
%usepackage{lscape}
%usepackage{longtable}
usepackage[normalem]{ulem}
useunder{uline}{ul}{}
usepackage{subfigure}

usepackage{tabulary,xcolor}
usepackage{amsfonts,amsmath,amssymb}
usepackage[T1]{fontenc}
makeatletter
letsave@ps@pprintTitleps@pprintTitle
defps@pprintTitle{save@ps@pprintTitlegdef@oddfoot{footnotesizeitshape nullhfilltoday}}
defhlinewd#1{%
noalign{ifnum0=`}fihrule @height #1
futureletreserved@a@xhline}
deftbltoprule{hlinewd{.8pt}\[-12pt]}
deftblbottomrule{hlinewd{.8pt}}
deftblmidrule{noalign{vspace*{6pt}}hlinenoalign{vspace*{2pt}}}
AtBeginDocument{ifNAT@numbers biboptions{sort&compress}fi}
makeatother






usepackage{ifluatex}
ifluatex
usepackage{fontspec}
defaultfontfeatures{Ligatures=TeX}
usepackage{unicode-math}
unimathsetup{math-style=TeX}
else
usepackage[utf8]{inputenc}
fi
ifluatexelseusepackage{stmaryrd}fi


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Following additional macros are required to function some
% functions which are not available in the class used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage{url,multirow,morefloats,floatflt,cancel,tfrupee}
makeatletter
AtBeginDocument{@ifpackageloaded{textcomp}{}{usepackage{textcomp}}}
makeatother
usepackage{colortbl}
usepackage{xcolor}
usepackage{pifont}
usepackage[nointegrals]{wasysym}
urlstyle{rm}
makeatletter

%%%For Table column width calculation.
defmcWidth#1{csname TY@F#1endcsname+tabcolsep}

%%Hacking center and right align for table
defcAlignHack{rightskip@flushglueleftskip@flushglueparindentz@parfillskipz@skip}
defrAlignHack{rightskipz@skipleftskip@flushglue parindentz@parfillskipz@skip}


if@twocolumnusepackage{dblfloatfix}fi
AtBeginDocument{
expandafterifxcsname eqalignendcsnamerelax
defeqalign#1{nullvcenter{def\{cr}openupjotm@th
ialign{strut$displaystyle{##}$hfil&$displaystyle{{}##}$hfil
crcr#1crcr}},}
fi
}

letlt=<
letgt=>
defprocessVert{ifmmode|elsetextbarfi}
letprocessvertprocessVert

@ifundefined{subparagraph}{
defsubparagraph{@startsection{paragraph}{5}{2parindent}{0ex plus 0.1ex minus 0.1ex}%
{0ex}{normalfontsmallitshape}}%
}{}

% These are now gobbled, so won't appear in the PDF.
newcommandrole[1]{unskip}
newcommandaucollab[1]{unskip}

@ifundefined{tsGraphicsScaleX}{gdeftsGraphicsScaleX{1}}{}
@ifundefined{tsGraphicsScaleY}{gdeftsGraphicsScaleY{.9}}{}
% To automatically resize figures to fit inside the text area
defcheckGraphicsWidth{ifdimGin@nat@width>linewidth
tsGraphicsScaleXlinewidthelseGin@nat@widthfi}

defcheckGraphicsHeight{ifdimGin@nat@height>.9textheight
tsGraphicsScaleYtextheightelseGin@nat@heightfi}

deffixFloatSize#1{}%@ifundefined{processdelayedfloats}{setbox0=hbox{includegraphics{#1}}ifnumwd0<columnwidthrelaxrenewenvironment{figure*}{begin{figure}}{end{figure}}fi}{}}
letts@includegraphicsincludegraphics

definlinegraphic[#1]#2{{edef@tempa{#1}edefbaseline@shift{ifx@tempa@empty0else#1fi}edeftempZ{thenumexpr(numexpr(baseline@shift*f@size/100))}protectraisebox{tempZ pt}{ts@includegraphics{#2}}}}

%renewcommand{includegraphics}[1]{ts@includegraphics[width=checkGraphicsWidth]{#1}}
AtBeginDocument{defincludegraphics{@ifnextchar[{ts@includegraphics}{ts@includegraphics[width=checkGraphicsWidth,height=checkGraphicsHeight,keepaspectratio]}}}

defURL#1#2{@ifundefined{href}{#2}{href{#1}{#2}}}

%%For url break
defUrlOrds{do*do-do~do'do"do-}%
g@addto@macro{UrlBreaks}{UrlOrds}
makeatother
deffloatpagefraction{0.8}
defdblfloatpagefraction{0.8}
defstyle#1#2{#2}
defxxxguillemotleft{fontencoding{T1}selectfontguillemotleft}
defxxxguillemotright{fontencoding{T1}selectfontguillemotright}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
emergencystretch 15pt deffloatpagefraction{0.8}









share|improve this question














bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 4




    Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
    – Bernard
    Apr 14 at 20:03













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have a document using floats and endfloat and causing a headache- I wish to have my figures and tables in place and remove relevant code from endfloat
Please help
PS: Am new to Latex so don't murder me :/. Thank you in advance
which lines of code shall I remove from the following



documentclass[3p,authoryear,preprint,12pt,onecolumn]{elsarticle}
longdeftwocolumn[#1]{#1}
makeatletter@twocolumnfalse makeatother
usepackage[nomarkers, nolists,tablesonly]{endfloat}



%usepackage{tabulary,graphicx}

usepackage{booktabs}
%usepackage{lscape}
%usepackage{longtable}
usepackage[normalem]{ulem}
useunder{uline}{ul}{}
usepackage{subfigure}

usepackage{tabulary,xcolor}
usepackage{amsfonts,amsmath,amssymb}
usepackage[T1]{fontenc}
makeatletter
letsave@ps@pprintTitleps@pprintTitle
defps@pprintTitle{save@ps@pprintTitlegdef@oddfoot{footnotesizeitshape nullhfilltoday}}
defhlinewd#1{%
noalign{ifnum0=`}fihrule @height #1
futureletreserved@a@xhline}
deftbltoprule{hlinewd{.8pt}\[-12pt]}
deftblbottomrule{hlinewd{.8pt}}
deftblmidrule{noalign{vspace*{6pt}}hlinenoalign{vspace*{2pt}}}
AtBeginDocument{ifNAT@numbers biboptions{sort&compress}fi}
makeatother






usepackage{ifluatex}
ifluatex
usepackage{fontspec}
defaultfontfeatures{Ligatures=TeX}
usepackage{unicode-math}
unimathsetup{math-style=TeX}
else
usepackage[utf8]{inputenc}
fi
ifluatexelseusepackage{stmaryrd}fi


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Following additional macros are required to function some
% functions which are not available in the class used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage{url,multirow,morefloats,floatflt,cancel,tfrupee}
makeatletter
AtBeginDocument{@ifpackageloaded{textcomp}{}{usepackage{textcomp}}}
makeatother
usepackage{colortbl}
usepackage{xcolor}
usepackage{pifont}
usepackage[nointegrals]{wasysym}
urlstyle{rm}
makeatletter

%%%For Table column width calculation.
defmcWidth#1{csname TY@F#1endcsname+tabcolsep}

%%Hacking center and right align for table
defcAlignHack{rightskip@flushglueleftskip@flushglueparindentz@parfillskipz@skip}
defrAlignHack{rightskipz@skipleftskip@flushglue parindentz@parfillskipz@skip}


if@twocolumnusepackage{dblfloatfix}fi
AtBeginDocument{
expandafterifxcsname eqalignendcsnamerelax
defeqalign#1{nullvcenter{def\{cr}openupjotm@th
ialign{strut$displaystyle{##}$hfil&$displaystyle{{}##}$hfil
crcr#1crcr}},}
fi
}

letlt=<
letgt=>
defprocessVert{ifmmode|elsetextbarfi}
letprocessvertprocessVert

@ifundefined{subparagraph}{
defsubparagraph{@startsection{paragraph}{5}{2parindent}{0ex plus 0.1ex minus 0.1ex}%
{0ex}{normalfontsmallitshape}}%
}{}

% These are now gobbled, so won't appear in the PDF.
newcommandrole[1]{unskip}
newcommandaucollab[1]{unskip}

@ifundefined{tsGraphicsScaleX}{gdeftsGraphicsScaleX{1}}{}
@ifundefined{tsGraphicsScaleY}{gdeftsGraphicsScaleY{.9}}{}
% To automatically resize figures to fit inside the text area
defcheckGraphicsWidth{ifdimGin@nat@width>linewidth
tsGraphicsScaleXlinewidthelseGin@nat@widthfi}

defcheckGraphicsHeight{ifdimGin@nat@height>.9textheight
tsGraphicsScaleYtextheightelseGin@nat@heightfi}

deffixFloatSize#1{}%@ifundefined{processdelayedfloats}{setbox0=hbox{includegraphics{#1}}ifnumwd0<columnwidthrelaxrenewenvironment{figure*}{begin{figure}}{end{figure}}fi}{}}
letts@includegraphicsincludegraphics

definlinegraphic[#1]#2{{edef@tempa{#1}edefbaseline@shift{ifx@tempa@empty0else#1fi}edeftempZ{thenumexpr(numexpr(baseline@shift*f@size/100))}protectraisebox{tempZ pt}{ts@includegraphics{#2}}}}

%renewcommand{includegraphics}[1]{ts@includegraphics[width=checkGraphicsWidth]{#1}}
AtBeginDocument{defincludegraphics{@ifnextchar[{ts@includegraphics}{ts@includegraphics[width=checkGraphicsWidth,height=checkGraphicsHeight,keepaspectratio]}}}

defURL#1#2{@ifundefined{href}{#2}{href{#1}{#2}}}

%%For url break
defUrlOrds{do*do-do~do'do"do-}%
g@addto@macro{UrlBreaks}{UrlOrds}
makeatother
deffloatpagefraction{0.8}
defdblfloatpagefraction{0.8}
defstyle#1#2{#2}
defxxxguillemotleft{fontencoding{T1}selectfontguillemotleft}
defxxxguillemotright{fontencoding{T1}selectfontguillemotright}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
emergencystretch 15pt deffloatpagefraction{0.8}









share|improve this question













I have a document using floats and endfloat and causing a headache- I wish to have my figures and tables in place and remove relevant code from endfloat
Please help
PS: Am new to Latex so don't murder me :/. Thank you in advance
which lines of code shall I remove from the following



documentclass[3p,authoryear,preprint,12pt,onecolumn]{elsarticle}
longdeftwocolumn[#1]{#1}
makeatletter@twocolumnfalse makeatother
usepackage[nomarkers, nolists,tablesonly]{endfloat}



%usepackage{tabulary,graphicx}

usepackage{booktabs}
%usepackage{lscape}
%usepackage{longtable}
usepackage[normalem]{ulem}
useunder{uline}{ul}{}
usepackage{subfigure}

usepackage{tabulary,xcolor}
usepackage{amsfonts,amsmath,amssymb}
usepackage[T1]{fontenc}
makeatletter
letsave@ps@pprintTitleps@pprintTitle
defps@pprintTitle{save@ps@pprintTitlegdef@oddfoot{footnotesizeitshape nullhfilltoday}}
defhlinewd#1{%
noalign{ifnum0=`}fihrule @height #1
futureletreserved@a@xhline}
deftbltoprule{hlinewd{.8pt}\[-12pt]}
deftblbottomrule{hlinewd{.8pt}}
deftblmidrule{noalign{vspace*{6pt}}hlinenoalign{vspace*{2pt}}}
AtBeginDocument{ifNAT@numbers biboptions{sort&compress}fi}
makeatother






usepackage{ifluatex}
ifluatex
usepackage{fontspec}
defaultfontfeatures{Ligatures=TeX}
usepackage{unicode-math}
unimathsetup{math-style=TeX}
else
usepackage[utf8]{inputenc}
fi
ifluatexelseusepackage{stmaryrd}fi


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Following additional macros are required to function some
% functions which are not available in the class used.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage{url,multirow,morefloats,floatflt,cancel,tfrupee}
makeatletter
AtBeginDocument{@ifpackageloaded{textcomp}{}{usepackage{textcomp}}}
makeatother
usepackage{colortbl}
usepackage{xcolor}
usepackage{pifont}
usepackage[nointegrals]{wasysym}
urlstyle{rm}
makeatletter

%%%For Table column width calculation.
defmcWidth#1{csname TY@F#1endcsname+tabcolsep}

%%Hacking center and right align for table
defcAlignHack{rightskip@flushglueleftskip@flushglueparindentz@parfillskipz@skip}
defrAlignHack{rightskipz@skipleftskip@flushglue parindentz@parfillskipz@skip}


if@twocolumnusepackage{dblfloatfix}fi
AtBeginDocument{
expandafterifxcsname eqalignendcsnamerelax
defeqalign#1{nullvcenter{def\{cr}openupjotm@th
ialign{strut$displaystyle{##}$hfil&$displaystyle{{}##}$hfil
crcr#1crcr}},}
fi
}

letlt=<
letgt=>
defprocessVert{ifmmode|elsetextbarfi}
letprocessvertprocessVert

@ifundefined{subparagraph}{
defsubparagraph{@startsection{paragraph}{5}{2parindent}{0ex plus 0.1ex minus 0.1ex}%
{0ex}{normalfontsmallitshape}}%
}{}

% These are now gobbled, so won't appear in the PDF.
newcommandrole[1]{unskip}
newcommandaucollab[1]{unskip}

@ifundefined{tsGraphicsScaleX}{gdeftsGraphicsScaleX{1}}{}
@ifundefined{tsGraphicsScaleY}{gdeftsGraphicsScaleY{.9}}{}
% To automatically resize figures to fit inside the text area
defcheckGraphicsWidth{ifdimGin@nat@width>linewidth
tsGraphicsScaleXlinewidthelseGin@nat@widthfi}

defcheckGraphicsHeight{ifdimGin@nat@height>.9textheight
tsGraphicsScaleYtextheightelseGin@nat@heightfi}

deffixFloatSize#1{}%@ifundefined{processdelayedfloats}{setbox0=hbox{includegraphics{#1}}ifnumwd0<columnwidthrelaxrenewenvironment{figure*}{begin{figure}}{end{figure}}fi}{}}
letts@includegraphicsincludegraphics

definlinegraphic[#1]#2{{edef@tempa{#1}edefbaseline@shift{ifx@tempa@empty0else#1fi}edeftempZ{thenumexpr(numexpr(baseline@shift*f@size/100))}protectraisebox{tempZ pt}{ts@includegraphics{#2}}}}

%renewcommand{includegraphics}[1]{ts@includegraphics[width=checkGraphicsWidth]{#1}}
AtBeginDocument{defincludegraphics{@ifnextchar[{ts@includegraphics}{ts@includegraphics[width=checkGraphicsWidth,height=checkGraphicsHeight,keepaspectratio]}}}

defURL#1#2{@ifundefined{href}{#2}{href{#1}{#2}}}

%%For url break
defUrlOrds{do*do-do~do'do"do-}%
g@addto@macro{UrlBreaks}{UrlOrds}
makeatother
deffloatpagefraction{0.8}
defdblfloatpagefraction{0.8}
defstyle#1#2{#2}
defxxxguillemotleft{fontencoding{T1}selectfontguillemotleft}
defxxxguillemotright{fontencoding{T1}selectfontguillemotright}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
emergencystretch 15pt deffloatpagefraction{0.8}






endfloat






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 14 at 19:49









Aftab Khan

61




61





bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 4




    Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
    – Bernard
    Apr 14 at 20:03














  • 4




    Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
    – Bernard
    Apr 14 at 20:03








4




4




Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
– Bernard
Apr 14 at 20:03




Welcome to TeX SX! Well, simply remove (or comment) loading of endfloat on line 4.
– Bernard
Apr 14 at 20:03










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Use these two packages





  1. usepackage{float};


  2. usepackage{flafter}.


and also use [H] option with the figures and the tables.



begin{figure}[H]
includegraphics[width=linewidth]{images/Figure1.jpg}
caption{No-way}
label{fig1}
end{figure}





share|improve this answer



















  • 1




    if you use [H] then the figure is not a float so the flafter package does nothing.
    – David Carlisle
    Apr 14 at 20:42








  • 1




    Did you try @Bernard 's suggestion?
    – Peter Wilson
    Apr 15 at 17:40











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f426576%2fi-wish-to-have-my-figures-and-tables-in-place-and-remove-relevant-code-from-endf%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








up vote
0
down vote













Use these two packages





  1. usepackage{float};


  2. usepackage{flafter}.


and also use [H] option with the figures and the tables.



begin{figure}[H]
includegraphics[width=linewidth]{images/Figure1.jpg}
caption{No-way}
label{fig1}
end{figure}





share|improve this answer



















  • 1




    if you use [H] then the figure is not a float so the flafter package does nothing.
    – David Carlisle
    Apr 14 at 20:42








  • 1




    Did you try @Bernard 's suggestion?
    – Peter Wilson
    Apr 15 at 17:40















up vote
0
down vote













Use these two packages





  1. usepackage{float};


  2. usepackage{flafter}.


and also use [H] option with the figures and the tables.



begin{figure}[H]
includegraphics[width=linewidth]{images/Figure1.jpg}
caption{No-way}
label{fig1}
end{figure}





share|improve this answer



















  • 1




    if you use [H] then the figure is not a float so the flafter package does nothing.
    – David Carlisle
    Apr 14 at 20:42








  • 1




    Did you try @Bernard 's suggestion?
    – Peter Wilson
    Apr 15 at 17:40













up vote
0
down vote










up vote
0
down vote









Use these two packages





  1. usepackage{float};


  2. usepackage{flafter}.


and also use [H] option with the figures and the tables.



begin{figure}[H]
includegraphics[width=linewidth]{images/Figure1.jpg}
caption{No-way}
label{fig1}
end{figure}





share|improve this answer














Use these two packages





  1. usepackage{float};


  2. usepackage{flafter}.


and also use [H] option with the figures and the tables.



begin{figure}[H]
includegraphics[width=linewidth]{images/Figure1.jpg}
caption{No-way}
label{fig1}
end{figure}






share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 14 at 20:38









Sebastiano

8,57841756




8,57841756










answered Apr 14 at 20:27









Aftab Khan

61




61








  • 1




    if you use [H] then the figure is not a float so the flafter package does nothing.
    – David Carlisle
    Apr 14 at 20:42








  • 1




    Did you try @Bernard 's suggestion?
    – Peter Wilson
    Apr 15 at 17:40














  • 1




    if you use [H] then the figure is not a float so the flafter package does nothing.
    – David Carlisle
    Apr 14 at 20:42








  • 1




    Did you try @Bernard 's suggestion?
    – Peter Wilson
    Apr 15 at 17:40








1




1




if you use [H] then the figure is not a float so the flafter package does nothing.
– David Carlisle
Apr 14 at 20:42






if you use [H] then the figure is not a float so the flafter package does nothing.
– David Carlisle
Apr 14 at 20:42






1




1




Did you try @Bernard 's suggestion?
– Peter Wilson
Apr 15 at 17:40




Did you try @Bernard 's suggestion?
– Peter Wilson
Apr 15 at 17:40


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f426576%2fi-wish-to-have-my-figures-and-tables-in-place-and-remove-relevant-code-from-endf%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt