换行图形改变右侧间距

换行图形改变右侧间距

我正在使用 moderncv,我想在最后一页的末尾添加一条注释。我使用添加了它,\vspace但不知何故这句话的右间距很大,正如您从此处的图片中看到的那样。

我的文档中也有一个徽标,经过几次尝试,我意识到正是这个环绕图导致了这个问题。删除图片后,页面底部的注释间距正常。这很奇怪,因为只有那句话受到影响,而不是文本测试。

我该如何解决这个问题?这里有输出示例和 MWE

输出示例: 输出示例

梅威瑟:

\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}

\usepackage{wrapfig}
\usepackage{lipsum} 
\usepackage{graphicx}

\usepackage[scale=0.75]{geometry} % Reduce document margins
%\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column
%\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name

%----------------------------------------------------------------------------------------
%   NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------

\firstname{John} % Your first name
\familyname{Smith} % Your last name

% All information in this block is optional, comment out any lines you don't need
\title{Curriculum Vitae}
\address{123 Broadway}{City, State 12345}
\mobile{(000) 111 1111}
\fax{(000) 111 1113}
\email{[email protected]}
\extrainfo{additional information}
\quote{"A witty and playful quotation" - John Smith}

%----------------------------------------------------------------------------------------
\begin{document}
\makecvtitle % Print the CV title


%% LOGO  ---------------------------------------------------------
\begin{wrapfigure}{R}{0.20\textwidth}
    \vspace{-70pt}
    \begin{center}
    \textit{This is my special logo}
        \includegraphics[width=0.20\textwidth]{pictures/logo}
    \textit{my logo}
    \end{center}
\end{wrapfigure}
%% ------------------------------------------------------------------

\section{Contact Information}

\cvitem{Mobile 1}{012 345 6789}
\cvitem{Mobile 1}{012 345 6789}
\cvitem{E-mail}{[email protected]}

\section{Education}

\cventry{2011--2012}{Masters of Commerce}{The University of California}{Berkeley}{\textit{GPA -- 8.0}}{First Class Honours}  % Arguments not required can be left empty
\cventry{2007--2010}{Bachelor of Business Studies}{The University of California}{Berkeley}{\textit{GPA -- 7.5}}{Specialized in Commerce}

\section{Masters Thesis}

\cvitem{Title}{\emph{Money Is The Root Of All Evil -- Or Is It?}}
\cvitem{Supervisors}{Professor James Smith \& Associate Professor Jane Smith}
\cvitem{Description}{This thesis explored the idea that money has been the cause of untold anguish and suffering in the world. I found that it has, in fact, not.}

\section{Custom}
\cvitem{AA}{Lorem ipsum dolor sit amet, consectetur adipiscing elit eleifend feugiat mauris}
\cvitem{BB}{Lorem ipsum dolor sit amet, consectetur adipiscing elit eleifend feugiat mauris}


%----------------------------------------------------------------------------------------
%   CLOSING SENTENCE
%----------------------------------------------------------------------------------------
\vspace{\stretch{1}}\textit{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras fringilla ligula sit amet est dignissim commodo. Integer eleifend feugiat mauris et congue. Aenean eget sem leo.}
\begin{flushright}
\textit{Last update: Feb 2016} 
\end{flushright}

\end{document}

答案1

\centering通过使用 代替begin{center}end{center}\vspace{-82pt}在 之前添加 来解决\end{wrapfigure}

如果您有更好的解决方案,请发布。

相关内容