Shortly, I'd like to replace all the \vec{X} to \textbf{X} in my text. How could I do it automatically without having to rewrite all the thousands of vectors in my work?
Sorry if that's too simple, I'm just a noob.
Shortly, I'd like to replace all the \vec{X} to \textbf{X} in my text. How could I do it automatically without having to rewrite all the thousands of vectors in my work?
Sorry if that's too simple, I'm just a noob.
\vec) within your code, as it denotes something that represents a\vector. Instead add the following in your preamble:\renewcommand{\vec}[1]{\mathbf{#1}}such that\vecwill be replaced by\mathbf. – Werner Dec 06 '23 at 07:05\let\vec\mathbf. – Mico Dec 06 '23 at 08:19