0

I am not able to set my Title page as I want. Like, there is a huge gap between the title and above space and also to make title big and also to place my name, institute and my university logo in better place. Here is the link of my university logo https://www.google.co.in/url?sa=i&url=http%3A%2F%2Fwww.cuhimachal.ac.in%2F&psig=AOvVaw1lPuHysHY-TdFCdIFUyBJc&ust=1595416760523000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCJD3j9yc3uoCFQAAAAAdAAAAABAD

\documentclass[11pt,t]{beamer} %<----- top align all frame contents
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\metroset{sectionpage=none} %<----- remove all section frames
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}
\setbeamertemplate{bibliography item}{\insertbiblabel} % <--- number references
\defbeamertemplate{subsection in toc}{bullets}{%
    \leavevmode
    \parbox[t]{1em}{\textbullet\hfill}%
    \parbox[t]{\dimexpr\textwidth-1em\relax}{\inserttocsubsection}\par}
\defbeamertemplate{section in toc}{sections numbered numeric}{%
    \leavevmode%
    \MakeUppercase{\number\inserttocsectionnumber}.\ %
    \inserttocsection\par}

\setbeamertemplate{section in toc}[sections numbered numeric]
\setbeamertemplate{subsection in toc}[bullets]


\begin{document}
        \author{Anshul Sharma}
    \title{Symmetry in Quantum Mechanics}
    \institute {CENTRAL UNIVERSITY OF HIMACHAL PRADESH}
    \begin{frame}[plain]
        \begin{tikzpicture}[remember picture, overlay]
        \node[anchor=north east] at ($(current page.center)+(-2,-2)$){\includegraphics[width=0.3\linewidth, scale=0.1]{"CUHP LOGO"}};
        \end{tikzpicture}
        \maketitle
    \end{frame}
\end{document}

Also when when doing a presentation we'll want to reveal parts of a frame one after the other. So How to make it possible as i used setbeamercoveredpage{transparent} but it seems i am unable to do it. Below is my code

\documentclass[11pt,t]{beamer} %<----- top align all frame contents
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\metroset{sectionpage=none} %<----- remove all section frames
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}
\setbeamertemplate{bibliography item}{\insertbiblabel} % <--- number references
\defbeamertemplate{subsection in toc}{bullets}{%
    \leavevmode
    \parbox[t]{1em}{\textbullet\hfill}%
    \parbox[t]{\dimexpr\textwidth-1em\relax}{\inserttocsubsection}\par}
\defbeamertemplate{section in toc}{sections numbered numeric}{%
    \leavevmode%
    \MakeUppercase{\number\inserttocsectionnumber}.\ %
    \inserttocsection\par}

\setbeamertemplate{section in toc}[sections numbered numeric]
\setbeamertemplate{subsection in toc}[bullets]


\begin{document}
        \author{Anshul Sharma}
    \title{Symmetry in Quantum Mechanics}
    \institute {CENTRAL UNIVERSITY OF HIMACHAL PRADESH}
    \begin{frame}[plain]
        \begin{tikzpicture}[remember picture, overlay]
        \node[anchor=north east] at ($(current page.center)+(-2,-2)$){\includegraphics[width=0.3\linewidth, scale=0.1]{"CUHP LOGO"}};
        \end{tikzpicture}
        \maketitle
    \end{frame}
\begin{frame}
        \frametitle{Overview}
        \tableofcontents
    \end{frame}
    

    
    \section{Symmetries in Classical Physics} % <---- add sections in order to get them listed in the table of contents
    \begin{frame}{\secname} % <----- \secname here used the section's name as a frametitle
        \begin{itemize}
            \item Hi % Here i want that after any para any points or lines the text after it is transparent (not fully but)
            \item Bye
        \end{itemize}
\end{document} 

And also how can we transparent two paragraphs like say

There are many processes in nature where symmetries are violated i.e. say for an example, symmetry often breaks when one goes beyond the level of nucleus i.e. studying physics of particles beyond their fundamental constituents, the Quarks. Some fundamental particles (i.e. $\beta$-particles) violates symmetry known as Parity violation for weak interaction. Also in case of Kaon particles it is seen that CP violation occurs, where to resolve the theory, we use the CPT Theorem.

Like the below paragraph I want for the reader, text to be transparent (or partially).

Continuous symmetry and Discrete symmetry. Continuous symmetry are comprised of Translational and Rotational symmetry, where as Discrete symmerty contains Parity, Time Reversal and Charge Conjugation symmetry

13
  • 1
    Does \begin{itemize}[<+->] instead of \begin{itemize}give you the desired result?
    – leandriis
    Jul 21, 2020 at 11:23
  • 1
    I assume you want to show the following items as well but in a light gray text color. To do so, add \setbeamercovered{transparent} to the preamble.
    – leandriis
    Jul 21, 2020 at 12:14
  • 1
    If you want to reveal multiple items at a time, use the \pause command as in \begin{itemize} \item first item on first slide \item second item on first slide \pause \item item on second slide \end{itemize}. For more information on that, take a look at Chapter 9 Creating Overlays of the beamer manual.
    – leandriis
    Jul 21, 2020 at 12:16
  • 1
    Regarding: "place my name, institute and my university logo in better place": a better placement here is quite subjective. Could you please prepare a sketch that shows where exactly you would like to place which element on your title frame?
    – leandriis
    Jul 21, 2020 at 12:19
  • 1
    \pause should wokr here: \begin{frame}{Frame Title} There are many processes ... use the CPT Theorem \pause Continuous symmetry ... Charge Conjugation symmetry \end{frame}
    – leandriis
    Jul 21, 2020 at 12:25

