我正在尝试减少 Latex 文档顶部的边距,但无法做到。这是我的 Latex 文档的代码 -
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux ([email protected]).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
\documentclass[10pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% modern themes
\moderncvstyle{banking} % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{blue} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
% character encoding
\usepackage[utf8]{inputenc}
% if you are not using xelatex ou lualatex, replace by the encoding you are using
%\usepackage{CJKutf8} % if you need to use CJK to typeset your resume in Chinese, Japanese or Korean
% adjust the page margins
\usepackage[scale=0.94]{geometry}
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
%\setlength{\makecvtitlenamewidth}{10cm} % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
\usepackage{import}
\usepackage{hyperref}
% personal data
\name{xxxxx}{}
\phone[mobile]{(+1) xxxxx
\email{xxxxx}
\social[linkedin]{xxxxx}
\social[github]{xxxxx}
% optional, remove / comment the line if not wanted
% optional, remove / comment the line if not wanted
%\photo[64pt][0.4pt]{picture} % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file
%\quote{Some quote} % optional, remove / comment the line if not wanted
% to show numerical labels in the bibliography (default is to show no labels); only useful if you make citations in your resume
%\makeatletter
%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
%\makeatother
%\renewcommand*{\bibliographyitemlabel}{[\arabic{enumiv}]}% CONSIDER REPLACING THE ABOVE BY THIS
% bibliography with mutiple entries
%\usepackage{multibib}
%\newcites{book,misc}{{Books},{Others}}
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
%\begin{CJK*}{UTF8}{gbsn} % to typeset your resume in Chinese using CJK
%----- resume ---------------------------------------------------------
\makecvtitle
\section{Education}
\vspace{1pt}
\begin{itemize}
\item{\cventry{2022 - 2024}{Masters in Computer Engineering}{xxxx}{Blacksburg, Virginia, United States of America}{\textit{}}{}}
\textbf{Courses Taken:} Computer Architecture, Computer Vision, Network Security, Advanced Real Time Systems, Cyber-Physical Systems
\item{\cventry{2013 - 2017}{Bachelor of Engineering in xxxxx}{xxxx Institute of Technology}{xxxx}{\textit{}}{}}
\textbf{Related Coursework:} Embedded System Design, Programming in C and Data Structures, Microcontrollers, Microprocessors, Operating Systems
\vspace{1pt}
\end{itemize}
\end{document}
%% end of file `template.tex'.
我尝试修复这个问题一段时间了,也看到过其他与此相关的问题,但这些都帮不上什么忙。所以任何帮助我都会非常感激。谢谢。