我需要将徽标放在左侧对齐,将徽标放在右侧,还需要在两个徽标之间添加文字吗?
我已经查看了有关并排图形、子图形和小页面的问题,但我无法理解
我该怎么做?
答案1
以下是 MWE:
\documentclass[letterpaper]{article}
\usepackage{graphicx}
\usepackage{array}
\usepackage{calc}
\usepackage{mwe}
\begin{document}
\begin{center}
\setlength{\tabcolsep}{0pt}
\begin{tabular}{>{\raggedleft}m{2.5cm}>{\centering}m{\dimexpr\textwidth - 5cm\relax}>{\raggedright}m{2.5cm}}
\includegraphics[width=\linewidth]{example-image}%
&%
\textbf{\large INSTITUTO POLITECNICO NACIONAL} \\[5pt]%
\textbf{\large ESCUELA SUPERIOR DE COMPUTO}%
&%
\includegraphics[width=\linewidth]{example-image} %
\end{tabular}
\end{center}
\end{document}
答案2
您可以使用minipage
:
\documentclass{article}
\usepackage{graphicx}
\usepackage{showframe} %% just for demo
\begin{document}
\noindent
\begin{minipage}[b]{0.2\textwidth} %% b or t, default is c
\includegraphics[width=\linewidth]{example-image-a}
\end{minipage}%
\begin{minipage}[b][2cm]{0.6\textwidth}
\centering\bfseries\large
Some text comes here \vfill
Some thing here \vfill
Some text
\end{minipage}%
\begin{minipage}[b]{0.2\textwidth}
\includegraphics[width=\linewidth]{example-image-b}
\end{minipage}
\end{document}