如何将徽标放在首页上我所在学院的名称下方,并在任何地方显示以获取知识。此外,在每张幻灯片中我都可以使用我的大学名称 CUHP 吗(希望我对此清楚)
\documentclass[11pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\author{Anshul Sharma}
\title{Symmetry in Quantum Mechanics}
\institute {CENTRAL UNIVERSITY OF HIMACHAL PRADESH}
\titlegraphic{\includegraphics[width=0.2\linewidth]{"../../../../../MSc. Days/4th Sem/PROJECT/MY NEW TASK/All latex written part/ALL SUBPARTS INSIDE/classical part/CUHP LOGO"}
}
\begin{document}
\begin{frame}[plain]
\maketitle
\end{frame}
\begin{frame}[t]
\frametitle{Contents}
\begin{itemize}\huge
\item Aim
\item Objectives
\item Apparatus
\item Theory
\item Experimental Setup
\item Observations
\item Results
\end{itemize}
\end{frame}
\end{document}
答案1
您可以按照如下方式编辑第一帧代码——这将在您的大学标题右侧显示一个图片图形——您可以通过尝试(x,y)
值来移动位置(5,0.6)
——您可以使用自己的图形代替
\begin{frame}[plain]
\begin{tikzpicture}[remember picture, overlay]
\node[anchor=north east] at ($(current page.center)+(5,0.6)$){\includegraphics[width=0.1\linewidth, scale=0.1]{example-image}};
\end{tikzpicture}
\maketitle
\end{frame}
答案2
我从您的 MWE 中看到它\maketitle
填充了整个框架,因此我创建了宏,\university
只是为了将 格式化\institute
为一行文本。如果没有重叠, 就会\titlegraphic
开始陷入\title
(糟糕的\maketitle
设计)。
\documentclass[11pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\setbeamercolor{progress bar}{fg=green,bg=blue}
\makeatletter
\setlength{\metropolis@progressinheadfoot@linewidth}{3pt}
\makeatother
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\newcommand{\university}{CENTRAL UNIVERSITY OF HIMACHAL PRADESH \hfil
\raisebox{\dimexpr 0.5\ht\strutbox-0.5\dp\strutbox-0.5\height}[0pt][0pt]% align centers and overlap
{\includegraphics[width=0.2\linewidth]{example-image-a}}}
\author{Anshul Sharma}
\title{Symmetry in Quantum Mechanics}
\institute {\university}
\titlegraphic{\includegraphics[width=0.2\linewidth]{example-image}}
\begin{document}
\begin{frame}[plain]
\maketitle
\end{frame}
\begin{frame}[t]
\frametitle{Contents}
\begin{itemize}\huge
\item Aim
\item Objectives
\item Apparatus
\item Theory
\item Experimental Setup
\item Observations
\item Results
\end{itemize}
\end{frame}
\end{document}