Fix the following: I am adapting ICLR .bst to have tags at the beginning of each row in…
- User
Fix the following: I am adapting ICLR .bst to have tags at the beginning of each row in latex: I added to latex
\usepackage{etoolbox} \makeatletter \newcommand{\pretitle}[1]{#1} \patchcmd{@biblabel} {@arabic\c@enumiv} {@arabic\c@enumiv\pretitle} {}{} \makeatother
% Define colors for different topics \definecolor{MLcolor}{RGB}{0,119,187} % Machine Learning \definecolor{AIcolor}{RGB}{216,82,24} % AI \definecolor{Statcolor}{RGB}{0,158,115} % Statistics \definecolor{Mathcolor}{RGB}{204,121,167}% Mathematics
\DeclareRobustCommand{\MLtag}{\topictag{MLcolor}{ML}} \DeclareRobustCommand{\AItag}{\topictag{AIcolor}{AI}} \DeclareRobustCommand{\Stattag}{\topictag{Statcolor}{Stats}} \DeclareRobustCommand{\Mathtag}{\topictag{Mathcolor}{Math}}
% Create topic tag commands \newcommand{\topictag}[2]{% \tikz[baseline=(X.base)]{ \node[draw=#1!80,fill=#1!10,rounded corners=2pt,inner sep=1pt] (X) {\textcolor{#1!80}{\footnotesize#2}}; }% } The citation @book{goodfellow2016deep, pretitle={\MLtag\AItag}, title={Deep Learning}, author={Goodfellow, Ian and Bengio, Yoshua and Courville, Aaron}, year={2016}, publisher={MIT press} } and made no changes to the .bst It compiles and has the reference, but the tags are not there
- Assistant