I use
\renewcommand{\theequation}{{\hspace*{-3.05cm}\thesection.\arabic{equation}}}
to move my equation numbers into the margins (corporate design), it looks like this:
The problem is that apparently this command is also used to make references in the text, so when doing (\ref{equation:label}) I get this:
As you can see, everything behind the ( gets pulled to the left by 3.05cm, as defined above. Is there any way to get the references and equation environment to use different commands for the equation numbers so I can define them the way I need them?
Edit
Here is a MWE:
\documentclass[leqno,11pt,parskip,oneside]{scrartcl}
\usepackage[left=5.6cm,right=2.2cm,top=5.5cm,bottom=3.55cm,headsep=1.9cm]{geometry}
\usepackage{mathtools}
\usepackage[hyperref]{xcolor}
\usepackage{chngcntr}
\counterwithin*{equation}{section}
% remove brackets from equation numbers
\newtagform{brackets}{}{}
\usetagform{brackets}
% Equation numbers
\renewcommand{\theequation}{{\fontsize{8bp}{8bp}\selectfont\hspace*{-3.05cm}\thesection.\arabic{equation}}}
\begin{document}
\section{TestSection}
\begin{equation}
a = b+c
\label{test}
\end{equation}
This is a reference (\ref{test})
\end{document}



\def\maketag@@@#1{\hbox{\m@th\hspace*{-3.05cm}#1}}but nothing happens, the equation number is not moved in any way. – user3696412 Aug 04 '15 at 09:17\ref, but it's not if generated via\eqref. – Mico Aug 04 '15 at 09:47\newtagformcall in there and only need to add in that line. – user3696412 Aug 04 '15 at 10:30