Can't Find what's causing the error in this code, trying to insert a figure












2















documentclass[12pt]{article}


usepackage{cite}

usepackage[UKenglish]{babel}
usepackage{fixltx2e}
usepackage{hyperref}
usepackage[utf8]{inputenc}

usepackage{graphicx}
usepackage{chngcntr}
counterwithin{figure}{section}

usepackage[labelfont=bf]{caption}
captionsetup{font=small}

usepackage[font=small]{subcaption}

usepackage[export]{adjustbox}

usepackage{float}

usepackage{titling}
setlength{droptitle}{-2cm}
predate{}
date{}
postdate{}
begin{document}
begin{figure}[H]
centering
includegraphics[width=textwidth]{example-image}
caption{Theoretical model of erbium excitation by sensitization through
organic ligand, occuring as follows:
begin{enumerate}
item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
item In some cases the ligand de-excites, emitting a photon, flourescing,
in some cases energy transfers from the 1st singlet excited state to the
erbium, subsaquently:
begin{enumerate}
item The erbium de-excites, by non-radiative transition, to a lower excited
(4f orbital) state.
item By induced electric dipole transition, the erbium de-excites, emitting
the desired 1.5$mu$m wavelength emission.
end{enumerate}
item In other cases the organic ligand transitions from 1st excited singlet
state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
mechanism (ISC) where a photon may be emitted, (with a long decay time)
phosphorescing, or the energy transfers from the 1st excited triplet state
to the erbium.
item The erbium de-excites, by non-radiative transition, to a lower excited
(4f orbital) state.
item By induced electric dipole transition, the erbium de-excites, emitting
the desired 1.5$mu$m wavelength emission.
end{enumerate}}

label{fig:1.2}
end{figure}



end{document}









