Edit and compile if you like:
% Author: Izaak Neutelings (March 2020)\documentclass[border=3pt,tikz]{standalone}\usepackage{amsmath} % for \dfrac\usepackage{mathabx} % for \Earth\usepackage{bm} % \bm\usepackage{physics}\usepackage{tikz,pgfplots}\usepackage[outline]{contour} % glow around text\usetikzlibrary{angles,quotes} % for pic (angle labels)\usetikzlibrary{calc}\usetikzlibrary{decorations.markings}\tikzset{>=latex} % for LaTeX arrow head\contourlength{1.6pt}\usepackage{xcolor}\colorlet{Ecol}{orange!90!black}\colorlet{EcolFL}{orange!90!black}\colorlet{Bcol}{violet!90}\colorlet{BFcol}{red!60!black}\colorlet{veccol}{green!45!black}\colorlet{Icol}{blue!70!black}\colorlet{pluscol}{red!60!black}\colorlet{minuscol}{blue!60!black}\tikzstyle{BField}=[->,thick,Bcol]\tikzstyle{current}=[->,Icol] %thick,\tikzstyle{force}=[->,thick,BFcol]\tikzstyle{vector}=[->,thick,veccol]\tikzstyle{velocity}=[->,very thick,vcol]\tikzstyle{charge+}=[very thin,draw=black,top color=red!50,bottom color=red!90!black,shading angle=20,circle,inner sep=0.5]\tikzstyle{charge-}=[very thin,draw=black,top color=blue!50,bottom color=blue!80,shading angle=20,circle,inner sep=0.5]\tikzstyle{metal}=[top color=black!15,bottom color=black!25,middle color=black!5,shading angle=10]\tikzset{EFieldLine/.style={thick,EcolFL,decoration={markings,mark=at position #1 with {\arrow{latex}}},postaction={decorate}},EFieldLine/.default=0.5,BFieldLine/.style={thick,Bcol,decoration={markings,mark=at position #1 with {\arrow{latex}}},postaction={decorate}},BFieldLine/.default=0.5,pics/Bin/.style={code={\def\RB{0.12}\draw[pic actions,#1,line width=0.6] % ,thick
Click to download: hall_effect.tex • hall_effect.pdf
Open in Overleaf: hall_effect.tex