我正在尝试使用 创建 A0 海报的标题minipages
。目前,我的文档如下所示:
\documentclass[a0,portrait]{a0poster}
\renewcommand{\huge}{\fontsize{51.6}{64}\selectfont}
\newcommand{\veryHuge}{\fontsize{74.3}{93}\selectfont}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage[svgnames]{xcolor}
\usepackage{palatino}
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{wrapfig}
\begin{document}
\begin{minipage}[b]{0.75\linewidth}
\veryHuge \color{NavyBlue} \textbf{Very long and overly complicated\\ scientific title}
\\
\huge \color{Black} \textbf{John Doe$^1$ \& John Smith$^2$}\\[0.5cm]
\huge $^1$University 1\\[0.4cm]
\huge $^2$University 2\\[0.4cm]
\end{minipage}%
~
\begin{minipage}[b]{0.25\linewidth}
\includegraphics[width=\linewidth]{logo.png}
\end{minipage}
\end{document}
在 pdf 中,结果如下。
我希望徽标图像垂直对齐,以便位于 的中心minipage
。我该怎么做?
答案1
\\[0.4cm]
删除第一个中的最后一个,并从s 中minipage
删除选项,它们会根据需要自然垂直居中。[b]
minipage
\documentclass[a0,portrait]{a0poster}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage[svgnames]{xcolor}
\usepackage{palatino}
\usepackage[demo]{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{wrapfig}
\begin{document}
\begin{minipage}{0.75\linewidth}
\veryHuge \color{NavyBlue} \textbf{Very long and overly complicated\\ scientific title} \\
\huge \color{Black} \textbf{John Doe$^1$ \& John Smith$^2$}\\[0.5cm]
\huge $^1$University 1\\[0.4cm]
\huge $^2$University 2
\end{minipage}%
~
\begin{minipage}{0.2\linewidth}
\includegraphics[width=\linewidth]{example-image-a}
\end{minipage}
\end{document}