share|improve this question





























    2















    documentclass[12pt]{article}


    usepackage{cite}

    usepackage[UKenglish]{babel}
    usepackage{fixltx2e}
    usepackage{hyperref}
    usepackage[utf8]{inputenc}

    usepackage{graphicx}
    usepackage{chngcntr}
    counterwithin{figure}{section}

    usepackage[labelfont=bf]{caption}
    captionsetup{font=small}

    usepackage[font=small]{subcaption}

    usepackage[export]{adjustbox}

    usepackage{float}

    usepackage{titling}
    setlength{droptitle}{-2cm}
    predate{}
    date{}
    postdate{}
    begin{document}
    begin{figure}[H]
    centering
    includegraphics[width=textwidth]{example-image}
    caption{Theoretical model of erbium excitation by sensitization through
    organic ligand, occuring as follows:
    begin{enumerate}
    item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
    singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
    item In some cases the ligand de-excites, emitting a photon, flourescing,
    in some cases energy transfers from the 1st singlet excited state to the
    erbium, subsaquently:
    begin{enumerate}
    item The erbium de-excites, by non-radiative transition, to a lower excited
    (4f orbital) state.
    item By induced electric dipole transition, the erbium de-excites, emitting
    the desired 1.5$mu$m wavelength emission.
    end{enumerate}
    item In other cases the organic ligand transitions from 1st excited singlet
    state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
    mechanism (ISC) where a photon may be emitted, (with a long decay time)
    phosphorescing, or the energy transfers from the 1st excited triplet state
    to the erbium.
    item The erbium de-excites, by non-radiative transition, to a lower excited
    (4f orbital) state.
    item By induced electric dipole transition, the erbium de-excites, emitting
    the desired 1.5$mu$m wavelength emission.
    end{enumerate}}

    label{fig:1.2}
    end{figure}



    end{document}









    share|improve this question



























      2












      2








      2


      0






      documentclass[12pt]{article}


      usepackage{cite}

      usepackage[UKenglish]{babel}
      usepackage{fixltx2e}
      usepackage{hyperref}
      usepackage[utf8]{inputenc}

      usepackage{graphicx}
      usepackage{chngcntr}
      counterwithin{figure}{section}

      usepackage[labelfont=bf]{caption}
      captionsetup{font=small}

      usepackage[font=small]{subcaption}

      usepackage[export]{adjustbox}

      usepackage{float}

      usepackage{titling}
      setlength{droptitle}{-2cm}
      predate{}
      date{}
      postdate{}
      begin{document}
      begin{figure}[H]
      centering
      includegraphics[width=textwidth]{example-image}
      caption{Theoretical model of erbium excitation by sensitization through
      organic ligand, occuring as follows:
      begin{enumerate}
      item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
      singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
      item In some cases the ligand de-excites, emitting a photon, flourescing,
      in some cases energy transfers from the 1st singlet excited state to the
      erbium, subsaquently:
      begin{enumerate}
      item The erbium de-excites, by non-radiative transition, to a lower excited
      (4f orbital) state.
      item By induced electric dipole transition, the erbium de-excites, emitting
      the desired 1.5$mu$m wavelength emission.
      end{enumerate}
      item In other cases the organic ligand transitions from 1st excited singlet
      state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
      mechanism (ISC) where a photon may be emitted, (with a long decay time)
      phosphorescing, or the energy transfers from the 1st excited triplet state
      to the erbium.
      item The erbium de-excites, by non-radiative transition, to a lower excited
      (4f orbital) state.
      item By induced electric dipole transition, the erbium de-excites, emitting
      the desired 1.5$mu$m wavelength emission.
      end{enumerate}}

      label{fig:1.2}
      end{figure}



      end{document}









      share|improve this question
















      documentclass[12pt]{article}


      usepackage{cite}

      usepackage[UKenglish]{babel}
      usepackage{fixltx2e}
      usepackage{hyperref}
      usepackage[utf8]{inputenc}

      usepackage{graphicx}
      usepackage{chngcntr}
      counterwithin{figure}{section}

      usepackage[labelfont=bf]{caption}
      captionsetup{font=small}

      usepackage[font=small]{subcaption}

      usepackage[export]{adjustbox}

      usepackage{float}

      usepackage{titling}
      setlength{droptitle}{-2cm}
      predate{}
      date{}
      postdate{}
      begin{document}
      begin{figure}[H]
      centering
      includegraphics[width=textwidth]{example-image}
      caption{Theoretical model of erbium excitation by sensitization through
      organic ligand, occuring as follows:
      begin{enumerate}
      item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
      singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
      item In some cases the ligand de-excites, emitting a photon, flourescing,
      in some cases energy transfers from the 1st singlet excited state to the
      erbium, subsaquently:
      begin{enumerate}
      item The erbium de-excites, by non-radiative transition, to a lower excited
      (4f orbital) state.
      item By induced electric dipole transition, the erbium de-excites, emitting
      the desired 1.5$mu$m wavelength emission.
      end{enumerate}
      item In other cases the organic ligand transitions from 1st excited singlet
      state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
      mechanism (ISC) where a photon may be emitted, (with a long decay time)
      phosphorescing, or the energy transfers from the 1st excited triplet state
      to the erbium.
      item The erbium de-excites, by non-radiative transition, to a lower excited
      (4f orbital) state.
      item By induced electric dipole transition, the erbium de-excites, emitting
      the desired 1.5$mu$m wavelength emission.
      end{enumerate}}

      label{fig:1.2}
      end{figure}



      end{document}






      floats errors captions lists debugging






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 6 at 18:25









      David Carlisle

      484k4111171859




      484k4111171859










      asked Jan 6 at 18:02









      I.AugusteI.Auguste

      806




      806






















          1 Answer
          1






          active

          oldest

          votes


















          6














          caption isn't really intended for such long texts but if you suppress the check for it being one line (nooneline option) and provide a shorter caption for the list of figures, then it works



          Note however with the sample image that I used, it's too large for the page



          latex warns



           Overfull vbox (79.45732pt too high) has occurred while output is active


          You could reduce the text or use a smaller font. or scale the image more to make more room or ....



          enter image description here



          documentclass[12pt]{article}


          usepackage{cite}

          usepackage[UKenglish]{babel}
          %usepackage{fixltx2e}
          usepackage{hyperref}
          usepackage[utf8]{inputenc}

          usepackage{graphicx}
          usepackage{chngcntr}
          counterwithin{figure}{section}

          usepackage[labelfont=bf,nooneline]{caption}
          captionsetup{font=small}

          usepackage[font=small]{subcaption}

          usepackage[export]{adjustbox}

          usepackage{float}

          usepackage{titling}
          setlength{droptitle}{-2cm}
          predate{}
          date{}
          postdate{}
          begin{document}
          begin{figure}[H]
          centering
          includegraphics[width=textwidth]{example-image}
          caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through
          organic ligand, occuring as follows:
          begin{enumerate}
          item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
          singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
          item In some cases the ligand de-excites, emitting a photon, flourescing,
          in some cases energy transfers from the 1st singlet excited state to the
          erbium, subsaquently:
          begin{enumerate}
          item The erbium de-excites, by non-radiative transition, to a lower excited
          (4f orbital) state.
          item By induced electric dipole transition, the erbium de-excites, emitting
          the desired 1.5$mu$m wavelength emission.
          end{enumerate}
          item In other cases the organic ligand transitions from 1st excited singlet
          state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
          mechanism (ISC) where a photon may be emitted, (with a long decay time)
          phosphorescing, or the energy transfers from the 1st excited triplet state
          to the erbium.
          item The erbium de-excites, by non-radiative transition, to a lower excited
          (4f orbital) state.
          item By induced electric dipole transition, the erbium de-excites, emitting
          the desired 1.5$mu$m wavelength emission.
          end{enumerate}}

          label{fig:1.2}
          end{figure}



          end{document}





          share|improve this answer























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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468860%2fcant-find-whats-causing-the-error-in-this-code-trying-to-insert-a-figure%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









            6














            caption isn't really intended for such long texts but if you suppress the check for it being one line (nooneline option) and provide a shorter caption for the list of figures, then it works



            Note however with the sample image that I used, it's too large for the page



            latex warns



             Overfull vbox (79.45732pt too high) has occurred while output is active


            You could reduce the text or use a smaller font. or scale the image more to make more room or ....



            enter image description here



            documentclass[12pt]{article}


            usepackage{cite}

            usepackage[UKenglish]{babel}
            %usepackage{fixltx2e}
            usepackage{hyperref}
            usepackage[utf8]{inputenc}

            usepackage{graphicx}
            usepackage{chngcntr}
            counterwithin{figure}{section}

            usepackage[labelfont=bf,nooneline]{caption}
            captionsetup{font=small}

            usepackage[font=small]{subcaption}

            usepackage[export]{adjustbox}

            usepackage{float}

            usepackage{titling}
            setlength{droptitle}{-2cm}
            predate{}
            date{}
            postdate{}
            begin{document}
            begin{figure}[H]
            centering
            includegraphics[width=textwidth]{example-image}
            caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through
            organic ligand, occuring as follows:
            begin{enumerate}
            item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
            singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
            item In some cases the ligand de-excites, emitting a photon, flourescing,
            in some cases energy transfers from the 1st singlet excited state to the
            erbium, subsaquently:
            begin{enumerate}
            item The erbium de-excites, by non-radiative transition, to a lower excited
            (4f orbital) state.
            item By induced electric dipole transition, the erbium de-excites, emitting
            the desired 1.5$mu$m wavelength emission.
            end{enumerate}
            item In other cases the organic ligand transitions from 1st excited singlet
            state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
            mechanism (ISC) where a photon may be emitted, (with a long decay time)
            phosphorescing, or the energy transfers from the 1st excited triplet state
            to the erbium.
            item The erbium de-excites, by non-radiative transition, to a lower excited
            (4f orbital) state.
            item By induced electric dipole transition, the erbium de-excites, emitting
            the desired 1.5$mu$m wavelength emission.
            end{enumerate}}

            label{fig:1.2}
            end{figure}



            end{document}





            share|improve this answer




























              6














              caption isn't really intended for such long texts but if you suppress the check for it being one line (nooneline option) and provide a shorter caption for the list of figures, then it works



              Note however with the sample image that I used, it's too large for the page



              latex warns



               Overfull vbox (79.45732pt too high) has occurred while output is active


              You could reduce the text or use a smaller font. or scale the image more to make more room or ....



              enter image description here



              documentclass[12pt]{article}


              usepackage{cite}

              usepackage[UKenglish]{babel}
              %usepackage{fixltx2e}
              usepackage{hyperref}
              usepackage[utf8]{inputenc}

              usepackage{graphicx}
              usepackage{chngcntr}
              counterwithin{figure}{section}

              usepackage[labelfont=bf,nooneline]{caption}
              captionsetup{font=small}

              usepackage[font=small]{subcaption}

              usepackage[export]{adjustbox}

              usepackage{float}

              usepackage{titling}
              setlength{droptitle}{-2cm}
              predate{}
              date{}
              postdate{}
              begin{document}
              begin{figure}[H]
              centering
              includegraphics[width=textwidth]{example-image}
              caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through
              organic ligand, occuring as follows:
              begin{enumerate}
              item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
              singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
              item In some cases the ligand de-excites, emitting a photon, flourescing,
              in some cases energy transfers from the 1st singlet excited state to the
              erbium, subsaquently:
              begin{enumerate}
              item The erbium de-excites, by non-radiative transition, to a lower excited
              (4f orbital) state.
              item By induced electric dipole transition, the erbium de-excites, emitting
              the desired 1.5$mu$m wavelength emission.
              end{enumerate}
              item In other cases the organic ligand transitions from 1st excited singlet
              state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
              mechanism (ISC) where a photon may be emitted, (with a long decay time)
              phosphorescing, or the energy transfers from the 1st excited triplet state
              to the erbium.
              item The erbium de-excites, by non-radiative transition, to a lower excited
              (4f orbital) state.
              item By induced electric dipole transition, the erbium de-excites, emitting
              the desired 1.5$mu$m wavelength emission.
              end{enumerate}}

              label{fig:1.2}
              end{figure}



              end{document}





              share|improve this answer


























                6












                6








                6







                caption isn't really intended for such long texts but if you suppress the check for it being one line (nooneline option) and provide a shorter caption for the list of figures, then it works



                Note however with the sample image that I used, it's too large for the page



                latex warns



                 Overfull vbox (79.45732pt too high) has occurred while output is active


                You could reduce the text or use a smaller font. or scale the image more to make more room or ....



                enter image description here



                documentclass[12pt]{article}


                usepackage{cite}

                usepackage[UKenglish]{babel}
                %usepackage{fixltx2e}
                usepackage{hyperref}
                usepackage[utf8]{inputenc}

                usepackage{graphicx}
                usepackage{chngcntr}
                counterwithin{figure}{section}

                usepackage[labelfont=bf,nooneline]{caption}
                captionsetup{font=small}

                usepackage[font=small]{subcaption}

                usepackage[export]{adjustbox}

                usepackage{float}

                usepackage{titling}
                setlength{droptitle}{-2cm}
                predate{}
                date{}
                postdate{}
                begin{document}
                begin{figure}[H]
                centering
                includegraphics[width=textwidth]{example-image}
                caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through
                organic ligand, occuring as follows:
                begin{enumerate}
                item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
                singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
                item In some cases the ligand de-excites, emitting a photon, flourescing,
                in some cases energy transfers from the 1st singlet excited state to the
                erbium, subsaquently:
                begin{enumerate}
                item The erbium de-excites, by non-radiative transition, to a lower excited
                (4f orbital) state.
                item By induced electric dipole transition, the erbium de-excites, emitting
                the desired 1.5$mu$m wavelength emission.
                end{enumerate}
                item In other cases the organic ligand transitions from 1st excited singlet
                state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
                mechanism (ISC) where a photon may be emitted, (with a long decay time)
                phosphorescing, or the energy transfers from the 1st excited triplet state
                to the erbium.
                item The erbium de-excites, by non-radiative transition, to a lower excited
                (4f orbital) state.
                item By induced electric dipole transition, the erbium de-excites, emitting
                the desired 1.5$mu$m wavelength emission.
                end{enumerate}}

                label{fig:1.2}
                end{figure}



                end{document}





                share|improve this answer













                caption isn't really intended for such long texts but if you suppress the check for it being one line (nooneline option) and provide a shorter caption for the list of figures, then it works



                Note however with the sample image that I used, it's too large for the page



                latex warns



                 Overfull vbox (79.45732pt too high) has occurred while output is active


                You could reduce the text or use a smaller font. or scale the image more to make more room or ....



                enter image description here



                documentclass[12pt]{article}


                usepackage{cite}

                usepackage[UKenglish]{babel}
                %usepackage{fixltx2e}
                usepackage{hyperref}
                usepackage[utf8]{inputenc}

                usepackage{graphicx}
                usepackage{chngcntr}
                counterwithin{figure}{section}

                usepackage[labelfont=bf,nooneline]{caption}
                captionsetup{font=small}

                usepackage[font=small]{subcaption}

                usepackage[export]{adjustbox}

                usepackage{float}

                usepackage{titling}
                setlength{droptitle}{-2cm}
                predate{}
                date{}
                postdate{}
                begin{document}
                begin{figure}[H]
                centering
                includegraphics[width=textwidth]{example-image}
                caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through
                organic ligand, occuring as follows:
                begin{enumerate}
                item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st
                singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
                item In some cases the ligand de-excites, emitting a photon, flourescing,
                in some cases energy transfers from the 1st singlet excited state to the
                erbium, subsaquently:
                begin{enumerate}
                item The erbium de-excites, by non-radiative transition, to a lower excited
                (4f orbital) state.
                item By induced electric dipole transition, the erbium de-excites, emitting
                the desired 1.5$mu$m wavelength emission.
                end{enumerate}
                item In other cases the organic ligand transitions from 1st excited singlet
                state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing
                mechanism (ISC) where a photon may be emitted, (with a long decay time)
                phosphorescing, or the energy transfers from the 1st excited triplet state
                to the erbium.
                item The erbium de-excites, by non-radiative transition, to a lower excited
                (4f orbital) state.
                item By induced electric dipole transition, the erbium de-excites, emitting
                the desired 1.5$mu$m wavelength emission.
                end{enumerate}}

                label{fig:1.2}
                end{figure}



                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 6 at 18:24









                David CarlisleDavid Carlisle

                484k4111171859




                484k4111171859






























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468860%2fcant-find-whats-causing-the-error-in-this-code-trying-to-insert-a-figure%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

                    Mario Kart Wii

                    What does “Dominus providebit” mean?

                    Antonio Litta Visconti Arese