🔰style

LaTeX ⟩ style

👉 color names

example
code

F=maF=\color{blue}{m}\color{#f00}{a}

% text color
\color{blue}{...}
\color{#f00}{...}

your text here\fbox {your text here}

% simple border
\fbox {your text here}

F=ma ... (1)\colorbox{orange}{$F=ma$ ... (1)}

% background color
% - rendered as text
% - use `$...$` to switch back to math mode
\colorbox{orange}{$F=ma$ ... (1)}

F=ma ... (1)\fcolorbox{orange}{red}{$F=ma$ ... (1)}

% border and background color
% - rendered as text
% - use `$...$` to switch back to math mode
\fcolorbox{orange}{red}{$F=ma$ ... (1)}
%         {border}{background}{...}

Last updated

Was this helpful?