Replace author-year citation with superscript numbers and move the citation itself to the margin of the frame...












0















I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of the literature. Thus, I would like to place the author-year citation to the left with (say) 2mm margin where each reference being numbered on its own line.



enter image description here



documentclass[aspectratio=169, xcolor={x11names}]{beamer}

usecolortheme{seahorse}
useoutertheme{miniframes}
usefonttheme[onlylarge]{structurebold}
useinnertheme{inmargin}

newlength{widthTextMarginLeft}
setlength{widthTextMarginLeft}{1.5mm}
newlength{widthTextMarginRight}
setlength{widthTextMarginRight}{2mm}
setbeamersize{text margin left=widthTextMarginLeft, text margin right=widthTextMarginRight}
newlength{widthSideBar}
setlength{widthSideBar}{0.3paperwidth}
setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

% ===== Custom margin codes for pagewide frames =====
% BEGIN_FOLD

% Set margins
newlength{widthTextMarginLeftPageWide}
setlength{widthTextMarginLeftPageWide}{5mm}
newlength{widthTextMarginRightPageWide}
setlength{widthTextMarginRightPageWide}{5mm}

% Command to change margins for a page wide
makeatletter
newcommand{framePageWide}{
defGm@lmargin{widthTextMarginLeftPageWide}%
defGm@rmargin{widthTextMarginRightPageWide}%
textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
hsizetextwidth
columnwidthtextwidth
setlength{linewidth}{textwidth}
hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftrelax % IMPORTANT: widthTextMarginLeft is not to be changed to widthTextMarginLeftPageWide
}
makeatother

% END_FOLD

usepackage{natbib}

hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
linkcolor=DodgerBlue3, linkbordercolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}


begin{document}


begin{frame}

Cite cite{wu2017,MRITS-Grant2014,earnest2015}

Cite textsuperscript{color{SlateBlue2} 1,} textsuperscript{color{SlateBlue2} 2,} textsuperscript{color{SlateBlue2} 3}

end{frame}


{framePageWide

begin{frame}[allowframebreaks=0.9]{Referencing}



bibliographystyle{elsarticle-harv}

bibliography{sample_margin}

end{frame}

}



end{document}


Contents of the .bib file



@book{earnest2015,
title={Wind Power Technology},
author={Joshua Earnest},
year={2015},
publisher={PHI Learning}
}

@techreport{MRITS-Grant2014,
title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
author = {Grant},
group = {Minnesota Department of Commerce},
year = {2014},
institution = {Minnesota Department of Commerce},
month = {Nov},
Date-Added = {2014},
Date-Modified = {2014}
}

@ARTICLE{wu2017,
title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
journal={IEEE Transactions on Sustainable Energy},
year={2017},
publisher={IEEE}
}









