我想在我的文章类中放置这样的徽标,如下面的示例
这是我尝试过的
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx, tikz}
\begin{document}
%%% remove comment delimiter ('%') and select language if required
%\selectlanguage{spanish}
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north west,yshift=-53.5pt,xshift=43pt]%
at (current page.north west)
{\includegraphics[height=5mm]{futa_logo.png}};
\end{tikzpicture}
\noindent \textbf{THE FEDERAL UNIVERSITY OF LATEX, TEXT}
%\noindent \textbf{\includegraphics*[width=0.78in, height=0.63in, keepaspectratio=false]{image1}
% SCHOOL OF POSTGRADUATE STUDIES}
\noindent \textbf{}
\noindent \textbf{FORM: SPGS/ARTT-AE}
\noindent \textbf{}
\noindent \textbf{APPLICATION FOR REGISTRATION OF THESIS TITLE}
\noindent \textbf{AND APPOINTMENT OF EXAMINERS}
\noindent \textbf{}
\noindent \textbf{SECTION ``A''}
\noindent \textbf{}
\noindent \textbf{(TO BE COMPLETED BY THE CANDIDATE)}
\noindent \textbf{}
\noindent \textbf{}
\end{document}
答案1
最简单的方法是使用minipage 环境,这样就可以很简单的随文本一起控制图像的大小。
代码
\documentclass[10pt, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx, tikz}
\usepackage{float}
\begin{document}
%%% remove comment delimiter ('%') and select language if required
%\selectlanguage{spanish}
\begin{minipage}{0.25\textwidth}
\begin{figure}[H]
\centering
\includegraphics[width = 3cm]{futa_logo.png}
\end{figure}
\end{minipage}
\begin{minipage}{0.7\textwidth}
\begin{center}
\textbf{THE FEDERAL UNIVERSITY OF LATEX, TEXT}
\vspace{0.5cm}
\textbf{SCHOOL OF POSTGRADUATE STUDIES}
\vspace{0.5cm}
\textbf{FORM: SPGS/ARTT-AE}
\end{center}
\end{minipage}
\begin{center}
\textbf{}
\textbf{APPLICATION FOR REGISTRATION OF THESIS TITLE}
\textbf{AND APPOINTMENT OF EXAMINERS}
\textbf{}
\textbf{SECTION ``A''}
\textbf{}
\textbf{(TO BE COMPLETED BY THE CANDIDATE)}
\textbf{}
\textbf{}
\end{center}
\end{document}
输出:
请注意,此方法不是最好的,也不是最优化的,但它可以按照您想要的方式工作。如果您想要更复杂的方法,我可以为此提供另一个答案。