cv-bubble

Personal PDF CV, fork of github.com/mateuszbaransanok/BubbleCV
git clone https://git.in0rdr.ch/cv-bubble.git
Log | Files | Refs | Pull requests | README | LICENSE

commit 764fd91c77c21a8c2935dabbbb7e1fd7ee48d174
Author: Mateusz Baran <mateusz.baran.sanok@gmail.com>
Date:   Mon, 19 Jun 2023 23:19:51 +0200

Initial commit

Diffstat:
ALICENSE | 400+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AREADME.md | 31+++++++++++++++++++++++++++++++
Abubblecv.sty | 392+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amain.tex | 155+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Aresources/avatar.png | 0
Aresources/contact.png | 0
Aresources/cv.png | 0
Aresources/education.png | 0
Aresources/languages.png | 0
Aresources/person.png | 0
Aresources/publications.png | 0
Aresources/skills.png | 0
Aresources/summary.png | 0
Aresources/target.png | 0
Aresources/work.png | 0
15 files changed, 978 insertions(+), 0 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -0,0 +1,400 @@ +Attribution 4.0 International + +======================================================================= + +Author: Mateusz Baran +Year: 2023 + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/README.md b/README.md @@ -0,0 +1,31 @@ +# BubbleCV Template + +This is a professional CV template inspired by the legendary secret agent James Bond. +BubbleCV is designed to effectively showcase your skills, work experience, education, and contact information in a sleek and impactful manner. + + +## Key Features + +- `\begin{cv}[<avatar>][<avatar_size>][<avatar_color>]{<name>}{<description>}`: Creates the main CV environment with optional parameters for avatar image, size, and color. It also includes the name and description of the individual. + +- `\cvsection[<icon>][<icon_size>][<icon_color>]{<section_title>}`: Creates a new section with an optional icon, size, and color parameters. It helps in organizing different parts of the CV, such as Profile, Work Experience, Education, etc. + +- `\begin{cvevent}[<start_year>][<end_year>]`: Begins a new work experience or educational event. Optional start and end years can be specified to indicate the duration of the event. + +- `\cvname{<name>}`: Displays the name of the individual in the CV. + +- `\cvdescription{<description>}`: Provides a brief description of the work experience or educational event. + +- `\cvsidebar`: Changes the column from the main section to the sidebar. + +- `\cvitem[<fa_icon>][<fa_icon_size>]`: Creates an item in the CV sidebar with an optional icon and size parameter. The full list of FontAwesome icons is available at [this link](https://mirrors.ibiblio.org/CTAN/fonts/fontawesome/doc/fontawesome.pdf). + +- `\cvskill{<skill>}{<level_name>}{<level_value>}`: Displays a skill and its corresponding proficiency level. + +- `\cvseparator[<spacing>]`: Inserts a 1mm vertical space. An optional parameter can be provided to specify the number of repetitions, allowing you to adjust the spacing as needed. + + +## License + +This CV template is provided under the [Creative Commons CC BY 4.0](LICENSE) license. You are free to use, modify, and distribute the template for personal or professional purposes, as long as you acknowledge the original source. + diff --git a/bubblecv.sty b/bubblecv.sty @@ -0,0 +1,392 @@ +%---------------------------------------------------------------------------------------- +% PARAMETERS +%---------------------------------------------------------------------------------------- +\newcommand\packagename{bubblecv} +\newcommand\getcvfont{ppl} +\newcommand\getcvmainspace{0.5} +\newcommand\getcvsidebarspace{0.5} +\newcommand\getcvcolumnratio{0.6} +\newcommand\getcvspcebetweencolumns{1.5} +\newcommand\getcvheadermargin{0.5} +\newcommand\getcveventmargin{0.2} +\newcommand\getcveventdatesize{1.6} + +\newcommand\getcvavatarsize{2} +\newcommand\getcvavatarbordersize{0.1} + +\newcommand\getcvmainbubblesize{0.6} +\newcommand\getcvmainbubblebordersize{0.1} +\newcommand\getcvsidebarbubblesize{0.6} +\newcommand\getcvsidebarbubblebordersize{0.1} +\newcommand\getcveventbubblesize{0.3} +\newcommand\getceventbubblebordersize{0.1} + +%---------------------------------------------------------------------------------------- +% COLORS +%---------------------------------------------------------------------------------------- +\usepackage{xcolor} +\definecolor{cvprimarycolor}{RGB}{43, 85, 128} % primary color +\definecolor{cvalternativecolor}{RGB}{255, 255, 255} % alternative color +\definecolor{cvbordercolor}{RGB}{255, 255, 255} % border color +\definecolor{cvavatarbordercolor}{RGB}{255, 255, 255} % avatar border color +\definecolor{cvtimelinecolor}{RGB}{0, 0, 0} % timeline color +\definecolor{cvaccentcolor}{RGB}{250, 150, 10} % accent color +\definecolor{cvdarkcolor}{RGB}{70, 70, 70} % dark color +\definecolor{cvlightcolor}{RGB}{245, 245, 245} % light color + + +%======================================================================================== +% PRIVATE +%======================================================================================== + +%---------------------------------------------------------------------------------------- +% SETTINGS +%---------------------------------------------------------------------------------------- +\usepackage[a4paper]{geometry} +\geometry{top=0.5cm, bottom=1cm, left=3.5cm, right=1cm} % setup margins + +\setlength{\parindent}{0cm} % no indent default +\pagenumbering{gobble} % disable page numbering + +\usepackage{enumitem} +\setlist[itemize]{noitemsep, nolistsep, leftmargin=*} % default list style + +%---------------------------------------------------------------------------------------- +% COMMON PACKAGES +%---------------------------------------------------------------------------------------- +\usepackage[utf8]{inputenc} % for utf-8 encoding +\usepackage{xparse} % new document command +\usepackage{ifthen} % if then else +\usepackage{tabularx} % tabular for progress bar +\usepackage{hyperref} % hyper ref + +%---------------------------------------------------------------------------------------- +% COLUMNS +%---------------------------------------------------------------------------------------- +\usepackage{paracol} +\setlength{\columnsep}{\getcvspcebetweencolumns cm} % space between columns +\newcommand\iscvsidebar{0} % flag if sidebar is active +\newcommand\iscv{0} % flag if cv is active + +%---------------------------------------------------------------------------------------- +% FONTS & ICONS +%---------------------------------------------------------------------------------------- +\usepackage{fontawesome} +% allow icons to scale +\DeclareFontFamily{U}{fontawesomeOne}{} +\DeclareFontShape{U}{fontawesomeOne}{m}{n}{<-> FontAwesome--fontawesomeone}{} +\DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeOne}\selectfont} + +%---------------------------------------------------------------------------------------- +% TIMELINE +%---------------------------------------------------------------------------------------- +\usepackage{silence} +\WarningsOff[everypage] % disable warning about problems with background package +\usepackage{background} +\SetBgScale{1} +\SetBgAngle{0} +\SetBgColor{cvtimelinecolor} +\SetBgContents{\rule{0.05cm}{\textheight}} +\SetBgHshift{-7.925cm} + +\newcommand\getcvtimelinemargin{1.05} + +%---------------------------------------------------------------------------------------- +% RGB TO ARRAY +%---------------------------------------------------------------------------------------- +% Convert RGB to decode array. +% Parameter 1: RGB color. +% Parameter 2: Variable to which the array will be assigned. +\newcommand{\rgbtoarray}[2]{ + \extractcolorspecs{#1}\ParseResultModel\ParseResultColor + \convertcolorspec\ParseResultModel\ParseResultColor{rgb}\ParseRgb + \let#2\@empty + \@for\ParseValue:=\ParseRgb\do{ + \edef#2{ + #2 + \ifx#2\@empty + \else + \space + \fi + \ParseValue\space 1 + } + } +} + +%---------------------------------------------------------------------------------------- +% DRAW CIRCLE +%---------------------------------------------------------------------------------------- +% Draw a circle with the image inside. +% Parameter 1 (optional): Path to image resource. +% Parameter 2 (optional): Image scale. +% Parameter 3 (optional): Image color in RGB. +% Parameter 4: Circle radius size in centimeters. +% Parameter 5: Circle border size in centimeters. +% Parameter 6: Circle color in RGB. +% Parameter 7: Circle radius color in RGB. +\NewDocumentCommand{\drawcircle}{O{} O{1} O{} m m m m}{ + \ifthenelse{\equal{#3}{}}{}{ + \rgbtoarray{#3}\customdecodearray + }{} + \begin{tikzpicture} + \draw[ + draw=#7, fill=#6, line width=#5cm, + path picture={ + \ifthenelse{\equal{#1}{}}{}{ + \node at (path picture bounding box.center){ + \ifthenelse{\equal{#3}{}}{ + \includegraphics[ + width=\dimexpr#4cm*#2, + height=\dimexpr#4cm*#2]{#1} + }{ + \includegraphics[ + width=\dimexpr#4cm*#2, + height=\dimexpr#4cm*#2, + decodearray={\customdecodearray}]{#1} + } + }; + } + } + ] (0,0) circle (\dimexpr#4cm-#5cm/2\relax); + \end{tikzpicture} +} + + +%======================================================================================== +% PUBLIC +%======================================================================================== + + +%---------------------------------------------------------------------------------------- +% CV +%---------------------------------------------------------------------------------------- +% Main CV function that prepares the entire layout. +% Parameter 1 (optional): Path to avatar resource. +% Parameter 2 (optional): Avatar size. +% Parameter 3 (optional): Avatar color in RGB. +% Parameter 4: Name. +% Parameter 5: Description. +% Parameter 6: Content. +\NewDocumentEnvironment{cv}{O{} O{2} O{} m m +b}{ + \fontfamily{\getcvfont} + + \unskip\hspace*{-\getcvtimelinemargin cm} + \unskip\hspace*{-\getcvavatarsize cm} + \begin{minipage}{\dimexpr(\getcvavatarsize cm + \getcvavatarsize cm + \fboxsep)} + \protect\ifthenelse{\equal{#1}{}} + {\drawcircle{\getcvavatarsize}{\getcvavatarbordersize}{cvprimarycolor}{cvavatarbordercolor}} + {\drawcircle[resources/#1][#2][#3]{\getcvavatarsize}{\getcvavatarbordersize}{cvprimarycolor}{cvavatarbordercolor}} + \end{minipage} + \unskip\hspace*{\getcvheadermargin cm} + \begin{minipage}{\dimexpr(\linewidth + \getcvtimelinemargin cm - \getcvavatarsize cm - \getcvheadermargin cm - \fboxsep)} + {\Huge #4} + \cvseparator[3] + {\Large #5} + \end{minipage} + + \columnratio{\getcvcolumnratio} + + \begin{paracol}{2} + #6 + \end{paracol} +}{} + +%---------------------------------------------------------------------------------------- +% CV SECTION +%---------------------------------------------------------------------------------------- +% Groups events, items and skills inside one block. +% Parameter 1 (optional): Path to icon resource. +% Parameter 2 (optional): Icon scale. +% Parameter 3 (optional): Icon color in RGB. +% Parameter 4: Section title. +\NewDocumentCommand{\cvsection}{O{} O{1} O{cvalternativecolor} m}{ + \ifthenelse{\equal{\iscvsidebar}{0}}{ + \vspace{\getcvmainspace cm} + \unskip\hspace*{-\getcvtimelinemargin cm} + \unskip\hspace*{-\getcvmainbubblesize cm} + \unskip\hspace*{0.045 cm} + \begin{minipage}{\dimexpr(\getcvmainbubblesize cm + \getcvmainbubblesize cm + \fboxsep)} + \ifthenelse{\equal{#1}{}} + {\protect\drawcircle{\getcvmainbubblesize}{\getcvmainbubblebordersize}{cvprimarycolor}{cvbordercolor}} + {\protect\drawcircle[resources/#1][#2][#3]{\getcvmainbubblesize}{\getcvmainbubblebordersize}{cvprimarycolor}{cvbordercolor}} + \end{minipage} + \unskip\hspace*{\getcveventmargin cm} + \begin{minipage}{\dimexpr(\linewidth + \getcvtimelinemargin cm - \getcvmainbubblesize cm - \getcveventmargin cm - \fboxsep)} + {\LARGE\textbf{#4}} + \end{minipage} + \par + }{ + \vspace{\getcvsidebarspace cm} + \unskip\hspace*{-\getcvsidebarbubblesize cm} + \unskip\hspace*{-\fboxsep} + \begin{minipage}{\dimexpr(\getcvsidebarbubblesize cm + \getcvsidebarbubblesize cm + \fboxsep)} + \protect\ifthenelse{\equal{#1}{}} + {\drawcircle{\getcvsidebarbubblesize}{\getcvsidebarbubblebordersize}{cvprimarycolor}{cvbordercolor}} + {\drawcircle[resources/#1][#2][#3]{\getcvsidebarbubblesize}{\getcvsidebarbubblebordersize}{cvprimarycolor}{cvbordercolor}} + \end{minipage} + \begin{minipage}{\dimexpr(\linewidth - \getcvsidebarbubblesize cm - \fboxsep - \fboxsep)} + {\LARGE\textbf{#4}} + \end{minipage} + \cvseparator + } +} + +%---------------------------------------------------------------------------------------- +% CV EVENT +%---------------------------------------------------------------------------------------- +% Contains information about the event. +% Parameter 1 (optional): Date of the event (ending). +% Parameter 2 (optional): Start date of the event. +% Parameter 3: Content. +\NewDocumentEnvironment{cvevent}{O{} O{} +b}{ + \ifthenelse{\equal{\iscvsidebar}{0}}{ + \vspace{\getcvmainspace cm} + \unskip\hspace*{-\getcveventbubblesize cm} + \unskip\hspace*{-\getcvtimelinemargin cm} + \unskip\hspace*{-\getcveventdatesize cm} + \unskip\hspace*{-0.03 cm} + \begin{minipage}[t]{\getcveventdatesize cm} + \begin{center} + \ifthenelse{\equal{#1}{}}{}{ + \textbf{#1}\\ + } + \ifthenelse{\equal{#2}{}}{}{ + \textbf{$\uparrow$}\\ + \textbf{#2}\\ + } + \end{center} + \end{minipage} + \begin{minipage}{\dimexpr(\getcveventbubblesize cm + \getcveventbubblesize cm + \fboxsep)} + \protect\drawcircle{\getcveventbubblesize}{\getceventbubblebordersize}{cvprimarycolor}{cvbordercolor} + \end{minipage} + \unskip\hspace*{\dimexpr(\getcveventmargin cm + \getcvmainbubblesize cm - \getcveventbubblesize cm)} + \begin{minipage}[t]{\dimexpr(\linewidth + \getcvtimelinemargin cm - \getcveventmargin cm - \getcvmainbubblesize cm - \fboxsep)} + #3 + \end{minipage} + \par + }{ + \PackageError{\packagename}{The cvevent can be used only in the main column}{} + } +}{} + +%---------------------------------------------------------------------------------------- +% CV SIDEBAR +%---------------------------------------------------------------------------------------- +% Switches the main column to the sidebar. +\newcommand{\cvsidebar}[0]{ + \ifthenelse{\equal{\iscvsidebar}{0}}{ + \switchcolumn + \renewcommand{\iscvsidebar}{1} + }{ + \PackageError{\packagename}{The cvsidebar can be used only once}{} + } +} + +%---------------------------------------------------------------------------------------- +% CV SEPARATOR +%---------------------------------------------------------------------------------------- +% Vertical space between paragraphs. +% Parameter 1 (optional): Space size in millimeters. +\NewDocumentCommand{\cvseparator}{O{1}}{\vspace{#1mm}\par} + +%---------------------------------------------------------------------------------------- +% CV NAME +%---------------------------------------------------------------------------------------- +% The title of the event header. +% Parameter 1: Event title. +\newcommand{\cvname}[1]{{\large\textbf{#1}}\cvseparator} + +%---------------------------------------------------------------------------------------- +% CV DESCRIPTION +%---------------------------------------------------------------------------------------- +% The description of the event header. +% Parameter 1: Event description. +\newcommand{\cvdescription}[1]{\textbf{\textit{#1}}\cvseparator[2]} + +%---------------------------------------------------------------------------------------- +% CV ITEM +%---------------------------------------------------------------------------------------- +% List item with a label. +% Parameter 1 (optional): Icon name from fontawesome package. +% Parameter 2 (optional): Icon scale in range [0, 1]. +% Parameter 3: Content. +\NewDocumentEnvironment{cvitem}{O{Circle} O{0.5} +b}{ + \ifthenelse{\equal{\iscvsidebar}{1}}{ + \begin{minipage}{\dimexpr(#2cm + \fboxsep)} + \makebox(0, 0){\textcolor{cvprimarycolor}{\fontsize{#2\linewidth)}{#2\linewidth)}\csname fa#1\endcsname}} + \end{minipage} + \begin{minipage}{\dimexpr(\linewidth - #2cm - \fboxsep)} + #3 + \end{minipage} + \par + }{ + \PackageError{\packagename}{The cvitem can be used only in the sidebar column}{} + } +}{} + +%---------------------------------------------------------------------------------------- +% CV SKILL +%---------------------------------------------------------------------------------------- +% Renders a progress-bar to indicate a certain skill in percent. +% Parameter 1: Name of skill. +% Parameter 2: Skill level. +% Parameter 3: Percent of the progress-bar in range [0, 1]. +\newcommand{\cvskill}[3] { + \ifthenelse{\equal{\iscvsidebar}{1}}{ + \begin{tabularx}{\linewidth}{>{\raggedright\arraybackslash}X>{\raggedleft\arraybackslash}X} + \textcolor{black}{\textbf{#1}} & \textcolor{cvprimarycolor}{#2} \\ + \end{tabularx} + + \begin{tikzpicture}[scale=1,rounded corners=2pt,very thin] + \fill [cvlightcolor] (0,0) rectangle (1\linewidth, 0.15); + \fill [cvprimarycolor] (0,0) rectangle (#3\linewidth, 0.15); + \end{tikzpicture} + \par\cvseparator[2] + }{ + \PackageError{\packagename}{The cvskill can be used only in the sidebar column}{} + } +} + +%---------------------------------------------------------------------------------------- +% CV FOOTNOTE +%---------------------------------------------------------------------------------------- +% Footnote without order number and hyperlink. +% Parameter 1: Footnote content. +\newcommand\cvfootnote[1]{ + \begingroup + \renewcommand\thefootnote{}\NoHyper\footnote{#1} + \addtocounter{footnote}{-1} + \endgroup +} + +%---------------------------------------------------------------------------------------- +% CV FONT +%---------------------------------------------------------------------------------------- +% Change font family. +% Parameter 1: Font code. +\newcommand{\cvfont}[1]{\renewcommand{\getcvfont}[0]{#1}} + +%---------------------------------------------------------------------------------------- +% CV MAIN SPACING +%---------------------------------------------------------------------------------------- +% Spacing between elements in main column. +% Parameter 1: Main column spacing in centimeters. +\newcommand{\cvmainspacing}[1]{ + \renewcommand{\getcvmainspace}[0]{#1} +} + +%---------------------------------------------------------------------------------------- +% CV SIDEBAR SPACING +%---------------------------------------------------------------------------------------- +% Spacing between elements in sidebar column. +% Parameter 1: Sidebar column spacing in centimeters. +\newcommand{\cvsidebarspacing}[1]{ + \renewcommand{\getcvsidebarspace}[0]{#1} +} + +%---------------------------------------------------------------------------------------- +% CV COLUMN RATIO +%---------------------------------------------------------------------------------------- +% Change column ratio. +% Parameter 1: New ratio in range [0, 1]. +\newcommand{\cvcolumnratio}[1]{\renewcommand{\getcvcolumnratio}[0]{#1}} diff --git a/main.tex b/main.tex @@ -0,0 +1,155 @@ +\documentclass{article} +\usepackage{bubblecv} + +\cvmainspacing{0.25} +\cvsidebarspacing{0.3} +\cvcolumnratio{0.63} +\definecolor{cvprimarycolor}{RGB}{20, 20, 20} + +\begin{document} + +\begin{cv}[avatar]{James Bond}{Secret Agent} + + +\cvsection[summary]{Profile} %----------------------------------------------------------- +Highly skilled secret agent with a license to kill. +Bringing together outstanding combat and intelligence abilities with a charismatic and persuasive personality. +A dedicated and adaptable professional committed to global security. + + +\cvsection[work]{Work experience} %------------------------------------------------------ + +\begin{cvevent}[present][1962] + \cvname{Secret Agent} + \cvdescription{MI6 Intelligence Agency, London} + \begin{itemize} + \item Covert intelligence operations for national security. + \item Infiltration from high-risk environments. + \item Utilization of advanced espionage techniques and gadgets. + \item Surveillance, analysis, and threat prevention. + \end{itemize} +\end{cvevent} + + +\cvsection[education]{Education} %------------------------------------------------------ + +\begin{cvevent}[1962][1958] + \cvname{Intelligence Academy} + \cvdescription{MI6 Training Facility, London} + \textbf{Courses and Achievements:} + \begin{itemize} + \item Mastered advanced techniques for discreetly gathering intelligence and conducting covert operations. + \item Trained extensively in planning and executing covert operations and infiltrating high-security areas. + \item Received rigorous combat training in martial arts, firearms handling, and tactical skills. + \item Proficient in surveillance methods, counter-surveillance techniques, and analyzing gathered intelligence. + \end{itemize} +\end{cvevent} + + +\cvsection[target]{Missions} %---------------------------------------------------------- + + +\begin{cvevent}[2002] + \cvname{Die Another Day} + Uncovered a North Korean general's plan to use a satellite weapon to create a war between North and South Korea. +\end{cvevent} + +\begin{cvevent}[1999] + \cvname{The World Is Not Enough} + Protected an oil heiress from a terrorist plotting to exploit her family's resources and trigger a global meltdown. +\end{cvevent} + +\begin{cvevent}[1997] + \cvname{Tomorrow Never Dies} + Investigated a media mogul's plot to provoke a war between the UK and China for increased ratings and power. +\end{cvevent} + +\begin{cvevent}[1995] + \cvname{GoldenEye} + Prevented the use of the GoldenEye satellite weapon system by a rogue agent to cause global financial chaos. +\end{cvevent} + + +\cvsidebar %----------------------------------------------------------------------------- + +\cvsection[contact]{Contact} %---------------------------------------------------------- + +\begin{cvitem}[Envelope][0.6] + \textbf{Email}\\ + \href{mailto:james.bond@mi6.gov}{\texttt{james.bond@mi6.gov}} +\end{cvitem} + +\cvseparator[3] +\begin{cvitem}[Phone][0.6] + \textbf{Phone}\\ + \href{tel:+442071234567}{\texttt{+44 207 123 4567}} +\end{cvitem} + +\cvseparator[3] +\begin{cvitem}[Home][0.6] + \textbf{Address}\\ + MI6 Headquarters\\ London, United Kingdom +\end{cvitem} + +\cvseparator[3] +\begin{cvitem}[Globe][0.6] + \textbf{Website}\\ + \href{https://www.mi6.gov.uk}{\texttt{www.mi6.gov.uk}} +\end{cvitem} + + +\cvsection[skills]{Skills} %----------------------------------------------------------- + +\begin{cvitem} + Espionage Techniques +\end{cvitem} + +\cvseparator +\begin{cvitem} + Surveillance +\end{cvitem} + +\cvseparator +\begin{cvitem} + Combat Training +\end{cvitem} + +\cvseparator +\begin{cvitem} + Infiltration +\end{cvitem} + +\cvseparator +\begin{cvitem} + Problem Solving +\end{cvitem} + +\cvseparator +\begin{cvitem} + Effective Communication +\end{cvitem} + +\cvseparator +\begin{cvitem} + Adaptability +\end{cvitem} + +\cvseparator +\begin{cvitem} + Teamwork +\end{cvitem} + + +\cvsection[languages]{Languages} %-------------------------------------------------------- +\cvskill{English}{Fluent}{1.0} +\cvskill{French}{Intermediate}{0.6} +\cvskill{Russian}{Basic}{0.3} + + +\end{cv} + +\cvfootnote{ + \tiny I agree to the processing of personal data provided in this document for realizing the recruitment process pursuant to the Personal Data Protection Act of 10 May 2018 (Journal of Laws 2018, item 1000) and in agreement with Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation) +} + +\end{document} diff --git a/resources/avatar.png b/resources/avatar.png Binary files differ. diff --git a/resources/contact.png b/resources/contact.png Binary files differ. diff --git a/resources/cv.png b/resources/cv.png Binary files differ. diff --git a/resources/education.png b/resources/education.png Binary files differ. diff --git a/resources/languages.png b/resources/languages.png Binary files differ. diff --git a/resources/person.png b/resources/person.png Binary files differ. diff --git a/resources/publications.png b/resources/publications.png Binary files differ. diff --git a/resources/skills.png b/resources/skills.png Binary files differ. diff --git a/resources/summary.png b/resources/summary.png Binary files differ. diff --git a/resources/target.png b/resources/target.png Binary files differ. diff --git a/resources/work.png b/resources/work.png Binary files differ.