| | |||||||
| Technology & Technical Skills Computer skills, hardware, software, internet topics, gadgets, programming |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Sep 2010
Posts: 9
|
Program: An open source SRS Program (for memorizing) integrated with LaTeX Anki (leads to Anki Website) Situation: I always use LaTeX math environment [$]...[/$] for a lot of math equations, but the image produced is always bigger than necessary and sometimes it's annoying, is there anyway to change individual LaTeX math equation size? if can't then could you give me the preamble script so all the result is the same in size. please give me an example so I can use it ( because I'm not familiar with programming ) Resource: 'configure LaTeX.py' code: from anki import latex latex.latexDviPngCmd = ["dvipng", "-D", "150", "-T", "tight"] latex.latexPreamble = ("\\documentclass[12pt]{article}\n" "\\textwidth 12cm\n" "\\usepackage{amsmath,amsthm,amssymb,enumerate }\n" "%\\input completePathToYourMacros (remove percent to enable this)\n" "\\usepackage[utf8]{inputenc}\n" "\\pagestyle{empty}\n" "\\begin{document}" "\\begin{center}") latex.latexPostamble = ("\\end{center}" "\\end{document}") |
| | |
| Bookmarks |
| Tags |
| latex, math environment |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change the font and size of the header? | veraowen | Technology & Technical Skills | 9 | 10-06-2010 12:00 PM |
| What's a good font for this picture? | SatvikBeri | Technology & Technical Skills | 5 | 07-14-2010 08:59 AM |
| Can't change Chrome font | Lupe | Technology & Technical Skills | 1 | 07-03-2010 07:02 AM |
| Changing the font in adsense ads | Stu | Business & Financial | 2 | 07-04-2008 02:51 PM |
| How do you change font size in Joomla? | Breakaway | Technology & Technical Skills | 3 | 04-02-2007 03:38 PM |
All times are GMT. The time now is 01:17 PM.





