我想要获取报告第一页的底部,如下所示
您能帮我提供一下必要的代码吗?
我的尝试:
\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts,amsmath,amssymb,graphicx}
\usepackage[francais]{babel}
%-----accent
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
%-----
\usepackage{textcomp}
\usepackage{pifont}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{fancybox} %pour faire l'encadrement
\usepackage{palatino}
%---- Dimensions des marges ---
\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=2cm,bottom=3cm}
\usepackage{setspace}
\onehalfspacing
%--------------------------------
\thispagestyle{empty}
%----------------------------------------------
\begin{document}
%----------------------------------------------
\begin{figure}[h]
\begin{minipage}[h]{0.5\linewidth}
\begin{flushleft}
\textbf{\;\;\;\;Republic of...}\\
\textbf{Ministry of Higher Education, Scientific Research
and Information and Communication Technologies}\\
\textbf{\;\;\;\;\;\;\;... University}\\
\textbf{National Engineering School of ... }
\end{flushleft}
\end{minipage}
\begin{minipage}[h]{.5\linewidth}
\vskip 0.1 cm \hskip 4 cm
\includegraphics[width=4cm]{picture}
\end{minipage}
\end{figure}
%----------------------------------------------
%----------------------------------------------
\end{document}
答案1
强调:
使用
[b]
图形上的选项;\mbox{}
在空白页上添加一个,这样浮动就不会变成浮动[p]
。使用
\Longstack
s 作为文本使用
\rlap
最左边的堆栈和\llap
最右边的堆栈,以便图形保持居中。用于
\hfill
平衡图像左右两侧的间隙。使用
figure*
时不要浪费数字。使用全宽堆叠
\rule
s 来获取底部的彩色条。\scriptsize
使一切都合适。\bfseries
一次,而不是很多次\textbf
。
妇女权利委员会:
\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts,amsmath,amssymb,graphicx}
\usepackage[francais]{babel}
%-----accent
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
%-----
\usepackage{textcomp}
\usepackage{pifont}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{fancybox} %pour faire l'encadrement
\usepackage{palatino}
%---- Dimensions des marges ---
\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=2cm,bottom=3cm}
\usepackage{setspace}
\onehalfspacing
%--------------------------------
\thispagestyle{empty}
%----------------------------------------------
\usepackage[usestackEOL]{stackengine}
\begin{document}
%----------------------------------------------
\mbox{}\begin{figure*}[b]
\scriptsize\bfseries
\leavevmode\rlap{
\Longstack{
Republic of...\\
Ministry of Higher Education, Scientific Research\\
and Information and Communication\\
Technologies\\
\\
... University\\
National Engineering School of ... }}\hfill%
\includegraphics[width=3.2cm]{example-image}\hfill%
\llap{\Longstack{
Computer Engineering \& Applied Mathematics\\
Department\\
\\
\\
ST-EN07/00\\
\textsc{Graduation Project}\\
Serial N: 2015 / DIMA-033
}}
\stackunder[1pt]{\color{red}\rule{\linewidth}{2pt}}
{\color{blue}\rule{\linewidth}{2pt}}
\end{figure*}
%----------------------------------------------
%----------------------------------------------
\end{document}