When I include my table of contents image in the tocentry section, the tocentry frame does not cover my image (with dimension 8.5x4.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.5x4.75cm in JPCC). I think the frame is having a dimension incompatible with 8.5x4.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

1 Answer 1


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

  • Thank you so much. For some reason I had to set width as 4.75cm and height as 8.5cm to get the correct landscape frame.
    – gogo
    Nov 9, 2016 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.