
我正在嘗試使用 www.sharelatex.com 中的 Awesome_CV.zip (模板)創建我的簡歷。我嘗試編譯resume.tex
,但他們要求我做很多我不明白的事情。
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
% Awesome CV LaTeX Template
%
% This template has been downloaded from:
% https://github.com/posquit0/Awesome-CV
%
% Author:
% Claud D. Park <[email protected]>
% http://www.posquit0.com
%
% Template license:
% CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Themes: Awesome-CV
\documentclass[11pt, a4paper]{awesome-cv}
%%% Override a directory location for fonts(default: 'fonts/')
\fontdir[fonts/]
%%% Configure a directory location for sections
\newcommand*{\sectiondir}{resume/}
%%% Override color
% Awesome Colors: awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange
% awesome-nephritis, awesome-concrete, awesome-darknight
%% Color for highlight
% Define your custom color if you don't like awesome colors
\colorlet{awesome}{awesome-red}
%\definecolor{awesome}{HTML}{CA63A8}
%% Colors for text
%\definecolor{darktext}{HTML}{414141}
%\definecolor{text}{HTML}{414141}
%\definecolor{graytext}{HTML}{414141}
%\definecolor{lighttext}{HTML}{414141}
%%% Override a separator for social informations in header(default: ' | ')
%\headersocialsep[\quad\textbar\quad]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 3rd party packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Needed to divide into several files
\usepackage{import}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Claud D.}{Park}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 22738, Rep. of KOREA}
\mobile{(+82) 10-9030-1843}
%%% Social
\email{[email protected]}
\homepage{www.posquit0.com}
\github{posquit0}
\linkedin{posquit0}
%%% Optionals
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\quote{``Make the change that you want to see in the world."}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make a footer for CV with three arguments(<left>, <center>, <right>)
\makecvfooter
{\today}
{Claud D. Park~~~·~~~Résumé}
{\thepage}
\begin{document}
%%% Make a header for CV with personal data
\makecvheader
%%% Import contents
\import{\sectiondir}{education.tex}
\import{\sectiondir}{experience.tex}
\import{\sectiondir}{extracurricular.tex}
\import{\sectiondir}{honors.tex}
\import{\sectiondir}{presentation.tex}
\import{\sectiondir}{writing.tex}
\import{\sectiondir}{committees.tex}
\end{document}
我需要解釋以下事情以及如何做:
- “覆蓋字體的目錄位置(預設:'fonts/')”
- “配置部分的目錄位置”
- “覆蓋顏色”
- “覆蓋標頭中社交訊息的分隔符號(預設值:' | ')%\headersocialsep[\quad\textbar\quad] ”
- “導入內容”
先致謝!
答案1
%%% Override a directory location for fonts(default: 'fonts/')
\fontdir[fonts/]
這些行表示,如果您願意,可以透過在方括號之間寫入目錄名稱來選擇不同的字體位置。預設值是fonts/
,只是因為目前寫在那裡。您不必執行任何操作,因為您的字體位於子目錄中fonts
。
%%% Configure a directory location for sections
\newcommand*{\sectiondir}{resume/}
這些行表示,如果您願意,可以透過在大括號之間寫入目錄名稱來為包含這些部分的檔案選擇不同的位置。目前resume/
寫在那裡。由於您已將節檔案放入該名稱的子目錄中,因此您無需執行任何操作。
% Define your custom color if you don't like awesome colors
\colorlet{awesome}{awesome-red}
%\definecolor{awesome}{HTML}{CA63A8}
這些行設定awesome
(決定文件某些元素的顏色)為 color awesome-red
。由於前導%
符號,其下方的行被註解掉(=未啟動)。它給出了替代定義的範例。現在不要改變任何顏色。稍後,如果您不喜歡文件中的某些顏色,請返回這些行並修改顏色。
%%% Override a separator for social informations in header(default: ' | ')
%\headersocialsep[\quad\textbar\quad]
標題將包含一個垂直線來分隔兩個部分。現在不要修改它。如果以後不喜歡的話,可以再回到這個地方修改。
%%% Import contents
這只是一條註釋,解釋了以下行中發生的情況: 子目錄中的文件內容resume
(該名稱儲存在 中\sectiondir
)包含在文件中。您只需將資料填入子目錄中的檔案即可resume
。在這兒無事可做。
您所要做的就是將您的個人資訊寫入該子目錄的檔案中resume
。然後resume.tex
在主目錄下編譯。如果您遇到任何錯誤,那並不是因為您擔心的線路。如果您無法幫助自己,請在此處發布一個新問題,包括錯誤訊息以及 LaTeX 原始程式碼。