How can I use telugu font in beamer class?











up vote
1
down vote

favorite












%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Beamer Presentation
% LaTeX Template
% Version 1.0 (10/11/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------------------------------------
% PACKAGES AND THEMES
%----------------------------------------------------------------------------------------

% !TeX TS-program = xelatex
documentclass[xetex]{beamer}

mode<presentation>
{

% The Beamer class comes with a number of default slide themes
% which change the colors and layouts of slides. Below this is a list
% of all the themes, uncomment each in turn to see what they look like.


usetheme{Rochester}


% As well as themes, the Beamer class has a number of color themes
% for any slide theme. Uncomment each of these in turn to see how it
% changes the colors of your current slide theme.


usecolortheme{wolverine}

%setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line

%setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}

usepackage{graphicx} % Allows including images
usepackage{booktabs} % Allows the use of toprule, midrule and bottomrule in tables
usepackage{polyglossia}
setotherlanguage{english}
setmainlanguage{telugu}
usepackage{fontspec}
newfontfamilytelugufont{Lohit-Telugu.ttf}
%setmainfont{TeX Gyre Termes}
%newfontfamily{cyrillicfonttt}{Liberation Mono}


%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------

title[NERC for Telugu]{Named Entity Recognition and Classification for Telugu} % The short title appears at the bottom of every slide, the full title is only on the title page

author{SaiKiranmai G\ 2012PHXF0531H} % Your name
%institute[UCLA] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
%{
%University of California \ % Your institution for the title page
%medskip
%textit{john@smith.com} % Your email address
%}

%date{today} % Date, can be changed to a custom date

begin{document}

begin{frame}
titlepage % Print the title page as the first slide
end{frame}

begin{frame}
frametitle{Important Dates} % Table of contents slide, comment this block out to remove it
%tableofcontents % Throughout your presentation, if you choose to use section{} and subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
begin{itemize}
item Date of Qualifying Examination : August 2013
item Research Proposal Submitted on : October 2013
item Research Proposal Accepted on : November 2013
newline
item Supervisor: Prof. Aruna Malapati
item Co-Supervisor : Prof. N.L Bhanu Murthy
newline
item DAC Members :
begin{itemize}
item Prof. Chittaranjan Hota
item Prof. Tathagata Ray
end{itemize}

end{itemize}
end{frame}

%
begin{frame}
frametitle{Workdone till now}

selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

end{frame}


end{document}


error:



Package polyglossia Error: The current roman font does not contain the Telugu(polyglossia) Please define telugufont with newfontfamily. select@language {telugu}









share|improve this question




























    up vote
    1
    down vote

    favorite












    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % Beamer Presentation
    % LaTeX Template
    % Version 1.0 (10/11/12)
    %
    % This template has been downloaded from:
    % http://www.LaTeXTemplates.com
    %
    % License:
    % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
    %
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    %----------------------------------------------------------------------------------------
    % PACKAGES AND THEMES
    %----------------------------------------------------------------------------------------

    % !TeX TS-program = xelatex
    documentclass[xetex]{beamer}

    mode<presentation>
    {

    % The Beamer class comes with a number of default slide themes
    % which change the colors and layouts of slides. Below this is a list
    % of all the themes, uncomment each in turn to see what they look like.


    usetheme{Rochester}


    % As well as themes, the Beamer class has a number of color themes
    % for any slide theme. Uncomment each of these in turn to see how it
    % changes the colors of your current slide theme.


    usecolortheme{wolverine}

    %setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
    %setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line

    %setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
    }

    usepackage{graphicx} % Allows including images
    usepackage{booktabs} % Allows the use of toprule, midrule and bottomrule in tables
    usepackage{polyglossia}
    setotherlanguage{english}
    setmainlanguage{telugu}
    usepackage{fontspec}
    newfontfamilytelugufont{Lohit-Telugu.ttf}
    %setmainfont{TeX Gyre Termes}
    %newfontfamily{cyrillicfonttt}{Liberation Mono}


    %----------------------------------------------------------------------------------------
    % TITLE PAGE
    %----------------------------------------------------------------------------------------

    title[NERC for Telugu]{Named Entity Recognition and Classification for Telugu} % The short title appears at the bottom of every slide, the full title is only on the title page

    author{SaiKiranmai G\ 2012PHXF0531H} % Your name
    %institute[UCLA] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
    %{
    %University of California \ % Your institution for the title page
    %medskip
    %textit{john@smith.com} % Your email address
    %}

    %date{today} % Date, can be changed to a custom date

    begin{document}

    begin{frame}
    titlepage % Print the title page as the first slide
    end{frame}

    begin{frame}
    frametitle{Important Dates} % Table of contents slide, comment this block out to remove it
    %tableofcontents % Throughout your presentation, if you choose to use section{} and subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
    begin{itemize}
    item Date of Qualifying Examination : August 2013
    item Research Proposal Submitted on : October 2013
    item Research Proposal Accepted on : November 2013
    newline
    item Supervisor: Prof. Aruna Malapati
    item Co-Supervisor : Prof. N.L Bhanu Murthy
    newline
    item DAC Members :
    begin{itemize}
    item Prof. Chittaranjan Hota
    item Prof. Tathagata Ray
    end{itemize}

    end{itemize}
    end{frame}

    %
    begin{frame}
    frametitle{Workdone till now}

    selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

    end{frame}


    end{document}


    error:



    Package polyglossia Error: The current roman font does not contain the Telugu(polyglossia) Please define telugufont with newfontfamily. select@language {telugu}









    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      % Beamer Presentation
      % LaTeX Template
      % Version 1.0 (10/11/12)
      %
      % This template has been downloaded from:
      % http://www.LaTeXTemplates.com
      %
      % License:
      % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
      %
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

      %----------------------------------------------------------------------------------------
      % PACKAGES AND THEMES
      %----------------------------------------------------------------------------------------

      % !TeX TS-program = xelatex
      documentclass[xetex]{beamer}

      mode<presentation>
      {

      % The Beamer class comes with a number of default slide themes
      % which change the colors and layouts of slides. Below this is a list
      % of all the themes, uncomment each in turn to see what they look like.


      usetheme{Rochester}


      % As well as themes, the Beamer class has a number of color themes
      % for any slide theme. Uncomment each of these in turn to see how it
      % changes the colors of your current slide theme.


      usecolortheme{wolverine}

      %setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
      %setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line

      %setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
      }

      usepackage{graphicx} % Allows including images
      usepackage{booktabs} % Allows the use of toprule, midrule and bottomrule in tables
      usepackage{polyglossia}
      setotherlanguage{english}
      setmainlanguage{telugu}
      usepackage{fontspec}
      newfontfamilytelugufont{Lohit-Telugu.ttf}
      %setmainfont{TeX Gyre Termes}
      %newfontfamily{cyrillicfonttt}{Liberation Mono}


      %----------------------------------------------------------------------------------------
      % TITLE PAGE
      %----------------------------------------------------------------------------------------

      title[NERC for Telugu]{Named Entity Recognition and Classification for Telugu} % The short title appears at the bottom of every slide, the full title is only on the title page

      author{SaiKiranmai G\ 2012PHXF0531H} % Your name
      %institute[UCLA] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
      %{
      %University of California \ % Your institution for the title page
      %medskip
      %textit{john@smith.com} % Your email address
      %}

      %date{today} % Date, can be changed to a custom date

      begin{document}

      begin{frame}
      titlepage % Print the title page as the first slide
      end{frame}

      begin{frame}
      frametitle{Important Dates} % Table of contents slide, comment this block out to remove it
      %tableofcontents % Throughout your presentation, if you choose to use section{} and subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
      begin{itemize}
      item Date of Qualifying Examination : August 2013
      item Research Proposal Submitted on : October 2013
      item Research Proposal Accepted on : November 2013
      newline
      item Supervisor: Prof. Aruna Malapati
      item Co-Supervisor : Prof. N.L Bhanu Murthy
      newline
      item DAC Members :
      begin{itemize}
      item Prof. Chittaranjan Hota
      item Prof. Tathagata Ray
      end{itemize}

      end{itemize}
      end{frame}

      %
      begin{frame}
      frametitle{Workdone till now}

      selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

      end{frame}


      end{document}


      error:



      Package polyglossia Error: The current roman font does not contain the Telugu(polyglossia) Please define telugufont with newfontfamily. select@language {telugu}









      share|improve this question















      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      % Beamer Presentation
      % LaTeX Template
      % Version 1.0 (10/11/12)
      %
      % This template has been downloaded from:
      % http://www.LaTeXTemplates.com
      %
      % License:
      % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
      %
      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

      %----------------------------------------------------------------------------------------
      % PACKAGES AND THEMES
      %----------------------------------------------------------------------------------------

      % !TeX TS-program = xelatex
      documentclass[xetex]{beamer}

      mode<presentation>
      {

      % The Beamer class comes with a number of default slide themes
      % which change the colors and layouts of slides. Below this is a list
      % of all the themes, uncomment each in turn to see what they look like.


      usetheme{Rochester}


      % As well as themes, the Beamer class has a number of color themes
      % for any slide theme. Uncomment each of these in turn to see how it
      % changes the colors of your current slide theme.


      usecolortheme{wolverine}

      %setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
      %setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line

      %setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
      }

      usepackage{graphicx} % Allows including images
      usepackage{booktabs} % Allows the use of toprule, midrule and bottomrule in tables
      usepackage{polyglossia}
      setotherlanguage{english}
      setmainlanguage{telugu}
      usepackage{fontspec}
      newfontfamilytelugufont{Lohit-Telugu.ttf}
      %setmainfont{TeX Gyre Termes}
      %newfontfamily{cyrillicfonttt}{Liberation Mono}


      %----------------------------------------------------------------------------------------
      % TITLE PAGE
      %----------------------------------------------------------------------------------------

      title[NERC for Telugu]{Named Entity Recognition and Classification for Telugu} % The short title appears at the bottom of every slide, the full title is only on the title page

      author{SaiKiranmai G\ 2012PHXF0531H} % Your name
      %institute[UCLA] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
      %{
      %University of California \ % Your institution for the title page
      %medskip
      %textit{john@smith.com} % Your email address
      %}

      %date{today} % Date, can be changed to a custom date

      begin{document}

      begin{frame}
      titlepage % Print the title page as the first slide
      end{frame}

      begin{frame}
      frametitle{Important Dates} % Table of contents slide, comment this block out to remove it
      %tableofcontents % Throughout your presentation, if you choose to use section{} and subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
      begin{itemize}
      item Date of Qualifying Examination : August 2013
      item Research Proposal Submitted on : October 2013
      item Research Proposal Accepted on : November 2013
      newline
      item Supervisor: Prof. Aruna Malapati
      item Co-Supervisor : Prof. N.L Bhanu Murthy
      newline
      item DAC Members :
      begin{itemize}
      item Prof. Chittaranjan Hota
      item Prof. Tathagata Ray
      end{itemize}

      end{itemize}
      end{frame}

      %
      begin{frame}
      frametitle{Workdone till now}

      selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

      end{frame}


      end{document}


      error:



      Package polyglossia Error: The current roman font does not contain the Telugu(polyglossia) Please define telugufont with newfontfamily. select@language {telugu}






      beamer fonts polyglossia






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 at 11:35









      Phelype Oleinik

      20.5k54378




      20.5k54378










      asked Nov 19 at 11:34









      kiran

      161




      161






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          If you switch to the serif font theme your method to load the font works:



          % !TeX TS-program = xelatex
          documentclass[xetex]{beamer}

          usefonttheme{serif}

          usepackage{polyglossia}
          setotherlanguage{english}
          setmainlanguage{telugu}
          usepackage{fontspec}
          newfontfamilytelugufont{Lohit-Telugu.ttf}




          begin{document}

          begin{frame}
          frametitle{otherlanguage{english}{Workdone till now}}

          selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

          end{frame}


          end{document}


          enter image description here



          If you prefer sans serif font, you should define the telugufontsf instead:



          % !TeX TS-program = xelatex
          documentclass[xetex]{beamer}

          %usefonttheme{serif}

          usepackage{polyglossia}
          setotherlanguage{english}
          setmainlanguage{telugu}
          usepackage{fontspec}
          newfontfamilytelugufont{Lohit-Telugu.ttf}
          newfontfamilytelugufontsf{Lohit-Telugu.ttf}

          begin{document}

          begin{frame}
          frametitle{otherlanguage{english}{Workdone till now}}

          selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

          end{frame}


          end{document}


          enter image description here






          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',
            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%2f460729%2fhow-can-i-use-telugu-font-in-beamer-class%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
            1
            down vote













            If you switch to the serif font theme your method to load the font works:



            % !TeX TS-program = xelatex
            documentclass[xetex]{beamer}

            usefonttheme{serif}

            usepackage{polyglossia}
            setotherlanguage{english}
            setmainlanguage{telugu}
            usepackage{fontspec}
            newfontfamilytelugufont{Lohit-Telugu.ttf}




            begin{document}

            begin{frame}
            frametitle{otherlanguage{english}{Workdone till now}}

            selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

            end{frame}


            end{document}


            enter image description here



            If you prefer sans serif font, you should define the telugufontsf instead:



            % !TeX TS-program = xelatex
            documentclass[xetex]{beamer}

            %usefonttheme{serif}

            usepackage{polyglossia}
            setotherlanguage{english}
            setmainlanguage{telugu}
            usepackage{fontspec}
            newfontfamilytelugufont{Lohit-Telugu.ttf}
            newfontfamilytelugufontsf{Lohit-Telugu.ttf}

            begin{document}

            begin{frame}
            frametitle{otherlanguage{english}{Workdone till now}}

            selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

            end{frame}


            end{document}


            enter image description here






            share|improve this answer



























              up vote
              1
              down vote













              If you switch to the serif font theme your method to load the font works:



              % !TeX TS-program = xelatex
              documentclass[xetex]{beamer}

              usefonttheme{serif}

              usepackage{polyglossia}
              setotherlanguage{english}
              setmainlanguage{telugu}
              usepackage{fontspec}
              newfontfamilytelugufont{Lohit-Telugu.ttf}




              begin{document}

              begin{frame}
              frametitle{otherlanguage{english}{Workdone till now}}

              selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

              end{frame}


              end{document}


              enter image description here



              If you prefer sans serif font, you should define the telugufontsf instead:



              % !TeX TS-program = xelatex
              documentclass[xetex]{beamer}

              %usefonttheme{serif}

              usepackage{polyglossia}
              setotherlanguage{english}
              setmainlanguage{telugu}
              usepackage{fontspec}
              newfontfamilytelugufont{Lohit-Telugu.ttf}
              newfontfamilytelugufontsf{Lohit-Telugu.ttf}

              begin{document}

              begin{frame}
              frametitle{otherlanguage{english}{Workdone till now}}

              selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

              end{frame}


              end{document}


              enter image description here






              share|improve this answer

























                up vote
                1
                down vote










                up vote
                1
                down vote









                If you switch to the serif font theme your method to load the font works:



                % !TeX TS-program = xelatex
                documentclass[xetex]{beamer}

                usefonttheme{serif}

                usepackage{polyglossia}
                setotherlanguage{english}
                setmainlanguage{telugu}
                usepackage{fontspec}
                newfontfamilytelugufont{Lohit-Telugu.ttf}




                begin{document}

                begin{frame}
                frametitle{otherlanguage{english}{Workdone till now}}

                selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

                end{frame}


                end{document}


                enter image description here



                If you prefer sans serif font, you should define the telugufontsf instead:



                % !TeX TS-program = xelatex
                documentclass[xetex]{beamer}

                %usefonttheme{serif}

                usepackage{polyglossia}
                setotherlanguage{english}
                setmainlanguage{telugu}
                usepackage{fontspec}
                newfontfamilytelugufont{Lohit-Telugu.ttf}
                newfontfamilytelugufontsf{Lohit-Telugu.ttf}

                begin{document}

                begin{frame}
                frametitle{otherlanguage{english}{Workdone till now}}

                selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

                end{frame}


                end{document}


                enter image description here






                share|improve this answer














                If you switch to the serif font theme your method to load the font works:



                % !TeX TS-program = xelatex
                documentclass[xetex]{beamer}

                usefonttheme{serif}

                usepackage{polyglossia}
                setotherlanguage{english}
                setmainlanguage{telugu}
                usepackage{fontspec}
                newfontfamilytelugufont{Lohit-Telugu.ttf}




                begin{document}

                begin{frame}
                frametitle{otherlanguage{english}{Workdone till now}}

                selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

                end{frame}


                end{document}


                enter image description here



                If you prefer sans serif font, you should define the telugufontsf instead:



                % !TeX TS-program = xelatex
                documentclass[xetex]{beamer}

                %usefonttheme{serif}

                usepackage{polyglossia}
                setotherlanguage{english}
                setmainlanguage{telugu}
                usepackage{fontspec}
                newfontfamilytelugufont{Lohit-Telugu.ttf}
                newfontfamilytelugufontsf{Lohit-Telugu.ttf}

                begin{document}

                begin{frame}
                frametitle{otherlanguage{english}{Workdone till now}}

                selectlanguage{telugu}ఢిల్లీలో selectlanguage{english}DhillI.

                end{frame}


                end{document}


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 19 at 12:37

























                answered Nov 19 at 12:32









                samcarter

                82.3k793263




                82.3k793263






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460729%2fhow-can-i-use-telugu-font-in-beamer-class%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

                    How to change which sound is reproduced for terminal bell?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?