编辑:我使用以下代码让它看起来像我想要的那样,但我不认为这是正确的方法。
\begin{figure}
\begin{minipage}{0.5\textwidth}
\flushleft
\includegraphics[height=1.4cm]{Logo_file1}
\newline
\newline
Official company of a thing,\\
In a place somewhere\\
Bla bla bla Lorem Ipsum!
\end{minipage}
%\hfill
\begin{minipage}{0.5\textwidth}
\flushright
\includegraphics[height=4.0cm]{Logo_file2}
\end{minipage}
\end{figure}
因此我得到了以下代码:
\begin{figure}
\includegraphics[height=1.4cm]{Logo_file1}
\hfill
\includegraphics[height=4.0cm]{Logo_file2}
\end{figure}
Official company of a thing,\\
In a place somewhere\\
Bla bla bla Lorem Ipsum!
答案1
该adjustbox
包定义了一个valign
键:
\documentclass[demo]{article}
\usepackage[svgnames]{xcolor}
\usepackage[demo]{graphicx}
\usepackage[export]{adjustbox}
\begin{document}
\begin{figure}
\color{Tomato} \includegraphics[height=1.4cm, valign=t]{Logo_file1}
\hfill
\includegraphics[height=4.0cm, valign=t]{Logo_file2}
\end{figure}
\noindent
Official company of a thing,\\
In a place somewhere\\
Bla bla bla Lorem Ipsum!
\end{document}