Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font Adjustments... #78

Open
steve-osfda opened this issue Jul 14, 2015 · 5 comments
Open

Font Adjustments... #78

steve-osfda opened this issue Jul 14, 2015 · 5 comments

Comments

@steve-osfda
Copy link

So I have got it to run; but the method for adjusting some latex elements are not spelled out anywhere on the documentation pages:

  • I have a choicequestion; I am able to modify the font of the choiceitems by setting "choiceitemfont"; but how do I commensurately adjust the font of the question itself? (I tried setting the size for "choicequestionfont", "choicefont", ..., and none of them worked; some only bombed out...)
  • (one I am surprised not being seen asked anywhere): How can I set the size of the checkboxes themselves?
  • If I only have one question, how can I remove the numbering of the question altogether?
  • How can I set the font of the Author and Title fields?
  • And is it OK to intersperse spacing in the latex template? (like "\vspace{1cm}"; I imagine it is, but I just wanted to be sure...)

If it involves code mod(s) (as opposed to hacking up the Latex template...), that's OK; just point me to the module(s)/config files,,,

@steve-osfda
Copy link
Author

Well, I got the answers to everything but suppressing numbering and the sizing of checkboxes (unless what I'm doing is not supported...)

You can simply prefix text in the questions, author, title with a size qualifier (like \huge)

Look forward to an answer on the numbering and checkbox size...

@steve-osfda
Copy link
Author

  • I tried with the following before a choicequestion:

\renewcommand{\thesection}{\Roman{section}}

\renewcommand{\thesubsection}{\Roman{subsection}}

\begin{choicequestion}[1]{\Huge ...

It reduced the question number prefix to a single "I."; but I still don't see how to completely suppress numbering altogether.

I tried the suggestion here: Re: How to create unnumbered sections?, and unfortunately it did not work.

  • It appears that checkboxes MIGHT be able to be resized (I want them larger...) in defs.py? (the "checkbox_metrics" settings??) Some guidance would be appreciated...

@steve-osfda
Copy link
Author

PS Following the advice of the "How to create unnumbered sections" post just resulted in a section numbered "-1"...

@benzea
Copy link
Member

benzea commented Jul 15, 2015

  • Questions are subsections, which means the normal mechanisms apply.

  • You should be able to override the font in the same way as removing the subsection numbering.

    \renewcommand{\thesection}{}
    \renewcommand{\thesubsection}{}

I expect, but haven't tested. I think you can change the font in those commands too to adjust it.

  • Pretty much any LaTeX formatting should work fine.
  • Checkbox size can be simply changed by modifying the checkboxsize length (\setlength{\checkboxsize}}{}).
  • Author/Title, probably best is to override the heading altogether. Other than that, it is a normal scrartcl template IIRC, so the fonts used there should apply. The only thing to be careful about is, that SDAPS needs a command to be executed for each page, and this is done in the footer. Should you override the footer, then you need to make sure to copy also put that macro into the footer.

@steve-osfda
Copy link
Author

Thanks; let me try that. I'm surprised the checkbox size setting was something so simple (yet it appears nobody had ever asked about it...) I think the numbering thing didn't work for me, but let me give it another shot...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants