Changing font size of options generated by AMCcode (Feature #170)


Added by Anirvan Sarkar about 12 years ago. Updated almost 11 years ago.


Status:Closed Start date:05/11/2013
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

One can change the font size of the options generated by AMCcode by directly editing the automultiplechoice.sty file. But this edit has to be performed each time AMC is updated. It will be better if there is a command for changing the font size.


AMC-DEBUG-2CqGJDex.log - Log file (28.1 kB) Anirvan Sarkar, 05/12/2013 12:51 pm

source.tex - .tex file (9.9 kB) Anirvan Sarkar, 05/12/2013 12:51 pm


History

Updated by Alexis Bienvenüe about 12 years ago

You mean the digits that are written inside the boxes for a \AMCcode? Try something like

{\def\AMCchoiceLabelFormat#1{{\small #1}}\AMCcode{id}{8}}

Updated by Anirvan Sarkar about 12 years ago

Alexis Bienvenüe wrote:

You mean the digits that are written inside the boxes for a \AMCcode?

Yes

Try something like
{\def\AMCchoiceLabelFormat#1{{\small #1}}\AMCcode{id}{8}}

I can't seem to get it work.
I get an error: Illegal parameter number in definition of \iterate.
If I use only \AMCcode{id}{8} then there is no error.

I have attached the source file and log file.

Updated by Alexis Bienvenüe about 12 years ago

If you use this code inside \onecopy, you have to double the #:

{\def\AMCchoiceLabelFormat##1{{\small ##1}}\AMCcode{id}{8}}

Updated by Anirvan Sarkar about 12 years ago

Alexis Bienvenüe wrote:

If you use this code inside \onecopy, you have to double the #:

It works now !!!

It will be helpful if you add a note about it in the Documentation of Check-box presentation style.

Updated by Alexis Bienvenüe almost 12 years ago

There is something in the documentation about \AMCchoiceLabelFormat since revision r1267. Note that the documentation that can be found on the website is not the more recent one, but sticks with the stable version of AMC.

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Updated by Anirvan Sarkar almost 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF