-
-
Save palopezv/951a3aafc6d9956c2f68fd5c2934a82a to your computer and use it in GitHub Desktop.
LaTeX Preamble for Mathematica Successus (sample)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % LaTeX Configuration for "Mathematica Successūs" (Amazon #1 New Release) | |
| % Full project/book details: https://www.amazon.com/dp/B0FHG3SBV5 | |
| \documentclass[11pt,oneside]{book} | |
| % 1. The Geometry (Standard US Trade) | |
| \usepackage[paperwidth=6in, paperheight=9in, top=0.75in, bottom=0.75in, inner=0.875in, outer=0.75in]{geometry} | |
| % 2. The Fonts (The "Graduate Text" Vibe) | |
| \usepackage{libertine} | |
| \usepackage[libertine]{newtxmath} % Math font matches the text | |
| % 3. The Typesetting Engine (Crucial for narrow columns) | |
| \usepackage[stretch=10,shrink=10]{microtype} | |
| % 4. The "No-Orphan" Policy | |
| \widowpenalty=10000 | |
| \clubpenalty=10000 | |
| \tracinglostchars=3 | |
| \displaywidowpenalty=10000 | |
| % Graphics | |
| \usepackage{svg} | |
| \usepackage{graphicx} | |
| \usepackage{tex4ebook} % needed for custom macros and conditional logic for ebook rendering |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment