I'm pretty new to LaTeX and have no idea about it's inner workings, but I would like to typeset an expression with double-stroke brackets. I found such a symbol (\llbracket and \rrbracket) in the stmaryrd package, but it doesn't seem to give good spacing towards the sides. I tried two things (imitating some answers to similar question for the second variant), but it doesn't seem to work.
\documentclass{article}
\usepackage{amsmath}
\usepackage{stmaryrd}
\newcommand{\repA}[1]{\left\llbracket #1 \right\rrbracket}
\newcommand{\repB}[1]{\left\llbracket\! #1 \,\right\rrbracket}
\begin{document}
\Large
\begin{align*}
\repA{\vec{v}}\\
\repB{\vec{v}}
\end{align*}
\end{document}
I'm not sure how to upload images here, in any case the symbol inside is too close to the right bracket for the first version and too close to the left bracket for the second. What is the correct way to define a command that takes care of spacing and does it right? Thank you very much in advance.




