How do I change the latex font size?

Ben Treeser's Avatar

Ben Treeser

08 Mar, 2013 09:31 PM

Hi,
my latex code is pretty much big in comparison to my default text as you can see here: http://i.imgur.com/iFPFlGl.png Does someone know how to change the latex font size?

Greets, Ben

  1. 1 Posted by Soren Bjornstad on 08 Mar, 2013 11:14 PM

    Soren Bjornstad's Avatar

    You can edit the header like this:
    http://ankisrs.net/docs/manual.html#_latex_packages

    (It's one of the parameters under \documentclass.)

  2. 2 Posted by BenTreeser on 09 Mar, 2013 09:10 AM

    BenTreeser's Avatar

    @Seron: could you explain it in more detail please. I don't get it which file I have to modify and where I have to paste the code

  3. Support Staff 3 Posted by Damien Elmes on 09 Mar, 2013 09:22 AM

    Damien Elmes's Avatar

    As mentioned in the manual, we aren't able to provide detailed LaTeX support, because I'm afraid we're not LaTeX experts. The people most qualified to help you are people on a LaTeX forum.

  4. Damien Elmes closed this discussion on 09 Mar, 2013 09:22 AM.

  5. BenTreeser re-opened this discussion on 12 Mar, 2013 09:47 AM

  6. 4 Posted by BenTreeser on 12 Mar, 2013 09:47 AM

    BenTreeser's Avatar

    In case someone has the same issue as me:

    I now installed the addon: "Edit LaTeX and dvipng calls" (https://ankiweb.net/shared/info/937148547)

    Afterwards I opened the addon file (C:\Users<YOURNAME>\Documents\Anki\addons\Edit_LaTeX_and_dvipng_calls.py)
    and edited one line.

    old: newDviPng = ["dvipng", "-D", "200", "-T", "tight"]
    new: newDviPng = ["dvipng", "-D", "110", "-T", "tight"]

    Now the latex font size just right for me.

    The remaining issue is that the generated latex image is floating a little about the text line. But I cannot imagine there is a solution for that.

  7. Support Staff 5 Posted by Damien Elmes on 12 Mar, 2013 09:58 PM

    Damien Elmes's Avatar

    Thank you for taking the time to share your solution.

  8. Damien Elmes closed this discussion on 12 Mar, 2013 09:58 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac