Difference between revisions of "Ithal.sty"
Line 6: | Line 6: | ||
We use {{verb|memoir.cls}} as the main document class for all our books and articles that we typeset. Hence, all the main formatting is done by {{verb|memoir}}. The class is available in all standard {{TeX}} distributions and can be downloaded from Comprehensive {{TeX}} Archive Network ({{sc|CTAN}}) from [https://ctan.org/tex-archive/macros/latex/contrib/memoir this link]. It is well documented and therefore, readers are advised to go through the documentation before making use of this package. | We use {{verb|memoir.cls}} as the main document class for all our books and articles that we typeset. Hence, all the main formatting is done by {{verb|memoir}}. The class is available in all standard {{TeX}} distributions and can be downloaded from Comprehensive {{TeX}} Archive Network ({{sc|CTAN}}) from [https://ctan.org/tex-archive/macros/latex/contrib/memoir this link]. It is well documented and therefore, readers are advised to go through the documentation before making use of this package. | ||
− | This {{LaTeX}} package which is called {{verb|ithal.sty}} is a subsidiary package that will work in conjunction with {{verb|memoir.cls}} extending its functionality to | + | This {{LaTeX}} package which is called {{verb|ithal.sty}} is a subsidiary package that will work in conjunction with {{verb|memoir.cls}} extending its functionality to meet the typesetting requirements of Malayalam books. |
+ | |||
==Package Loading== | ==Package Loading== | ||
Line 28: | Line 29: | ||
Default is web version {{sc|pdf}} with dimensions of 145mm × 195mm, which is fit to read in | Default is web version {{sc|pdf}} with dimensions of 145mm × 195mm, which is fit to read in | ||
− | tablet or iPad. The print version has the dimensions of 146mm × 210mm. | + | tablet or iPad. The print version has the paper width × paper height dimensions of 146mm × 210mm; sphone version has the dimensions of 80mm × 140mm; mini has 62mm × 110mm; and lastly kindle has 90mm × 122mm. |
− | Various dimensions like paper width/height, inner/outer margins, head/foot heights and other parameters can be changed with key-value options provided as | + | Various dimensions like paper width/height, inner/outer margins, head/foot heights, marginpar width/sep and various other page dimension parameters can be changed with key-value options provided as arguments of {{verb|\geometry}} command. {{verb|geometry}} package is loaded by default. |
==Package Dependencies== | ==Package Dependencies== |
Revision as of 11:53, 22 December 2017
Introduction
We use memoir.cls
as the main document class for all our books and articles that we typeset. Hence, all the main formatting is done by memoir
. The class is available in all standard TeX distributions and can be downloaded from Comprehensive TeX Archive Network (CTAN) from this link. It is well documented and therefore, readers are advised to go through the documentation before making use of this package.
This LaTeX package which is called ithal.sty
is a subsidiary package that will work in conjunction with memoir.cls
extending its functionality to meet the typesetting requirements of Malayalam books.
Package Loading
The package shall be loaded with the command anywhere before \begin{document}
\usepackage[<options>]{ithal}
Options
Various options of the package are given below:
ml
— typeset Malayalam documents.print
— generate output for printing, default is false.proof
— proof mode, allows to have line numbers, watermark and footer instruction for proofers.sphone
— generate pdf output for standard mobile phone with aspect ratio of 16:9.mini
— generate pdf output for phone with 5 inch screen size.kindle
— generate pdf output for older versions of Kindle device.
Default is web version pdf with dimensions of 145mm × 195mm, which is fit to read in tablet or iPad. The print version has the paper width × paper height dimensions of 146mm × 210mm; sphone version has the dimensions of 80mm × 140mm; mini has 62mm × 110mm; and lastly kindle has 90mm × 122mm.
Various dimensions like paper width/height, inner/outer margins, head/foot heights, marginpar width/sep and various other page dimension parameters can be changed with key-value options provided as arguments of \geometry
command. geometry
package is loaded by default.
Package Dependencies
This package depends on the following LaTeX packages:
geometry
footmisc
multicol
multirow
makecell
ifthen
enumitem
ml-draftcopy
etoolbox
polyglossia
fontspec
xltxtra
xcolor
hyperref
xspace