1 Answer 1

1

Here is my suggestion on how to change the layout of the titlepage in order to a) remove the large white space above the title, b) increase font sizes of title, author and institute and c) improve the placement of the logo. I have added some comments in the code about the changes I made in comparison to the original definition of the title page template from the metropolis theme.

I also included two short examples on how to use the \pause command. In combination with \setbeamercovered{transparent} which I added to the preamble, upcoming contents are shown in a light gray color:

\documentclass[11pt,t]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\metroset{sectionpage=none}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}
\setbeamertemplate{bibliography item}{\insertbiblabel}
\defbeamertemplate{subsection in toc}{bullets}{%
    \leavevmode
    \parbox[t]{1em}{\textbullet\hfill}%
    \parbox[t]{\dimexpr\textwidth-1em\relax}{\inserttocsubsection}\par}
\defbeamertemplate{section in toc}{sections numbered numeric}{%
    \leavevmode%
    \MakeUppercase{\number\inserttocsectionnumber}.\ %
    \inserttocsection\par}

\setbeamertemplate{section in toc}[sections numbered numeric]
\setbeamertemplate{subsection in toc}[bullets]
\setbeamercovered{transparent} % <----- added


\makeatletter
\setbeamertemplate{title page}{
  \begin{minipage}[t][\paperheight]{\textwidth} % <---- changed from [b] to [t] alignment
%    \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi % <--- commented out and moved to the end
%    \vfill% % <---- commented out as not needed with top alignment
    \ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
    \ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
    \usebeamertemplate*{title separator}
    \ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
    \ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
    \ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
    \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi % <---- added the titlegraphic here
%    \vfill % <---- commented out as not needed with top alignment
    \vspace*{1mm}
  \end{minipage}
}
\makeatother

\setbeamerfont{title}{size=\LARGE}
\setbeamerfont{author}{size=\large}
\setbeamerfont{institute}{size=\large}


\author{Anshul Sharma}
\title{Symmetry in Quantum Mechanics}
\institute {CENTRAL UNIVERSITY OF HIMACHAL PRADESH}
\titlegraphic{\includegraphics[width=0.3\linewidth]{example-image}}
\begin{document}



\begin{frame}
    \maketitle
\end{frame}


\begin{frame}
    \frametitle{Overview}
    \tableofcontents
\end{frame}
    

\section{Symmetries in Classical Physics} 
\begin{frame}{\secname}
    \begin{itemize}
        \item first item on first slide
        \item second item on first slide
        \pause
        \item item on second slide
    \end{itemize}
\end{frame}
   
\begin{frame}{Frame Title}
    There are many processes ... use the CPT Theorem
    \pause
   
    Continuous symmetry ... Charge Conjugation symmetry
\end{frame}
\end{document} 

enter image description here

enter image description here

Here is a way to decrease teh space between title and green line without changing the absolute placement of the line and the elements below it:

\makeatletter
\setbeamertemplate{title page}{
  \begin{minipage}[t][\paperheight]{\textwidth} % <---- changed from [b] to [t] alignment
%    \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi % <--- commented out and moved to the end
%    \vfill% % <---- commented out as not needed with top alignment
\vspace{0.45cm} % <--- move the title down by 0.45cm
    \ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
    \ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
    \vspace{-0.45cm} % <---- remove 0.45 cm of white space between title and green line
    \usebeamertemplate*{title separator}
    \ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
    \ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
    \ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
%    \bigskip
    \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi % <---- added the titlegraphic here
%    \vfill % <---- commented out as not needed with top alignment
    \vspace*{1mm}
  \end{minipage}
}
\makeatother

enter image description here

20
  • 1
    The position of the logo changes in comparison to your original code since I used an entirely different method to insert it into the titlepage. Would you like to move it down again?
    – leandriis
    Jul 21, 2020 at 14:17
  • 1
    But istn't that exactly what you asked for in your question. I am a little bit confused now. "shifted up" in comparison to what? In comparison to your original code or in comparison to the image in posted in a previous comment? (tex.stackexchange.com/questions/554437/…)?
    – leandriis
    Jul 21, 2020 at 14:21
  • 1
    Lifted up in comparison to what?
    – leandriis
    Jul 21, 2020 at 14:59
  • 1
    As far as I understood, that was exactly what you wanted or am I mistaken? As far as I understood your original question, you wanted to reduce the space above the title, which basically means moving it upwards within the frame? Did I already misunderstood this?
    – leandriis
    Jul 21, 2020 at 15:06
  • 1
    Is this wat you want to achieve? i.stack.imgur.com/zVp8j.png Every element stays where it ist, just the title is placed a bit lower and closer to the green line.
    – leandriis
    Jul 21, 2020 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.