TeX - LaTeX Asked on August 23, 2021
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}{textbullethfill}%
parbox[t]{dimexprtextwidth-1emrelax}{inserttocsubsection}par}
defbeamertemplate{section in toc}{sections numbered numeric}{%
leavevmode%
MakeUppercase{numberinserttocsectionnumber}. %
inserttocsectionpar}
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.3linewidth, 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}{textbullethfill}%
parbox[t]{dimexprtextwidth-1emrelax}{inserttocsubsection}par}
defbeamertemplate{section in toc}{sections numbered numeric}{%
leavevmode%
MakeUppercase{numberinserttocsectionnumber}. %
inserttocsectionpar}
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.3linewidth, 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
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}{textbullethfill}%
parbox[t]{dimexprtextwidth-1emrelax}{inserttocsubsection}par}
defbeamertemplate{section in toc}{sections numbered numeric}{%
leavevmode%
MakeUppercase{numberinserttocsectionnumber}. %
inserttocsectionpar}
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
% ifxinserttitlegraphic@emptyelseusebeamertemplate*{title graphic}fi % <--- commented out and moved to the end
% vfill% % <---- commented out as not needed with top alignment
ifxinserttitle@emptyelseusebeamertemplate*{title}fi
ifxinsertsubtitle@emptyelseusebeamertemplate*{subtitle}fi
usebeamertemplate*{title separator}
ifxbeamer@shortauthor@emptyelseusebeamertemplate*{author}fi
ifxinsertdate@emptyelseusebeamertemplate*{date}fi
ifxinsertinstitute@emptyelseusebeamertemplate*{institute}fi
ifxinserttitlegraphic@emptyelseusebeamertemplate*{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.3linewidth]{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}
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
% ifxinserttitlegraphic@emptyelseusebeamertemplate*{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
ifxinserttitle@emptyelseusebeamertemplate*{title}fi
ifxinsertsubtitle@emptyelseusebeamertemplate*{subtitle}fi
vspace{-0.45cm} % <---- remove 0.45 cm of white space between title and green line
usebeamertemplate*{title separator}
ifxbeamer@shortauthor@emptyelseusebeamertemplate*{author}fi
ifxinsertdate@emptyelseusebeamertemplate*{date}fi
ifxinsertinstitute@emptyelseusebeamertemplate*{institute}fi
% bigskip
ifxinserttitlegraphic@emptyelseusebeamertemplate*{title graphic}fi % <---- added the titlegraphic here
% vfill % <---- commented out as not needed with top alignment
vspace*{1mm}
end{minipage}
}
makeatother
Correct answer by leandriis on August 23, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP