learned something

This commit is contained in:
Felix Hilsky 2020-11-25 18:51:46 +00:00
parent 01b0436f15
commit 945e035515

View file

@ -1 +1,2 @@
s#\\includegraphics\[width=[0-9]\.[0-9]*in,height=[0-9.]*in\]{\(.maindir/zeichnungen/media/image\)\([0-9]*\).png}#\\begin{figure}\r\\centering\\includegraphics[width=\\scwidth]{\1\2}\r\\caption{name \2}\\label{fig:\2}\r\\end{figure}#
# to be used in vim (in sed \r -> \n) und ohne % am Anfang
%s#\\includegraphics\[width=[0-9.]*in,height=[0-9.]*in\]{\(.maindir/zeichnungen/media/image\)\([0-9]*\).png}#\\begin{figure}\r\\centering\\includegraphics[width=\\scwidth]{\1\2}\r\\caption{name \2}\r\\label{fig:\2}\r\\end{figure}#