我正在使用 Beamer 海報格式。為了證明文本合理,我使用\usepackage{ragged2e}
和\justifying
。
Beamer 海報格式\institute {}
在\title
和之後有一個部分\author
。我正在使用這個特定的部分來儲存摘要,現在我打算證明相同的文字。但\justifying
命令無法正常工作\institute {\justifying .... text ....}
。
該\justifying
命令適用於\begin{document}
部分內的文字。
有什麼意見嗎?
答案1
由於您沒有提供最小的工作範例,因此我使用了在 Overleaf 上找到的範例。如果我的回答不能解決您的問題,請提供。
對於對齊,您可以\parbox
在\institute
.我使用了寬度.5\linewidth
,但當然,您可以選擇任何您喜歡的寬度。也只需\linewidth
讓研究所名稱覆蓋所有線寬。
\documentclass{beamer}
\usepackage{beamerposter}
\usetheme{confposter}
\title{Why don't people add a MWE?}
\author{Paulinho van Duck}
\institute{\parbox{.5\linewidth}{Duck fan club. Duck fan club was founded by Paulo Roberto Massa Cereda many years ago, and now it spreads all over the world. I have to add some more text to have an institute name with many lines, but I don't know what to write, so I'm writing some nonsense.}}
\begin{document}
\begin{frame}[t]
\justifying A minimal working example is always necessary!
A minimal working example is always necessary!
A minimal working example is always necessary!
A minimal working example is always necessary!
A minimal working example is always necessary!
A minimal working example is always necessary!
A minimal working example is always necessary!
\end{frame}
\end{document}