share|improve this question





























    0















    I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of the literature. Thus, I would like to place the author-year citation to the left with (say) 2mm margin where each reference being numbered on its own line.



    enter image description here



    documentclass[aspectratio=169, xcolor={x11names}]{beamer}

    usecolortheme{seahorse}
    useoutertheme{miniframes}
    usefonttheme[onlylarge]{structurebold}
    useinnertheme{inmargin}

    newlength{widthTextMarginLeft}
    setlength{widthTextMarginLeft}{1.5mm}
    newlength{widthTextMarginRight}
    setlength{widthTextMarginRight}{2mm}
    setbeamersize{text margin left=widthTextMarginLeft, text margin right=widthTextMarginRight}
    newlength{widthSideBar}
    setlength{widthSideBar}{0.3paperwidth}
    setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

    % ===== Custom margin codes for pagewide frames =====
    % BEGIN_FOLD

    % Set margins
    newlength{widthTextMarginLeftPageWide}
    setlength{widthTextMarginLeftPageWide}{5mm}
    newlength{widthTextMarginRightPageWide}
    setlength{widthTextMarginRightPageWide}{5mm}

    % Command to change margins for a page wide
    makeatletter
    newcommand{framePageWide}{
    defGm@lmargin{widthTextMarginLeftPageWide}%
    defGm@rmargin{widthTextMarginRightPageWide}%
    textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
    hsizetextwidth
    columnwidthtextwidth
    setlength{linewidth}{textwidth}
    hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftrelax % IMPORTANT: widthTextMarginLeft is not to be changed to widthTextMarginLeftPageWide
    }
    makeatother

    % END_FOLD

    usepackage{natbib}

    hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
    linkcolor=DodgerBlue3, linkbordercolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}


    begin{document}


    begin{frame}

    Cite cite{wu2017,MRITS-Grant2014,earnest2015}

    Cite textsuperscript{color{SlateBlue2} 1,} textsuperscript{color{SlateBlue2} 2,} textsuperscript{color{SlateBlue2} 3}

    end{frame}


    {framePageWide

    begin{frame}[allowframebreaks=0.9]{Referencing}



    bibliographystyle{elsarticle-harv}

    bibliography{sample_margin}

    end{frame}

    }



    end{document}


    Contents of the .bib file



    @book{earnest2015,
    title={Wind Power Technology},
    author={Joshua Earnest},
    year={2015},
    publisher={PHI Learning}
    }

    @techreport{MRITS-Grant2014,
    title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
    author = {Grant},
    group = {Minnesota Department of Commerce},
    year = {2014},
    institution = {Minnesota Department of Commerce},
    month = {Nov},
    Date-Added = {2014},
    Date-Modified = {2014}
    }

    @ARTICLE{wu2017,
    title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
    author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
    journal={IEEE Transactions on Sustainable Energy},
    year={2017},
    publisher={IEEE}
    }









    share|improve this question



























      0












      0








      0








      I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of the literature. Thus, I would like to place the author-year citation to the left with (say) 2mm margin where each reference being numbered on its own line.



      enter image description here



      documentclass[aspectratio=169, xcolor={x11names}]{beamer}

      usecolortheme{seahorse}
      useoutertheme{miniframes}
      usefonttheme[onlylarge]{structurebold}
      useinnertheme{inmargin}

      newlength{widthTextMarginLeft}
      setlength{widthTextMarginLeft}{1.5mm}
      newlength{widthTextMarginRight}
      setlength{widthTextMarginRight}{2mm}
      setbeamersize{text margin left=widthTextMarginLeft, text margin right=widthTextMarginRight}
      newlength{widthSideBar}
      setlength{widthSideBar}{0.3paperwidth}
      setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

      % ===== Custom margin codes for pagewide frames =====
      % BEGIN_FOLD

      % Set margins
      newlength{widthTextMarginLeftPageWide}
      setlength{widthTextMarginLeftPageWide}{5mm}
      newlength{widthTextMarginRightPageWide}
      setlength{widthTextMarginRightPageWide}{5mm}

      % Command to change margins for a page wide
      makeatletter
      newcommand{framePageWide}{
      defGm@lmargin{widthTextMarginLeftPageWide}%
      defGm@rmargin{widthTextMarginRightPageWide}%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      setlength{linewidth}{textwidth}
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftrelax % IMPORTANT: widthTextMarginLeft is not to be changed to widthTextMarginLeftPageWide
      }
      makeatother

      % END_FOLD

      usepackage{natbib}

      hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
      linkcolor=DodgerBlue3, linkbordercolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}


      begin{document}


      begin{frame}

      Cite cite{wu2017,MRITS-Grant2014,earnest2015}

      Cite textsuperscript{color{SlateBlue2} 1,} textsuperscript{color{SlateBlue2} 2,} textsuperscript{color{SlateBlue2} 3}

      end{frame}


      {framePageWide

      begin{frame}[allowframebreaks=0.9]{Referencing}



      bibliographystyle{elsarticle-harv}

      bibliography{sample_margin}

      end{frame}

      }



      end{document}


      Contents of the .bib file



      @book{earnest2015,
      title={Wind Power Technology},
      author={Joshua Earnest},
      year={2015},
      publisher={PHI Learning}
      }

      @techreport{MRITS-Grant2014,
      title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
      author = {Grant},
      group = {Minnesota Department of Commerce},
      year = {2014},
      institution = {Minnesota Department of Commerce},
      month = {Nov},
      Date-Added = {2014},
      Date-Modified = {2014}
      }

      @ARTICLE{wu2017,
      title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
      author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
      journal={IEEE Transactions on Sustainable Energy},
      year={2017},
      publisher={IEEE}
      }









      share|improve this question
















      I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of the literature. Thus, I would like to place the author-year citation to the left with (say) 2mm margin where each reference being numbered on its own line.



      enter image description here



      documentclass[aspectratio=169, xcolor={x11names}]{beamer}

      usecolortheme{seahorse}
      useoutertheme{miniframes}
      usefonttheme[onlylarge]{structurebold}
      useinnertheme{inmargin}

      newlength{widthTextMarginLeft}
      setlength{widthTextMarginLeft}{1.5mm}
      newlength{widthTextMarginRight}
      setlength{widthTextMarginRight}{2mm}
      setbeamersize{text margin left=widthTextMarginLeft, text margin right=widthTextMarginRight}
      newlength{widthSideBar}
      setlength{widthSideBar}{0.3paperwidth}
      setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

      % ===== Custom margin codes for pagewide frames =====
      % BEGIN_FOLD

      % Set margins
      newlength{widthTextMarginLeftPageWide}
      setlength{widthTextMarginLeftPageWide}{5mm}
      newlength{widthTextMarginRightPageWide}
      setlength{widthTextMarginRightPageWide}{5mm}

      % Command to change margins for a page wide
      makeatletter
      newcommand{framePageWide}{
      defGm@lmargin{widthTextMarginLeftPageWide}%
      defGm@rmargin{widthTextMarginRightPageWide}%
      textwidth=dimexprpaperwidth-Gm@lmargin-Gm@rmarginrelax
      hsizetextwidth
      columnwidthtextwidth
      setlength{linewidth}{textwidth}
      hoffset=dimexpr-beamer@leftsidebar+Gm@lmargin-widthTextMarginLeftrelax % IMPORTANT: widthTextMarginLeft is not to be changed to widthTextMarginLeftPageWide
      }
      makeatother

      % END_FOLD

      usepackage{natbib}

      hypersetup{citecolor=SlateBlue2, citebordercolor=SlateBlue2,
      linkcolor=DodgerBlue3, linkbordercolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}


      begin{document}


      begin{frame}

      Cite cite{wu2017,MRITS-Grant2014,earnest2015}

      Cite textsuperscript{color{SlateBlue2} 1,} textsuperscript{color{SlateBlue2} 2,} textsuperscript{color{SlateBlue2} 3}

      end{frame}


      {framePageWide

      begin{frame}[allowframebreaks=0.9]{Referencing}



      bibliographystyle{elsarticle-harv}

      bibliography{sample_margin}

      end{frame}

      }



      end{document}


      Contents of the .bib file



      @book{earnest2015,
      title={Wind Power Technology},
      author={Joshua Earnest},
      year={2015},
      publisher={PHI Learning}
      }

      @techreport{MRITS-Grant2014,
      title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
      author = {Grant},
      group = {Minnesota Department of Commerce},
      year = {2014},
      institution = {Minnesota Department of Commerce},
      month = {Nov},
      Date-Added = {2014},
      Date-Modified = {2014}
      }

      @ARTICLE{wu2017,
      title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
      author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
      journal={IEEE Transactions on Sustainable Energy},
      year={2017},
      publisher={IEEE}
      }






      beamer margins natbib






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 35 mins ago







      Al-Motasem Aldaoudeyeh

















      asked 53 mins ago









      Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh

      1,810414




      1,810414






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Some starting point, but you'll have to make sure yourself, that you only use one inmargin command per line.



          documentclass[aspectratio=169, xcolor={x11names}]{beamer}

          usecolortheme{crane}
          useoutertheme{miniframes}
          usefonttheme[onlylarge]{structurebold}
          useinnertheme{inmargin}

          newlength{widthSideBar}
          setlength{widthSideBar}{0.3paperwidth}
          setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

          usepackage{natbib}

          usepackage{filecontents}
          begin{filecontents*}{jobname.bib}
          @book{earnest2015,
          title={Wind Power Technology},
          author={Joshua Earnest},
          year={2015},
          publisher={PHI Learning}
          }

          @techreport{MRITS-Grant2014,
          title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
          author = {Grant},
          group = {Minnesota Department of Commerce},
          year = {2014},
          institution = {Minnesota Department of Commerce},
          month = {Nov},
          Date-Added = {2014},
          Date-Modified = {2014}
          }

          @ARTICLE{wu2017,
          title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
          author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
          journal={IEEE Transactions on Sustainable Energy},
          year={2017},
          publisher={IEEE}
          }
          end{filecontents*}

          makeatletter
          newcommand{inmargin}[1]{beamer@putleft{cite{#1}}{2.5ex}vspace*{-baselineskip}}
          makeatother


          begin{document}


          begin{frame}

          inmargin{MRITS-Grant2014}Cite textsuperscript{color{SlateBlue2} 1,}linebreakinmargin{wu2017}Cite textsuperscript{color{SlateBlue2} 2,}


          end{frame}

          begin{frame}[allowframebreaks=0.9]{Referencing}
          bibliographystyle{elsarticle-harv}
          bibliography{jobname}
          end{frame}

          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%2f481142%2freplace-author-year-citation-with-superscript-numbers-and-move-the-citation-itse%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









            1














            Some starting point, but you'll have to make sure yourself, that you only use one inmargin command per line.



            documentclass[aspectratio=169, xcolor={x11names}]{beamer}

            usecolortheme{crane}
            useoutertheme{miniframes}
            usefonttheme[onlylarge]{structurebold}
            useinnertheme{inmargin}

            newlength{widthSideBar}
            setlength{widthSideBar}{0.3paperwidth}
            setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

            usepackage{natbib}

            usepackage{filecontents}
            begin{filecontents*}{jobname.bib}
            @book{earnest2015,
            title={Wind Power Technology},
            author={Joshua Earnest},
            year={2015},
            publisher={PHI Learning}
            }

            @techreport{MRITS-Grant2014,
            title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
            author = {Grant},
            group = {Minnesota Department of Commerce},
            year = {2014},
            institution = {Minnesota Department of Commerce},
            month = {Nov},
            Date-Added = {2014},
            Date-Modified = {2014}
            }

            @ARTICLE{wu2017,
            title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
            author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
            journal={IEEE Transactions on Sustainable Energy},
            year={2017},
            publisher={IEEE}
            }
            end{filecontents*}

            makeatletter
            newcommand{inmargin}[1]{beamer@putleft{cite{#1}}{2.5ex}vspace*{-baselineskip}}
            makeatother


            begin{document}


            begin{frame}

            inmargin{MRITS-Grant2014}Cite textsuperscript{color{SlateBlue2} 1,}linebreakinmargin{wu2017}Cite textsuperscript{color{SlateBlue2} 2,}


            end{frame}

            begin{frame}[allowframebreaks=0.9]{Referencing}
            bibliographystyle{elsarticle-harv}
            bibliography{jobname}
            end{frame}

            end{document}





            share|improve this answer




























              1














              Some starting point, but you'll have to make sure yourself, that you only use one inmargin command per line.



              documentclass[aspectratio=169, xcolor={x11names}]{beamer}

              usecolortheme{crane}
              useoutertheme{miniframes}
              usefonttheme[onlylarge]{structurebold}
              useinnertheme{inmargin}

              newlength{widthSideBar}
              setlength{widthSideBar}{0.3paperwidth}
              setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

              usepackage{natbib}

              usepackage{filecontents}
              begin{filecontents*}{jobname.bib}
              @book{earnest2015,
              title={Wind Power Technology},
              author={Joshua Earnest},
              year={2015},
              publisher={PHI Learning}
              }

              @techreport{MRITS-Grant2014,
              title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
              author = {Grant},
              group = {Minnesota Department of Commerce},
              year = {2014},
              institution = {Minnesota Department of Commerce},
              month = {Nov},
              Date-Added = {2014},
              Date-Modified = {2014}
              }

              @ARTICLE{wu2017,
              title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
              author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
              journal={IEEE Transactions on Sustainable Energy},
              year={2017},
              publisher={IEEE}
              }
              end{filecontents*}

              makeatletter
              newcommand{inmargin}[1]{beamer@putleft{cite{#1}}{2.5ex}vspace*{-baselineskip}}
              makeatother


              begin{document}


              begin{frame}

              inmargin{MRITS-Grant2014}Cite textsuperscript{color{SlateBlue2} 1,}linebreakinmargin{wu2017}Cite textsuperscript{color{SlateBlue2} 2,}


              end{frame}

              begin{frame}[allowframebreaks=0.9]{Referencing}
              bibliographystyle{elsarticle-harv}
              bibliography{jobname}
              end{frame}

              end{document}





              share|improve this answer


























                1












                1








                1







                Some starting point, but you'll have to make sure yourself, that you only use one inmargin command per line.



                documentclass[aspectratio=169, xcolor={x11names}]{beamer}

                usecolortheme{crane}
                useoutertheme{miniframes}
                usefonttheme[onlylarge]{structurebold}
                useinnertheme{inmargin}

                newlength{widthSideBar}
                setlength{widthSideBar}{0.3paperwidth}
                setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

                usepackage{natbib}

                usepackage{filecontents}
                begin{filecontents*}{jobname.bib}
                @book{earnest2015,
                title={Wind Power Technology},
                author={Joshua Earnest},
                year={2015},
                publisher={PHI Learning}
                }

                @techreport{MRITS-Grant2014,
                title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
                author = {Grant},
                group = {Minnesota Department of Commerce},
                year = {2014},
                institution = {Minnesota Department of Commerce},
                month = {Nov},
                Date-Added = {2014},
                Date-Modified = {2014}
                }

                @ARTICLE{wu2017,
                title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
                author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
                journal={IEEE Transactions on Sustainable Energy},
                year={2017},
                publisher={IEEE}
                }
                end{filecontents*}

                makeatletter
                newcommand{inmargin}[1]{beamer@putleft{cite{#1}}{2.5ex}vspace*{-baselineskip}}
                makeatother


                begin{document}


                begin{frame}

                inmargin{MRITS-Grant2014}Cite textsuperscript{color{SlateBlue2} 1,}linebreakinmargin{wu2017}Cite textsuperscript{color{SlateBlue2} 2,}


                end{frame}

                begin{frame}[allowframebreaks=0.9]{Referencing}
                bibliographystyle{elsarticle-harv}
                bibliography{jobname}
                end{frame}

                end{document}





                share|improve this answer













                Some starting point, but you'll have to make sure yourself, that you only use one inmargin command per line.



                documentclass[aspectratio=169, xcolor={x11names}]{beamer}

                usecolortheme{crane}
                useoutertheme{miniframes}
                usefonttheme[onlylarge]{structurebold}
                useinnertheme{inmargin}

                newlength{widthSideBar}
                setlength{widthSideBar}{0.3paperwidth}
                setbeamersize{sidebar width left=widthSideBar, sidebar width right=0cm}

                usepackage{natbib}

                usepackage{filecontents}
                begin{filecontents*}{jobname.bib}
                @book{earnest2015,
                title={Wind Power Technology},
                author={Joshua Earnest},
                year={2015},
                publisher={PHI Learning}
                }

                @techreport{MRITS-Grant2014,
                title = {{Report in the Matter of Integration and Transmission Study for the Future Renewable Energy Standard}},
                author = {Grant},
                group = {Minnesota Department of Commerce},
                year = {2014},
                institution = {Minnesota Department of Commerce},
                month = {Nov},
                Date-Added = {2014},
                Date-Modified = {2014}
                }

                @ARTICLE{wu2017,
                title={{Assessing Impact of Renewable Energy Integration on System Strength Using Site-Dependent Short Circuit Ratio}},
                author={Wu, Di and Li, Gangan and Javadi, Milad and Malyscheff, Alexander M and Hong, Mingguo and Jiang, John Ning},
                journal={IEEE Transactions on Sustainable Energy},
                year={2017},
                publisher={IEEE}
                }
                end{filecontents*}

                makeatletter
                newcommand{inmargin}[1]{beamer@putleft{cite{#1}}{2.5ex}vspace*{-baselineskip}}
                makeatother


                begin{document}


                begin{frame}

                inmargin{MRITS-Grant2014}Cite textsuperscript{color{SlateBlue2} 1,}linebreakinmargin{wu2017}Cite textsuperscript{color{SlateBlue2} 2,}


                end{frame}

                begin{frame}[allowframebreaks=0.9]{Referencing}
                bibliographystyle{elsarticle-harv}
                bibliography{jobname}
                end{frame}

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 28 mins ago









                samcartersamcarter

                92.7k7105299




                92.7k7105299






























                    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%2f481142%2freplace-author-year-citation-with-superscript-numbers-and-move-the-citation-itse%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

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                    Calculate evaluation metrics using cross_val_predict sklearn

                    Insert data from modal to MySQL (multiple modal on website)