Comments (3)
The command \icontext
is just a custom command, which is defined in line 281 and breaks down to the following code:
% at this point we simplify our icon-embedding by simply referring to a set of png images.
% if you find a good way of including svg without conflicting with other packages you can
% replace this part
\newcommand{\icon}[3]{\makebox(#2, #2){\textcolor{#3}{\csname fa#1\endcsname}}} %icon shortcut
\newcommand{\icontext}[4]{ %icon with text shortcut
\vcenteredhbox{\icon{#1}{#2}{#4}} \vcenteredhbox{\textcolor{#4}{#3}}
}
Here you can try to wrap hyperlinks around parameters #3
and #4
in the part \vcenteredhbox{\textcolor{#4}{#3}}
or extend this command with a new parameter #5
.
If you got it running you can create a PR if you like.
from latexcv.
Hey Jan, I figured out how to make it work:
First make sure the package
\usepackage{hyperref}
is the final package being included
Then I wrote some new commands for email and urls shown below:
\newcommand{\iconhref}[5]{ %icon with website url
\vcenteredhbox{\icon{#1}{#2}{#5}} \href{#4}{\textcolor{#5}{#3}}
}
\newcommand{\iconemail}[5]{ %icon with email link
\vcenteredhbox{\icon{#1}{#2}{#5}} \href{mailto:#4}{\textcolor{#5}{#3}}
}
It is also possible to just write the links wherever text could normally be.
I'll try to make a pull request soon when I figure out how it works, I haven't made one before
from latexcv.
merged vi #13
from latexcv.
Related Issues (20)
- ! LaTeX Error: File `xifthen.sty' not found. HOT 5
- add a web link HOT 1
- More info on installation/packages needed HOT 9
- Move CI to GitHub actions
- Cv HOT 1
- Suggested fonts for the Infographics CV HOT 2
- Suggestion for adapting your template to other paper sizes HOT 4
- A better way, perhaps? to use FontAwesome HOT 4
- Compile errors
- Doesn't produce usable files on miktex-xelatex HOT 5
- installing TeX live package Enconuter error HOT 4
- Markdown file for the templates HOT 8
- could latexcv support chinese string HOT 2
- White line in name-header HOT 2
- Feature: Multiple paragraphs for CVEvent HOT 1
- Question about Modern CV HOT 2
- A
- New Symbols HOT 1
- Dynamics with longer words / names HOT 2
- Docker image with prepared LaTeX installation and GitHub action which run it HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latexcv.