What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Fix small MathJax equations by identifying where the size changes: inline-math rules, MathJax configuration, viewport calculation, or wkhtmltopdf’s PDF scaling. Compare the source HTML with the PDF, then change one layer at a time. If the browser rendering is already small, adjust MathJax and viewport settings. If the browser looks correct but the PDF is small, test wkhtmltopdf’s zoom, smart shrinking, viewport, print-media, and JavaScript timing options.
Start with a two-output diagnosis
Render the same document in a normal browser and with the exact wkhtmltopdf executable used in production. Inspect one inline equation, one display equation, a fraction or root, and an equation with a number.
| What you see | Likely layer | First action |
|---|---|---|
| Only inline expressions look smaller | Normal MathJax typography | Compare with display math before changing CSS. |
| Browser and PDF are both small | MathJax, surrounding CSS, or viewport | Check MathJax version, output processor, post-typeset CSS, and viewport metadata. |
| Browser is correct but PDF is small | wkhtmltopdf scaling or page-width fit | Test --zoom, smart shrinking, and viewport settings separately. |
| Math is missing or captured before it finishes | JavaScript timing | Wait for the MathJax completion signal or use a carefully timed --run-script. |
Keep a copy of every test PDF. After each change, check equation size, page fit, line wrapping, equation-number alignment, and whether display equations still fit the printable width.
Understand when small math is expected
MathJax intentionally typesets inline mathematics smaller than display mathematics. Inline expressions must fit a line of prose, so fractions, roots, and nested scripts are compressed to protect line spacing. Display expressions such as $$...$$ or [...] receive their own block and normally have more room. This is documented in the MathJax FAQ.
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Therefore, do not enlarge every equation just because an inline expression appears smaller. If display equations are also unexpectedly tiny, or if the browser and PDF differ, continue with the checks below.
Check CSS and the MathJax processing order
Inspect the surrounding font size
MathJax scales relative to the text around it. Look for a parent rule such as font-size: 11px, a print stylesheet that reduces the body, a transformed container, or a media query activated only during PDF generation. Temporarily remove those rules and render again.
Do not resize text after typesetting
MathJax warns that changing text size after it has finished typesetting can leave mathematics too small. Apply the final body and container font sizes before MathJax runs. If your application changes a class, zoom, or root font size later, trigger a fresh typeset pass using the API for your installed MathJax version.
Confirm the output processor
MathJax 2 HTML-CSS, MathJax 2 SVG, and MathJax 4 output components have different configuration names and behavior. Identify the script version and renderer in the generated HTML; do not paste a MathJax 2 configuration into MathJax 4 unchanged.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Fix the viewport before changing scale
Add standard viewport metadata to the page head:
<meta name="viewport" content="width=device-width, initial-scale=1">
MathJax 2.7 documents that incorrect or missing viewport information can confuse layout and lead to very small fonts (see MathJax 2.7 output formats). Also make wkhtmltopdf’s viewport explicit during testing so the CSS pixel width is known.
wkhtmltopdf --viewport-size 1280x900 input.html output.pdf
Use a viewport that matches the layout your page was designed for. A very narrow viewport can trigger mobile CSS; an unnecessarily wide one can cause page-width calculations and shrinking that make all content—including math—appear smaller.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Set MathJax’s minimum and relative scale
MathJax 2 HTML-CSS
For the MathJax 2 HTML-CSS output processor, scale controls math size relative to surrounding text and minScaleAdjust prevents excessive shrinking. The documented defaults are scale: 100 and minScaleAdjust: 50 (MathJax 2.7 HTML-CSS options).
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
"HTML-CSS": {
scale: 110,
minScaleAdjust: 80
}
});
</script>
Increase values gradually. A larger relative scale can improve readability but may increase line wrapping or push a display equation beyond the printable width.
MathJax 4
MathJax 4 uses common output options. Set scale for relative size and minScale to keep matching from shrinking equations too far; the documented default for minScale is .5. Put shared settings in the common output configuration so they apply when switching renderers, as described in the MathJax 4 output options.
<script>
window.MathJax = {
tex: { inlineMath: [['$', '$'], ['\(', '\)']] },
output: {
scale: 1.1,
minScale: 0.8
}
};
</script>
Verify the exact option names for the MathJax 4 build and output component you deploy. The MathJax 2 and MathJax 4 examples are not interchangeable.
Control wkhtmltopdf scaling independently
Test zoom
--zoom changes the rendered scale; its default is 1. Test a modest value and compare the resulting page fit:
wkhtmltopdf --zoom 1.1 --viewport-size 1280x900 input.html zoomed.pdf
The documentation exposes the control but does not prescribe one universal value. The right value depends on CSS dimensions, paper size, margins, and whether your page already fits the target width.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Test smart shrinking
wkhtmltopdf’s smart-shrinking strategy changes the pixel/DPI ratio to make content fit. Compare the default with an explicit disable:
wkhtmltopdf input.html smart-default.pdf
wkhtmltopdf --disable-smart-shrinking input.html no-shrink.pdf
If disabling it makes equations readable but causes clipping or extra pages, adjust the CSS width, paper size, or margins rather than relying on an extreme zoom.
Check print media
--print-media-type switches the active CSS from screen rules to print rules:
wkhtmltopdf --print-media-type input.html print-css.pdf
Inspect your print stylesheet for smaller body text, narrower math containers, or rules that hide display blocks. If the PDF is correct without this flag, the issue is in print CSS rather than MathJax.
Make JavaScript timing deterministic
wkhtmltopdf can execute JavaScript after loading with --run-script, but running a script is not the same as waiting for MathJax. Capture only after MathJax reports completion. For MathJax 2, a callback can set a marker:
<script>
MathJax.Hub.Queue(function () {
document.documentElement.setAttribute('data-mathjax-ready', 'true');
});
</script>
Then use a wrapper or a controlled delay that checks this marker before invoking wkhtmltopdf. Avoid arbitrary long delays when a completion signal is available; avoid capturing immediately after page load.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Consider SVG output for font-related problems
MathJax’s legacy output-format guide describes SVG as high quality and print-friendly across browsers, without some HTML-CSS font issues (MathJax output formats). It is a version-aware alternative, not a universal fix. SVG tables can become fixed-width after typesetting, which may affect equation-number alignment when the page is resized. Generate a representative PDF and check wide equations, alignment, and page breaks.
Do not switch to native MathML as a blanket workaround. MathJax notes that native MathML quality and completeness depend on renderer support and can introduce spacing or font differences.
A repeatable one-variable workflow
- Save the browser HTML and PDF produced by the production executable.
- Classify the problem as inline-only, browser-wide, PDF-only, or incomplete JavaScript.
- Confirm MathJax major version and output processor.
- Apply final CSS before typesetting and add the standard viewport meta tag.
- For MathJax 2, test
scaleandminScaleAdjust; for MathJax 4, testoutput.scaleandoutput.minScale. - Render with an explicit
--viewport-size. - Test one wkhtmltopdf setting at a time:
--zoom, smart shrinking, then--print-media-type. - Ensure capture waits for MathJax completion.
- Compare inline and display equations, fractions, roots, equation numbers, wrapping, and page count.
Troubleshooting common failures
Only inline equations are small
This is usually expected MathJax behavior. Use display math for equations that must stand out; do not globally enlarge inline expressions unless you accept altered line spacing.
The browser is small too
Check parent font sizes, post-typeset CSS changes, viewport metadata, and renderer-specific MathJax options. A PDF flag cannot correct a size that is already wrong in HTML.
The PDF is small but page layout otherwise fits
Test --zoom and compare smart shrinking. Record whether increasing zoom creates clipping or additional pages; that trade-off indicates a page-width constraint rather than a MathJax-only issue.
Equations are missing or half-rendered
Capture is occurring before JavaScript completes. Add a MathJax completion marker and make the wrapper wait for it. Check network access to the MathJax assets in the wkhtmltopdf environment.
Recommended Free Tools
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Changing scale breaks equation numbers
Inspect the renderer’s table sizing and the available content width. SVG can improve font consistency but may fix variable-width tables after typesetting; validate alignment at the final viewport.
Flags appear ineffective
Check the actual executable and binding. Distribution packages and builds can differ from the project documentation. Run wkhtmltopdf --extended-help and verify that the option is supported by the deployed build.
Or skip the browser setup
If you need a clean image or PDF of the final rendered page rather than maintaining a local browser-and-wkhtmltopdf pipeline, ScreenshotNeo provides a GET-based screenshot API and an MCP server. It accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and billing status.
For a public page containing your equations, call the API (replace the URL with your page):
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
See the complete parameter list and PDF options in the ScreenshotNeo documentation. Python and Node.js calls are also available:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
It also offers full-page capture with lazy images loaded, CSS-selector element capture, dark mode, device and viewport controls, retina scale, PDF paper and page-range settings, custom CSS and JavaScript, click and wait actions, request blocking, headers, cookies, user agents, authorization, timezone and geolocation, transparent backgrounds, resizing, chosen-TTL caching, signed links, asynchronous webhooks, bulk capture for 100 URLs per call, a usage API, and an OpenAPI specification. An MCP server lets Claude, Cursor, and other MCP clients use take_screenshot, get_page_info, and capture_pdf.
The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; every feature is included on every plan. Create a free ScreenshotNeo account to try it.
Frequently Asked Questions
Should I always use display math to make equations larger?
No. Inline sizing is intentional. Use display math when the equation should occupy its own block, and adjust scale only when the rendered size is wrong for your design.
Which setting should I change first: MathJax scale or wkhtmltopdf zoom?
Compare browser and PDF output first. Change MathJax or CSS when both are small; change wkhtmltopdf scaling when only the PDF is small.
Can one MathJax configuration work unchanged in versions 2 and 4?
No. MathJax 2 HTML-CSS uses options such as minScaleAdjust, while MathJax 4 uses common output options including minScale. Verify the installed version.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

