[Tex/LaTex] Displaystyle and left-alignment

displaystylehorizontal alignmentindentation

\newcommand{\mbi}[1]{\textbf{\emph{#1}}}
\documentclass[preview]{standalone}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{large}
\displaystyle
\begin{equation}
{\mbi s} = {\mbi P}{\mbi d}, {\qquad{(2)}}\nonumber
\end{equation}
\end{large}
\end{document}

I'm using displaystyle to get the image without the white space. But this invariably produces errors and warnings. When I don't use it, there are no errors, but then this produces extra white space on the left. Any help will be appreciated.

Best Answer

You could wrap the content in a varwidth environment, and use \Large to obtain larger text:

enter image description here

As mentioned in the comments \displaystyle should be used in math mode, So if you were using inline math $ ... $, the you could add \displaystyle as follows:

$\displaystyle {\mbi s} = {\mbi P}{\mbi d}, {\qquad{(2)}}\nonumber$

Code:

\documentclass{standalone}
\newcommand{\mbi}[1]{\textbf{\emph{#1}}}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{varwidth}
\begin{document}
\begin{varwidth}{\linewidth}
\Large
\begin{equation}
{\mbi s} = {\mbi P}{\mbi d}, {\qquad{(2)}}\nonumber
\end{equation}
\end{varwidth}
\end{document}