如何实现简历中标题左对齐、联系信息较小的效果?

如何实现简历中标题左对齐、联系信息较小的效果?

我开始学习 tex,想要得到一个像这样的标题我正在创建的简历。现在我尝试了以下方法

\titile{My Name}
\maketitle

但是它会在中心创建标题并添加今天的日期,这是不需要的。

有人可以向我展示或指向一个链接,该链接显示如何获得链接中显示的标题和联系信息吗?

答案1

模板可从分享LaTeX

%
% LaTeX source of my resume
% =========================
%
% Heavily commented to to fit even LaTeX beginners (hopefully).
%
% See the `README.md` file for more info.
%
% This file is licensed under the CC-NC-ND Creative Commons license.
%


% Start a document with the here given default font size and paper size.
\documentclass[10pt,a4paper]{article}

% Set the page margins.
\usepackage[a4paper,margin=0.75in]{geometry}

% Setup the language.
\usepackage[english]{babel}
\hyphenation{Some-long-word}

% Makes resume-specific commands available.
\usepackage{resume}




\begin{document}  % begin the content of the document
\sloppy  % this to relax whitespacing in favour of straight margins


% title on top of the document
\maintitle{Cies Breijs}{June 12, 1982}{Last update on \today}

\nobreakvspace{0.3em}  % add some page break averse vertical spacing

