我使用几何图形扩展了页边距,但当我为标题创建小页面时,右对齐的小页面与原始页边距对齐。我该如何使它与新页边距对齐?
\documentclass[titlepage,a4paper,twoside,10pt]{report}
%% Language %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[UKenglish]{babel}
%\usepackage[T1]{fontenc}
%\usepackage[ansinew]{inputenc}
\usepackage{lmodern} %Type1-font for non-english texts and characters
%Packages
\usepackage{graphicx} %%For loading graphic files
\usepackage{subfig}
\usepackage[showframe,right=2cm, left=2cm, bottom=3cm]{geometry}
\begin{document}
\begin{titlepage}
\begin{figure}[t]
\flushright
\includegraphics[width=4.6cm]{D:/Documents/Pictures/logo.jpg}
\end{figure}
\begin{center}
\resizebox{!}{.9cm} {General Rig Description}
\vspace{.5cm}
\Huge Superduper Land Rigs:\\
Rig 291
\begin{figure}[h]
\centering
\includegraphics[width=7cm]{D:/Documents/Pictures/rig.JPG}
\end{figure}
\textsc{Written By}\\
\huge
{Name Name}
\end{center}
\vspace {.5cm}
\begin{minipage}[t]{7cm}
\flushleft
\Large
\textsc{Important title}\\
Name Name
\end{minipage}
\begin{minipage}[t]{7cm}
\flushright
\Large
\textsc{Important title}\\
Name Name
\end{minipage}
\end{titlepage}
\end{document}
答案1
\hfill
在小页面之间使用:
\documentclass[titlepage,a4paper,twoside,10pt]{report}
\usepackage[UKenglish]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern} %Type1-font for non-english texts and characters
\usepackage[demo]{graphicx} %%For loading graphic files
\usepackage[showframe,right=2cm, left=2cm, bottom=3cm]{geometry}
\begin{document}
\begin{titlepage}
\flushright
\includegraphics[width=4.6cm]{D:/Documents/Pictures/logo.jpg}
\begin{center}
\resizebox{!}{.9cm} {General Rig Description}
\vspace{.5cm}
\Huge Superduper Land Rigs:\\
Rig 291
\includegraphics[width=7cm]{D:/Documents/Pictures/rig.JPG}
\textsc{Written By}\\
\huge
{Name Name}
\end{center}
\vspace {.5cm}
\begin{minipage}[t]{7cm}
\flushleft
\Large
\textsc{Important title}\\
Name Name
\end{minipage}
\hfill
\begin{minipage}[t]{7cm}
\flushright
\Large
\textsc{Important title}\\
Name Name
\end{minipage}
\end{titlepage}
\end{document}
没有必要figure
在标题页上使用环境。