Quantcast
Channel: Active questions tagged starred-version - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 64

Redefine \includegraphics* (starred version)

$
0
0

I have this code:

\setlength{\fboxsep}{0pt}\let\includegraphicsbak\includegraphics\renewcommand*{\includegraphics}[2][]{\colorbox{white}{\includegraphicsbak[#1]{#2}}}

How can I make it work with the starred version of \includegraphics?

I get this error if \includegraphics* is used in the file:

! LaTeX Error: File `*' not found.

Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>