[Tex/LaTex] Achemso table of content frame


When I include my table of contents image in the tocentry section, the tocentry frame does not cover my image (with dimension 8.5×4.75cm) properly. The frame is wider and shorter in height. In the manual, the height and width of the frame does not agree with what is required by ACS (for example it is 8.5×4.75cm in JPCC). I think the frame is having a dimension incompatible with 8.5×4.75cm due to the following lines in the (manual)

1274 \newlength{\acs@tocentry@width}
1275 \setlength{\acs@tocentry@height}{9 cm}
1276 \setlength{\acs@tocentry@width}{3.5 cm}

If it is correct, I tried changing these values as follows, which is of course wrong as I don't know how to change these values.


\setlength{\acs@tocentry@height}{4.75 cm}
\setlength{\acs@tocentry@width}{8.5 cm}



The error shown is:

Missing number, treated as zero. 
<to be read again>
l.21 \setlength{\acs@tocentry@height}{4.75 cm}


The following image shows my TOC image in the black region and the default box in black lines that needs to be modified.

enter image description here

Best Answer

There are a couple of things here. First, you need \makeatletter to access internal commands: see What do \makeatletter and \makeatother do?. Second, you don't want to make new variables, just to set them

Related Question