Created
November 23, 2011 04:23
-
-
Save reusee/1387888 to your computer and use it in GitHub Desktop.
documentclass for kindle 3
This file contains 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
\ProvidesClass{kindle} | |
\LoadClass{book} | |
\usepackage[margin=0mm,top=1mm,bottom=1mm,papersize={90mm,120mm}]{geometry} | |
\usepackage{xltxtra} | |
\usepackage{fontspec} | |
\setmainfont{LiHei Pro} | |
\pagestyle{empty} | |
\sloppy | |
\XeTeXlinebreaklocale "zh" | |
\hfuzz=\maxdimen | |
\tolerance=100000 | |
\hbadness=100000 | |
\renewcommand{\baselinestretch}{1.15} | |
\raggedright | |
\usepackage{titlesec} | |
\titleformat{\part}{\huge\center}{}{0em}{} | |
\titleformat{\chapter}{\LARGE}{}{0em}{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment