v1.7.2 adds \xtwitter with icon provided by the simpleicons package.

This commit is contained in:
liantze
2024-08-28 20:50:20 +08:00
parent 74bc05df38
commit fee5fad54d
8 changed files with 23 additions and 13 deletions

View File

@@ -1,7 +1,10 @@
# AltaCV, yet another LaTeX CV/Résumé class
v1.7.1 (25 Aug 2023), by LianTze Lim (liantze@gmail.com)
v1.7.2 (25 Aug 2024), by LianTze Lim (liantze@gmail.com)
* 1.7.2 (25 Aug 2024) changes:
- Added `simpleicons` package to provide icon for X.com
- Added `\xtwitter` to replace `\twitter`
* v1.7 (9 Aug 2023) changes:
- `\itemmarker` and `\ratingmarker` renamed to `\cvItemMarker` and `\cvRatingMarker`
- Added `\cvLocationMarker` and `\cvDateMarker` so that these icons in `\cvevent`

View File

@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%
% This is altacv.cls (v1.7.1, 25 Aug 2023) written by
% This is altacv.cls (v1.7.2, 25 Aug 2024) written by
% LianTze Lim (liantze@gmail.com).
%
%% It may be distributed and/or modified under the
@@ -19,7 +19,7 @@
%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{altacv}[2023/08/25 AltaCV v1.7.1, yet another alternative class for a resume/curriculum vitae.]
\ProvidesClass{altacv}[2024/08/25 AltaCV v1.7.2, yet another alternative class for a resume/curriculum vitae.]
%% v1.1: Optionally load academicons
%% v1.4: Nope, academicons is unnecessary; fontawesome5 has \faOrcid.
@@ -43,6 +43,8 @@
\RequirePackage{accsupp}
\RequirePackage[margin=2cm]{geometry}
\RequirePackage[fixed]{fontawesome5}
% v1.7.2 Add simpleicons to provide X icon
\RequirePackage{simpleicons}
\RequirePackage{ifxetex,ifluatex}
\RequirePackage{scrlfile}
\RequirePackage{xparse}
@@ -207,6 +209,8 @@
\NewInfoField{phone}{\faPhone}[tel:]
\NewInfoField{homepage}{\faGlobe}[https://]
\NewInfoField{twitter}{\faTwitter}[https://twitter.com/]
% v1.7.2 twitter.com is now X.com
\NewInfoField{xtwitter}{\raisebox{-0.2ex}{\scalebox{0.95}{\simpleicon{x}}}\,}[https://x.com/]
\NewInfoField{linkedin}{\faLinkedin}[https://linkedin.com/in/]
\NewInfoField{github}{\faGithub}[https://github.com/]
% v1.?? Use fontawesome5 for Orcid symbol

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 241 KiB

View File

@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%
% This is an sample CV template created using altacv.cls
% (v1.7, 9 Aug 2023) written by LianTze Lim (liantze@gmail.com), based on the
% (v1.7.2, 28 Aug 2024) written by LianTze Lim (liantze@gmail.com), based on the
% CV created by BusinessInsider at http://www.businessinsider.my/a-sample-resume-for-marissa-mayer-2016-7/?r=US&IR=T
%
%% It may be distributed and/or modified under the
@@ -16,8 +16,8 @@
% \documentclass[10pt,a4paper,normalphoto]{altacv}
\documentclass[10pt,a4paper,ragged2e,withhyper]{altacv}
%% AltaCV uses the fontawesome5 package.
%% See http://texdoc.net/pkg/fontawesome5 for full list of symbols.
%% AltaCV uses the fontawesome5 and simpleicons packages.
%% See http://texdoc.net/pkg/fontawesome5 and http://texdoc.net/pkg/simpleicons for full list of symbols.
% Change the page layout if you need to
\geometry{left=1.25cm,right=1.25cm,top=1.5cm,bottom=1.5cm,columnsep=1.2cm}
@@ -75,12 +75,12 @@
% \renewcommand{\datename}{Fecha}
%% Use (and optionally edit if necessary) this .cfg if you
%% Use (and optionally edit if necessary) this .tex if you
%% want to use an author-year reference style like APA(6)
%% for your publication list
% \input{pubs-authoryear.cfg}
%% Use (and optionally edit if necessary) this .cfg if you
%% Use (and optionally edit if necessary) this .tex if you
%% want an originally numerical reference style like IEEE
%% for your publication list
\input{pubs-num.cfg}
@@ -103,7 +103,8 @@
\mailaddress{Address, Street, 00000 County}
\location{Sunnyvale, CA}
\homepage{marissamayr.tumblr.com}
\twitter{@marissamayer}
% \twitter{@marissamayer}
\xtwitter{@marissamayer}
\linkedin{marissamayer}
% \github{github.com/mmayer} % I'm just making this up though.
% \orcid{0000-0000-0000-0000} % Obviously making this up too.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 180 KiB

View File

@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%
% This is an sample CV template created using altacv.cls
% (v1.7, 9 August 2023) written by LianTze Lim (liantze@gmail.com). Compiles with pdfLaTeX, XeLaTeX and LuaLaTeX.
% (v1.7.2, 28 August 2024) written by LianTze Lim (liantze@gmail.com). Compiles with pdfLaTeX, XeLaTeX and LuaLaTeX.
%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -15,8 +15,8 @@
% \documentclass[10pt,a4paper,normalphoto]{altacv}
\documentclass[10pt,a4paper,ragged2e,withhyper]{altacv}
%% AltaCV uses the fontawesome5 and packages.
%% See http://texdoc.net/pkg/fontawesome5 for full list of symbols.
%% AltaCV uses the fontawesome5 and simpleicons packages.
%% See http://texdoc.net/pkg/fontawesome5 and http://texdoc.net/pkg/simpleicons for full list of symbols.
% Change the page layout if you need to
\geometry{left=1.25cm,right=1.25cm,top=1.5cm,bottom=1.5cm,columnsep=1.2cm}
@@ -108,13 +108,15 @@
\mailaddress{Åddrésş, Street, 00000 Cóuntry}
\location{Location, COUNTRY}
\homepage{www.homepage.com}
\twitter{@twitterhandle}
% \twitter{@twitterhandle}
\xtwitter{@x-handle}
\linkedin{your_id}
\github{your_id}
\orcid{0000-0000-0000-0000}
%% You can add your own arbitrary detail with
%% \printinfo{symbol}{detail}[optional hyperlink prefix]
% \printinfo{\faPaw}{Hey ho!}[https://example.com/]
%% Or you can declare your own field with
%% \NewInfoFiled{fieldname}{symbol}[optional hyperlink prefix] and use it:
% \NewInfoField{gitlab}{\faGitlab}[https://gitlab.com/]