Add medium and google scholar (#255)
* Added Medium and Google Scholar * Fixed google scolar. Updated examples
This commit is contained in:
		
				
					committed by
					
						
						Byungjin Park
					
				
			
			
				
	
			
			
			
						parent
						
							7c3fbce42f
						
					
				
				
					commit
					521deaab0d
				
			@@ -303,6 +303,7 @@
 | 
			
		||||
% Usage: \linkedin{<linked-in-nick>}
 | 
			
		||||
\newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
 | 
			
		||||
 | 
			
		||||
% Defines writer's twitter (optional)
 | 
			
		||||
% Usage: \twitter{<twitter handle>}
 | 
			
		||||
\newcommand*{\twitter}[1]{\def\@twitter{#1}}
 | 
			
		||||
 | 
			
		||||
@@ -318,7 +319,25 @@
 | 
			
		||||
% Usage: \xing{<xing name>}
 | 
			
		||||
\newcommand*{\xing}[1]{\def\@xing{#1}}
 | 
			
		||||
 | 
			
		||||
% Defines writer's twitter (optional)
 | 
			
		||||
% Defines writer's medium profile (optional)
 | 
			
		||||
% Usage: \medium{<medium account>}
 | 
			
		||||
\newcommand*{\medium}[1]{\def\@medium{#1}}
 | 
			
		||||
 | 
			
		||||
% Defines writer's google scholar profile (optional)
 | 
			
		||||
% Usage: \googlescholar{<googlescholar userid>}{<googlescholar username>}
 | 
			
		||||
% e.g.https://scholar.google.co.uk/citations?user=wpZDx1cAAAAJ
 | 
			
		||||
% would be \googlescholar{wpZDx1cAAAAJ}{Name-to-display-next-icon}
 | 
			
		||||
% If 'googlescholar-name' is not provided than it defaults to
 | 
			
		||||
% '\firstname \lastname'
 | 
			
		||||
\newcommand*{\googlescholar}[2]{%
 | 
			
		||||
  \def\@googlescholarid{#1}%
 | 
			
		||||
  \ifthenelse{\equal{#2}{}}{%
 | 
			
		||||
    \def\@googlescholarname{\@firstname~\@lastname}%
 | 
			
		||||
  }{%
 | 
			
		||||
    \def\@googlescholarname{#2}%
 | 
			
		||||
  }%
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
% Defines writer's extra informations (optional)
 | 
			
		||||
% Usage: \extrainfo{<extra informations>}
 | 
			
		||||
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
 | 
			
		||||
@@ -502,6 +521,18 @@
 | 
			
		||||
          \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
 | 
			
		||||
          \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing}
 | 
			
		||||
        }%
 | 
			
		||||
      \ifthenelse{\isundefined{\@medium}}%
 | 
			
		||||
        {}%
 | 
			
		||||
        {%
 | 
			
		||||
          \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
 | 
			
		||||
          \href{https://medium.com\\@\@medium}{\faMedium\acvHeaderIconSep\@medium}%
 | 
			
		||||
        }%
 | 
			
		||||
      \ifthenelse{\isundefined{\@googlescholarid}}%
 | 
			
		||||
        {}%
 | 
			
		||||
        {%
 | 
			
		||||
          \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
 | 
			
		||||
          \href{https://scholar.google.com/citations?user=\@googlescholarid}{\faGraduationCap\acvHeaderIconSep\@googlescholarname}%
 | 
			
		||||
        }%
 | 
			
		||||
      \ifthenelse{\isundefined{\@extrainfo}}%
 | 
			
		||||
        {}%
 | 
			
		||||
        {%
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user