2つの図の間にテキストを配置する

2つの図の間にテキストを配置する

私は LaTex を始めたばかりで、カスタム タイトル ページを作成しようとしています。研究室のレポートでは、画像に似たものを添付するように求められています。2 つの図の間のテキストの位置合わせに問題があります。画像のように位置合わせするにはどうすればよいでしょうか。

タイトル ページを最初から作成しているので、次のような 2 つの .tex ドキュメントがあります。

ファイル test_title.tex

\documentclass[pdftex,12pt,letterpaper]{report}

\usepackage[pdftex]{graphicx}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}

\input{./title.tex}
\end{document}

ファイルタイトル.tex

\begin{titlepage}

\begin{flushleft}
\includegraphics[width=0.15\textwidth]{./UPRMlogo}
\end{flushleft}

\begin{flushright}
\includegraphics[width=0.15\textwidth]{./UPRMlogo}
\end{flushright}

\begin{center}
University of Puerto Rico \\
Mayaguez Campus\\
Mechanical Engineering Department\\
\end{center}

\end{titlepage}

例

答え1

これは 1 つの方法ですが、オプションは多数あります。不要なスペースによってオーバーフル警告%が発生しないように、文字の使用に注意してください。\hbox

\documentclass{article}
\usepackage{graphicx}

\begin{document}
\noindent% just to prevent indentation narrowing the line width for this line
\includegraphics[width=0.15\textwidth]{example-image-a}%
\begin{minipage}[b]{0.7\textwidth}
\centering
University of Puerto Rico \\
Mayaguez Campus\\
Mechanical Engineering Department
\end{minipage}%
\includegraphics[width=0.15\textwidth]{example-image-b}
\end{document}

ここに画像の説明を入力してください

関連情報