% \noindent prevents paragraph's first lines from indenting
% \mbox is used to obfuscate the email address
% \sbull is a spaced bullet
% \href well..
% \\ breaks the line into a new paragraph
\noindent\href{mailto:cies.at.kde.dot.nl}{cies\mbox{}@\mbox{}kde.nl}\sbull
\textsmaller{+}31.646469087\sbull
{\newnums cies010} \emph{(Skype)}\sbull
\href{http://www.linkedin.com/in/ciesbreijs}{www.linkedin.com/in/ciesbreijs}
\\
Mathenesserplein 84\sbull
3022\thinspace {\large \sc ld}\sbull
Rotterdam\sbull
The Netherlands

\spacedhrule{0.9em}{-0.4em}  % a horizontal line with some vertical spacing before and after

\roottitle{Summary}  % a root section title

\vspace{-1.3em}  % some vertical spacing
\begin{multicols}{2}  % open a multicolumn environment
\noindent \emph{Creative geek with roots in the open source movement, an entrepreneurial mindset and a passion for delivering value by developing maintainable software.}
\\
\\
At the age of seven (1989) Cies wrote his first lines of code in a \acr{LOGO}-like language on an \acr{MSX} (pre-\acr{PC}).  Two years later he attended a conference on an emerging new technology, the Internet, at the Erasmus University from which he would graduate 16 years later.

After being introduced to the open source movement in 1997, he taught himself a variety of skills including system administration and programming (Bash, Python, Ruby \& \CPP).  By 2002 he got his pet project \acr{KT}urtle ---a zero-entry-barrier programming environment--- included into \acr{KDE}'s \emph{edu} module, and thereby almost every Linux distribution.

From 2003 to 2007 he studied at the Erasmus University Rotterdam and graduated in \emph{Business and Computer Science} (one curriculum).  After graduation he travelled Europe and Asia during a two year sabbatical, on which he ``hustled'' several IT gigs (see experiences below) to extend the journey.
\end{multicols}


\spacedhrule{0em}{-0.4em}

\roottitle{Experience}

\headedsection  % sets the header for the section and includes any subsections
  {\href{http://www.hoppinger.com}{Hoppinger}}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {Head of Technology}
    {Apr \apo12 -- present}
    {\bodytext{Hoppinger is an open source minded ``full-service'' internet agency.  Reporting directly to the general director, Marijn Bom. In charge of drawing and carrying out the vision for the tech department consisting of 15 developers.  Streamlined datacenter operations with Puppet, introduced Rails for custom web-app development and Capistrano for deployment automation.  Intimately involved with the software architecture of all technically challenging projects.}}
}

\headedsection  % sets the header for a subsection and contains usually body text
  {\href{http://www.hro.nl}{HRO} (Rotterdam University of Applied Science)}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {Guest Lecturer}
    {Sep \apo12 -- present}
    {\bodytext{Introductory lecture on history of software development and open source for 1\textsuperscript{st} year CS students.}}
}

\headedsection
  {\href{http://www.intellecap.com}{Intellecap}/\href{http://istpl.in}{\acr{ISTPL}}}
  {\textsc{Mumbai, Pune \& Hyderabad, India}} {%

  \headedsubsection
    {\acr{IT} Consultant}
    {Nov \apo08 -- Feb \apo09}
    {\bodytext{Intellecap is a social-sector advisory firm serving corporates, non-profits, development agencies and governments working in developing markets. Assessed their software development team and methodologies, trained their developers and build several web applications.  One of those apps is \href{http://www.mostfit.org}{Mostfit}, an open source \acr{MIS} for \href{http://en.wikipedia.org/wiki/Microcredit}{microcredit} lenders.}}

  \headedsubsection
    {\acr{IT} \& Strategy Consultant}
    {Jan \apo10 -- Aug \apo11}
    {\bodytext{Called in to solve several technical challenges and look at potential growth strategies for \href{http://www.mostfit.org}{Mostfit}.}}

  \headedsubsection
    {CTO}
    {Oct \apo11 -- Feb \apo12}
    {\bodytext{Proudly joined the \acr{C}-family of Intellicap's software division, ISTPL, to make \href{http://www.mostfit.org}{Mostfit} the nr.1 software solution for micro credit lenders around the globe.  Contracts got terminated half a year later due to investment issues.}}
}

\headedsection
  {\href{http://www.zarafa.com}{Zarafa}}
  {\textsc{Delft, The Netherlands}} {%
  \headedsubsection
    {\acr{QA} \& Release Manager}
    {Dec \apo09 -- Jan \apo11}
    {\bodytext{Zarafa might be the fastest growing open source product company in Europe, making a drop-in replacement for MS Exchange.  Reported directly to the \acr{CEO}, Brian Josef, and worked closely with the \acr{CTO}, Steve Hardy.  In charge of the 6 men strong QA department.  Established test automation and continuous integration.  Architected and implemented an all-integrated documentation and translation system that employed community effort.  Got sent to India to analyse and streamline their outsourced operations.}}
}

\headedsection
  {\href{http://www.dharmapublishing.com}{Dharma Publishing}}
  {\textsc{near San Francisco (\acr{CA}), \acr{USA}}} {%
  \headedsubsection
    {\acr{IT} Consultant}
    {Nov \apo09 -- Dec \apo09}
    {\bodytext{Dharma Publishing, the worlds largest Buddhist publisher, is a non-profit, all-volunteer organisation that helps to preserve Tibetan Buddhism and culture. Built their \href{http://www.dharmapublishing.com}{web shop}, and moved their digital content sales to SaaS applications.}}
}

\headedsection
  {\href{http://www.kde.org}{KDE}}
  {\href{http://edu.kde.org/kturtle}{edu.kde.org/kturtle}} {%
  \headedsubsection
    {Software Engineer}
    {Dec \apo03 -- present}
    {\bodytext{\acr{KT}urtle is an educational programming environment that simplifies learning the basics of programming.  \acr{KT}urtle is intended as a gift to future generations:\ a simple environment to get started with programming.  In 2003 \acr{KT}urtle got admitted to the \acr{KDE} project.}}
}

\headedsection
  {\href{http://truetopiaproject.org}{Truetopia Project}}
  {\href{http://truetopiaproject.org}{truetopiaproject.org}} {%
  \headedsubsection
    {Initiator}
    {Nov \apo07 -- Apr \apo10}
    {\bodytext{The Truetopia Project is an open source web application (Rails) to facilitate self-governing communities.  It provides a workflow for collaborative problem identification and solution design.}}
}

\headedsection
  {\href{http://www.dpu.ac.th/dpuic}{Dhurakij Pundit University International College}}
  {\textsc{Bangkok, Thailand}} {%
  \headedsubsection
    {Guest Lecturer}
    {Sep \apo09}
    {\bodytext{Invited by Dr.\@ Pilun Piyasirivej and Mr.\@ Michel Bauwens for two guest lectures:\ the open source movement and the semantic web.}}
}

\headedsection
  {\href{http://www.opendream.th}{Opendream}}
  {\textsc{Bangkok, Thailand}} {%
  \headedsubsection
    {\acr{IT} Consultant}
    {Aug \apo09 -- Sep \apo09}
    {\bodytext{Architected and largely implemented an open source media sharing web service (\acr{REST} api) that facilitates video uploads, transcoding and streaming.  Coached their development team on system design, Ruby development (using Merb/Rails) and testing strategies such as \acr{TDD}/\acr{BDD}.}}
}

\headedsection
  {\href{http://www.commuun.nl}{Commuun}}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {Senior Visionary}
    {Jul \apo06 -- Sep \apo09}
    {\bodytext{Set up the technical infrastructure, defined the core competences and created a brand together with Peter Duijnstee (the proprietor of Commuun).  Then collaborated on several web applications (all Rails apps) within the context of his company.}}
}

\headedsection
  {\href{http://www.eur.nl}{Erasmus University Rotterdam}}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {Guest Lecturer}
    {Jul \apo06 -- Jul \apo09}
    {\bodytext{Conducted a guest lecture on the phenomenon of open source, as part of the first year curriculum of \emph{Computer Science \& Economics}.}}
}

%\headedsection
%  {LIP Automatisering}
%  {\textsc{Breda, The Netherlands}} {%
%  \headedsubsection
%    {Software Auditor}
%    {Sep \apo06}
%    {\bodytext{Audited their flag ship product \emph{\acr{LIP} Suite}:\ an %\acr{ERP} solution for construction companies.}}
%}

\headedsection
  {\href{http://www.thehealthagency.com}{The Health Agency}}
  {\textsc{Delft \& Rotterdam, The Netherlands}} {%

  \headedsubsection
    {Software Engineer}
    {Jun \apo05 -- Feb \apo06}
    {\bodytext{Worked on their CMS (written in Python and uses Postgre\acr{SQL}, \acr{XML}/\acr{XSLT} and Twisted).}}

  \headedsubsection
    {Software Auditor}
    {Dec \apo06}
    {\bodytext{Assessed their Python/Zope/\acr{Z}o\acr{DB}-based web framework re-engineering project.}}
}

\vspace{-0.2em}
\begin{center}
  \emph{\small Please refer to my \href{http://www.linkedin.com/in/ciesbreijs}{Linked-in profile} for a more complete list of work experiences along with recommendations.}
\end{center}


\spacedhrule{-0.2em}{-0.4em}

\roottitle{Education}

\headedsection
  {\href{http://www.eur.nl/english}{Erasmus University Rotterdam}}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {Bachelor degree in Computer Science \& Economics}
    {2004 -- 2007}
    {\bodytext{Focused on the economics of open source, rapid application development (\acr{RAD}) and the semantic web technology stack (\acr{RDF}/\acr{RDFS}, \acr{OWL} and \acr{SPARQL}).  Picked up quite some Java skills along the way.}}
}

\headedsection
  {\href{http://www.tudelft.nl/en}{Technical University Delft}}
  {\textsc{Delft, The Netherlands}} {%
  \headedsubsection
    {Industrial Design Engineering \textnormal{\textit{~(discontinued)}}}
    {2001 -- 2002} {}
}

\headedsection
  {\href{http://www.libanonlyceum.nl}{Libanon Lyceum}}
  {\textsc{Rotterdam, The Netherlands}} {%
  \headedsubsection
    {\acr{VWO} \textnormal{~(pre-university secondary education)}}
    {1994 -- 2000} {}
}


\spacedhrule{0.5em}{-0.4em}

\roottitle{Skills}

\inlineheadsection  % special section that has an inline header with a 'hanging' paragraph
  {Technical expertise:}
  {Software design and implementation, with(in) a team.  Big fan of Agile methodologies (Scrum and Kanban), automated deployment (Capistrano) and continuous integration (Hudson/Jenkins).  Enjoys writing Ruby/\nsp Python/\nsp Java/\nsp \CPP, yet flirts regularly with Haskell.  Solid knowledge of web technologies:\ \acr{HTML+CSS}, \acr{XML}, \acr{RDF}, \acr{REST}, \acr{SOAP} and JavaScript (mostly Angular and jQuery).  Linux administration skills:\ Bash, Apache, My\acr{SQL}, Postgres\acr{SQL}, virtualization/cloud (Vagrant, Open\acr{VZ}, \acr{VM}ware, \acr{KVM}, Xen and \acr{EC}2), datacenter automation (Puppet and Chef).}

\vspace{0.5em}
\inlineheadsection
  {Natural languages:}
  {Dutch \emph{(mother tongue)}, English \emph{(full professional proficiency)}, German \emph{(limited working proficiency)}, French \emph{(elementary proficiency)} and Mandarin Chinese \emph{(beginner)}.}


\spacedhrule{1.6em}{-0.4em}

\roottitle{Interests}

\inlineheadsection
  {Non-exhaustive and in alphabetical order:}
  {art, Buddhism, cryptography, Go (board game), history, music, open source, philosophy, software engineering (methodologies), travel, typography (e.g.\ graphic design, \LaTeX), \acr{UI}/\acr{UX}-design and vegetarian/vegan cooking.}


\end{document}

它需要以下内容resume.sty

% resume.sty

% Copyright (c) 2012 Cies Breijs
%
% The MIT License
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the "Software"), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
%
% The above copyright notice and this permission notice shall be included in
% all copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.

%
% This style contains some commands for making a LaTeX resume
%
% Please refer to the README.md file for more info.
%
% This project is currently hosted at: https://github.com/cies/resume
%




%%% LOAD AND SETUP PACKAGES



% To finetune lists with a inline heading and indented content.
% See the Experiences section in the example.
\usepackage{mdwlist}

% For multiple column text.
\usepackage{multicol}

% For \textscale, which I prefer over \sc (small caps).
% See the \acr command definition below.
\usepackage{relsize}

% Setup the hyperrefs witht he right color.
\usepackage{hyperref}  
\usepackage{xcolor}
\definecolor{dark-blue}{rgb}{0.15,0.15,0.4}
\hypersetup{colorlinks,linkcolor={dark-blue},citecolor={dark-blue},urlcolor={dark-blue}}

% XeTeX specific stuff with fall-back.
\usepackage{ifxetex}
\ifxetex

  \usepackage{fontspec}

  % the main font, with all features on
  \setmainfont
    [ ExternalLocation ,
      Mapping          = tex-text ,
      Numbers          = OldStyle ,
      Ligatures        = {Common,Contextual} ,
      BoldFont         = texgyrepagella-bold.otf ,
      ItalicFont       = texgyrepagella-italic.otf ,
      BoldItalicFont   = texgyrepagella-bolditalic.otf ]
    {texgyrepagella-regular.otf}

  % same like the main font, but without old-style nums
  \newfontfamily\newnums
    [ ExternalLocation ,
      Mapping          = tex-text ,
      Ligatures        = {Common,Contextual} ,
      BoldFont         = texgyrepagella-bold.otf ,
      ItalicFont       = texgyrepagella-italic.otf ,
      BoldItalicFont   = texgyrepagella-bolditalic.otf ]
    {texgyrepagella-regular.otf}
  % Comment out the previous statement and uncomment the following line to use the
  % Linux Libertine font (it has nice lignatures).
  % Make sure to have the `ttf-linux-libertine` package installed on Ubuntu.
%  \setmainfont[Mapping=tex-text, Numbers=OldStyle, Ligatures={Common,Contextual}]{Linux Libertine O}

  % needs an experimental and impossible to find package for xetex
  \usepackage[protrusion]{microtype}

\else

  % this case we likely use the `pdftex` back-end
  % therefor we lack:
  %  * lower case numbers,
  %  * ligatures and
  %  * some typographic niceties
  % We do make use of the possibility to use `microtype`
  \usepackage{tgpagella}
  \usepackage[expansion,protrusion]{microtype}

\fi



%%% DOCUMENT WIDE STYLING

\pagestyle{empty}
\setlength{\tabcolsep}{0em}
\xspaceskip7pt  % some more spacing between sentences (use "i.e.\ " or "with SQL\@. " in case of errors)



%%% CUSTOM COMMANDS

% main title (name) with subtitle (date)
\newcommand\maintitle[3]{\vbox to 0pt{\hfill\scriptsize\color{gray} #3}\vspace{-0.4em}\noindent{\LARGE \textbf{#1}}\ \ \ \emph{#2}}

% title for the root sections (experience, education, etc) of the resume
\newcommand*\roottitle[1]{\subsection*{#1}\vspace{-0.3em}\nopagebreak[4]}

% acr command, to quickly mark acronyms for special formatting
\newcommand*\acr[1]{\textscale{.85}{#1}}

% pretty bullet (created from a much smaller centerdot), \sbull contains its spacing
\newcommand*\bull{\raisebox{-0.365em}[-1em][-1em]{\textscale{4}{$\cdot$}}}
\newcommand*\sbull{\ \ \bull \ \ }

% it seems not to work when simply using \parindent...
\newlength{\newparindent}
\addtolength{\newparindent}{\parindent}

% a double \parindent...
\newlength{\doubleparindent}
\addtolength{\doubleparindent}{\parindent}
\addtolength{\doubleparindent}{\parindent}

% indentsection style, used for sections that aren't already in lists
% that need indentation to the level of all text in the document
\newenvironment{indentsection}%
{\begin{list}{}%
  {\setlength{\leftmargin}{\newparindent}\setlength{\parsep}{0pt}\setlength{\parskip}{0pt}\setlength{\itemsep}{0pt}\setlength{\topsep}{0pt}}%
}
{\end{list}}

% headerrow command, used for a new employer
\newcommand{\headedsection}[3]{\nopagebreak[4]\begin{indentsection}\item[]\textscale{1.1}{#1}\hfill#2#3\end{indentsection}\nopagebreak[4]}

% subheaderrow command, used for a new position
\newcommand{\headedsubsection}[3]{\nopagebreak[4]\begin{indentsection}\item[]\textbf{#1}\hfill\emph{#2}#3\end{indentsection}\nopagebreak[4]}

% body text (indented)
\newcommand{\bodytext}[1]{\nopagebreak[4]\begin{indentsection}\item[]#1\end{indentsection}\pagebreak[2]}

% \vspace variaties
\newcommand{\breakvspace}[1]{\pagebreak[2]\vspace{#1}\pagebreak[2]}
\newcommand{\nobreakvspace}[1]{\nopagebreak[4]\vspace{#1}\nopagebreak[4]}

% \spacedhrule a horizontal line with some vertical space before and after it
\newcommand{\spacedhrule}[2]{\breakvspace{#1}\hrule\nobreakvspace{#2}}

% \inlineheadsection command, used for a new employer
\newcommand{\inlineheadsection}[2]{\begin{basedescript}{\setlength{\leftmargin}{\doubleparindent}}\item[\hspace{\newparindent}\textbf{#1}]#2\end{basedescript}\vspace{-1.7em}}

% apo command, for an apostrophe that looks good on old style nums
\newcommand{\apo}{\raisebox{-.18ex}{'}{\hspace{-.1em}}}

% non space that allows line breaks
\newcommand*{\nsp}{\hskip0pt}



%%% MORE SPECIFIC COMMANDS

% CPP command (found it in some corner of the internet and decided to use it)
\newcommand{\CPP}{C\nolinebreak[4]\hspace{-.04em}\raisebox{.20ex}{\footnotesize\bf++}}

相关内容