Skip to content

Commit 3cfb08d

Browse files
amadiosponce
authored andcommitted
Replace YouTube logo from FontAwesome with an image
1 parent c4c4837 commit 3cfb08d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

talk/setup.tex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
% packages %
4747
%%%%%%%%%%%%
4848

49-
\usepackage{fontawesome}
5049
\usepackage{morewrites}
5150
\usepackage[utf8]{inputenc}
5251
\usepackage{newunicodechar}
@@ -237,12 +236,12 @@
237236

238237
% Use as \youtubechannel{channelname}
239238
\newcommand\youtubechannel[1]{%
240-
\mbox{\href{https://www.youtube.com/c/#1}{\color{red}\faYoutubePlay\ #1}}%
239+
\mbox{\href{https://www.youtube.com/c/#1}{\color{red!10!black}\raisebox{-0.1em}{\includegraphics[height=0.8em]{youtube}}\ #1}}%
241240
}
242241

243242
% Use as \youtubeuser{username}
244243
\newcommand\youtubeuser[1]{%
245-
\mbox{\href{https://www.youtube.com/user/#1}{\color{red}\faYoutubePlay\ #1}}%
244+
\mbox{\href{https://www.youtube.com/user/#1}{\color{red!10!black}\raisebox{-0.1em}{\includegraphics[height=0.8em]{youtube}}\ #1}}%
246245
}
247246

248247
\makeatother

talk/youtube.png

2.23 KB
Loading

0 commit comments

Comments
 (0)