\documentclass[a4paper]{article} \usepackage[paperwidth=100mm,margin=.1mm,ignoreall]{geometry} % prose %\usepackage[paperwidth=62.5mm,margin=.1mm,ignoreall]{geometry} % poem \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{graphicx,listings} \usepackage[path={./fonts/}]{rit-fonts} \newfontfamily\en[Path={./fonts/},Extension=.ttf]% {Linux-Libertine} [BoldFont=*-Bold] \def\thesection{\en\arabic{section}} \def\thesubsection{\en\thesection.\arabic{subsection}} \def\f#1{\gdef\thef{\en #1}} \newfontfamily\lstfont[Scale=.8]{MPLUSCodeLatin} \usepackage{tcolorbox} \colorlet{bgcol}{white} \colorlet{frcol}{black!10} \def\thetitle{Regular} \makeatletter \def\title#1{\def\next{#1}\xdef\thetitle {\expandafter\strip@prefix\meaning\next}} \makeatother \newtcolorbox{prosebox}{colback=bgcol,width=99.8mm, %.63\linewidth, halign title=flush left, before=, after=\par\newpage, % before skip=0\baselineskip, after skip=0\baselineskip, colbacktitle={black!10}, coltitle=black, fonttitle=\lstfont\footnotesize, box align=top, colframe=frcol, title={\thetitle}} %\addfontfeatures{Scale=2,Color=red,Numbers=Lining} \def\myprose{à´ªàµà´°à´¤à´¿à´°àµ‹à´§à´°à´¾à´·àµà´Ÿàµà´°àµ€à´¯à´µàµà´‚ ആധàµà´¨à´¿à´• കലാപാരമàµà´ªà´°àµà´¯à´™àµà´™à´³à´¿à´²àµ† വിനിമയവൈà´à´µà´™àµà´™à´³àµà´‚ തമàµà´®à´¿à´²à´¿à´£à´•àµà´•à´¿, അവരവരàµà´Ÿàµ† ദേശീയ കലാസാഹിതàµà´¯à´¤àµà´¤à´¿à´¨àµà´±àµ† പരമàµà´ªà´°à´¾à´—à´¤ രൂപങàµà´™à´³àµ† à´à´¾à´µàµà´•à´¤àµà´µà´ªà´°à´®à´¾à´¯à´¿ ഉയർതàµà´¤à´¿, നീതിയോടàµàµ à´†à´à´¿à´®àµà´–àµà´¯à´‚ വളർതàµà´¤à´¿, ഇങàµà´™à´¨àµ† ഒരൠപàµà´°à´¤à´¿à´¸à´‚à´¸àµà´•à´¾à´°à´¤àµà´¤à´¿à´¨àµà´±àµ† ജനകീയവàµà´‚ അഗാധവàµà´‚ സമകാലികവàµà´‚ à´àµ—തികവàµà´®à´¾à´¯ ജാഗàµà´°à´¤ പാകി.} \def\halfprose{à´ªàµà´°à´¤à´¿à´°àµ‹à´§à´°à´¾à´·àµà´Ÿàµà´°àµ€à´¯à´µàµà´‚ ആധàµà´¨à´¿à´• കലാപാരമàµà´ªà´°àµà´¯à´™àµà´™à´³à´¿à´²àµ† വിനിമയവൈà´à´µà´™àµà´™à´³àµà´‚ തമàµà´®à´¿àµ½ \dots} \usepackage[active,luatex,tightpage]{preview} \renewcommand\PreviewBbAdjust{0pt -5pt 0pt 0pt} \PreviewEnvironment{prosebox} \begin{document} \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi \pagestyle{empty} \parindent0pt \parskip=1\baselineskip plus 2pt minus 2pt \hyphenpenalty=0 \lefthyphenmin=3 \righthyphenmin=3 \tolerance=500 \emergencystretch=1em \title{RIT Rachana Regular} \begin{prosebox} \Rachana \myprose \end{prosebox} \title{RIT Panmana Regular} \begin{prosebox} \Panmana \myprose \end{prosebox} \title{RIT MeeraNew} \begin{prosebox} \Meera \myprose \end{prosebox} \title{RIT TN Joy} \begin{prosebox} \Joy \myprose \end{prosebox} \title{\usepackage[ScaleRM=1.5,...]{rit-fonts}} \begin{prosebox} \Rachana \addfontfeatures{Scale=1.5} \advance\baselineskip 5pt \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi \halfprose \end{prosebox} \title{\usepackage[Numbers=OldStyle,...]{rit-fonts}} \begin{prosebox} \Rachana \addfontfeatures{Numbers=OldStyle} \ifluatex\prehyphenchar="0000\else\defaulthyphenchar="0000\fi രചനയിൽ പഴയരീതിയിലàµà´³àµà´³ à´…à´•àµà´•à´™àµà´™à´³àµà´£àµà´Ÿàµàµ. 1234567890. ഇവ സാധാ\-à´°à´£ à´…à´•àµà´•à´™àµà´™à´³àµ† അപേകàµà´·à´¿à´šàµà´šàµàµ പാഠവàµà´®à´¾à´¯à´¿ à´’à´¤àµà´¤àµà´ªàµ‹à´•àµà´¨àµà´¨à´¤à´¾à´£àµàµ. \end{prosebox} \end{document}