Page 1 of 1

This is a continuation of this article: Enhance LaTeX Efficiency: Divide and Conquer with \input Command

I present to you a very big shortcuts file that contains a lot of redefined latex commands in a short and simple manner. all you have to do is include it in your latex document using the command \input{shortcuts.tex} and you're set.

Feel free to customize it to your needs, if you have any suggestions to improve this file, please share your thoughts with us in the comments section below.



\newcommand{\tdrd}[1]{\todo[color=Red]{#1}}
\newcommand{\tdgr}[1]{\todo[color=SpringGreen]{#1}}
\newcommand{\tdbl}[1]{\todo[color=SkyBlue]{#1}}
\newcommand{\tdil}[1]{\todo[inline]{#1}}
\newcommand{\tdilrd}[1]{\todo[inline,color=Red]{#1}}
\newcommand{\tdilgr}[1]{\todo[inline,color=SpringGreen]{#1}}
\newcommand{\tdilbl}[1]{\todo[inline,color=SkyBlue]{#1}}

%
\newcommand{\tx}{\text}
%
\newcommand{\thdash}{\nbd th}
%
\newcommand{\nbd}{\nobreakdash-\hspace{0pt}}

%
\newcommand{\texpdf}[2]{\texorpdfstring{#1}{#2}}

%
\makeatletter
\newcommand{\writelabel}[1]{#1\def\@currentlabel{#1}}
\makeatother

%
\newcommand{\minwidthmathbox}[2]{%
  \mathmakebox[{\ifdim#1<\width\width\else#1\fi}]{#2}%
}

%
%
%

\newcommand{\tbf}{\bfseries}
\newcommand{\tsc}{\scshape}
\newcommand{\tit}{\itshape}

%
\newcommand{\bbA}{\ensuremath{\mathbb{A}}}
\newcommand{\bbB}{\ensuremath{\mathbb{B}}}
\newcommand{\bbC}{\ensuremath{\mathbb{C}}}
\newcommand{\bbD}{\ensuremath{\mathbb{D}}}
\newcommand{\bbE}{\ensuremath{\mathbb{E}}}
\newcommand{\bbF}{\ensuremath{\mathbb{F}}}
\newcommand{\bbG}{\ensuremath{\mathbb{G}}}
\newcommand{\bbH}{\ensuremath{\mathbb{H}}}
\newcommand{\bbI}{\ensuremath{\mathbb{I}}}
\newcommand{\bbJ}{\ensuremath{\mathbb{J}}}
\newcommand{\bbK}{\ensuremath{\mathbb{K}}}
\newcommand{\bbL}{\ensuremath{\mathbb{L}}}
\newcommand{\bbM}{\ensuremath{\mathbb{M}}}
\newcommand{\bbN}{\ensuremath{\mathbb{N}}}
\newcommand{\bbO}{\ensuremath{\mathbb{O}}}
\newcommand{\bbP}{\ensuremath{\mathbb{P}}}
\newcommand{\bbQ}{\ensuremath{\mathbb{Q}}}
\newcommand{\bbR}{\ensuremath{\mathbb{R}}}
\newcommand{\bbS}{\ensuremath{\mathbb{S}}}
\newcommand{\bbT}{\ensuremath{\mathbb{T}}}
\newcommand{\bbU}{\ensuremath{\mathbb{U}}}
\newcommand{\bbV}{\ensuremath{\mathbb{V}}}
\newcommand{\bbW}{\ensuremath{\mathbb{W}}}
\newcommand{\bbX}{\ensuremath{\mathbb{X}}}
\newcommand{\bbZ}{\ensuremath{\mathbb{Z}}}

%.......



Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى
Class: Templates
Views:  377




0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: