Matnlarga ishlov berish LaTex text Formatting


Download 0.75 Mb.
bet17/18
Sana09.04.2023
Hajmi0.75 Mb.
#1344635
1   ...   10   11   12   13   14   15   16   17   18
Bog'liq
Matnlarga ishlov berish

7. Work macro
The work entry for our curriculum is essentially the same as the education entry:
% work experience
\newcommand{\work}[4]{
% name of the work
\noindent \textbf{#1}
% at the right the duration
\hfill
\framebox{% duration inside a frame box
\parbox{6em}{%
\centering\textbf{#2}}} \par
% new paragraph with the school in italics
\noindent \textit{#3} \par
% description with no hanging and in smaller text
\vspace*{0.5em}
\noindent\hangindent=2em\hangafter=0 \small #4
%back to normal size
\normalsize \par}

But we wrote a separate macro in case you wanted to customize its appearance.
The main document
Now all of the hard work is done. It is time to see a small implementation of the previous macros, that is to say, a small example of how to use these macros, so that we can produce the example below.


Of course, every snippet that will appear in this section is no longer part of the preamble of our document; instead, it is all written inside the document environment.
First let’s write our name, motivation, and personal information:
% name and motto
\name{John Doe}
\vspace*{-10pt}
\motto{Work is my motivation}
% personal information
\sepspace
\info{Email}{\texttt{john.doe@edomain.com}}
\info{Phone}{+31 415 926 535}
\info{Address}{Fake Road 123, City 23456, Country}

  • Note the need for the adequate vertical spacing each time: to get the motto closer to the name, we deleted 10pt of vertical space, which in our opinion made the title look better.

  • We also added a \sepspace between the title and the personal info, and wrote the email with the typewriter font type, to make it look more professional.

Following this we have the work experience:
% work experience
\section*{Work Experience}
\work{Lecturer}{2015--2020}{The XXX University}{\blindtext}
\sepspace
\work{Data Analyist}{2010--2015}{An important tech
company}{This is a detailed description of the this
work:
\begin{itemize}
\item One thing I did.
\item Another thing I did.
\item I didn't do much more, sorry.
\end{itemize}}
As you can see, between each entry we use a \sepspace. Similarly, we have the education section:
% education
\section*{Education}
\education{Master's Degree in Data Analysis}{2009--2010}{My
Second University}{}
\education{Bachelor's Degree in CS}{2005--2009}{My First
University}{}
In this case, the education entries need no description. For this reason, we don’t use the \sepspace between entries, since they seem to look fine this way. However, this is just a matter of taste, so it is your final decision how it should look like.
And to finish the curriculum we have the sections with skills and languages:
% technical skills
\section*{Technical skills}
\skill{Programming languages}{\textsc{Python},
\LaTeX, \textsc{C}}
\skill{Other}{\textsl{Markdown, Git, Vim, Ubuntu}}
% languages
\section*{Languages}
\lan{English}{Native}
\lan{Spanish}{B2}
\lan{French}{A2}

Download 0.75 Mb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   18




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling