A plain italic letter is a variable; conventions say what kind (x input, y target, W weights…).
In ML papers
A plain italic letter is a variable. Papers follow loose conventions:
x an input and y a label or target, y^ a prediction; W a weight matrix and b a bias; h a hidden state; z a latent variable (or a pre-activation); n or N a count of examples, d a dimension, L a number of layers; i,j,k indices; t a time step and T the last one; e Euler's number. Lowercase usually means a scalar or vector, uppercase a matrix or a count. A paper's notation section (or the sentence after the equation) overrides all of this.
How to type it
LaTeX
Shows
x
x
\mathit{x}
x
A worked example
y=wx+b=2×3+1=7
A one-input linear model: weight w=2, bias b=1, input x=3.