I would like to get paper size A6 (105mm x 148mm). I have used paper=a6paper in document class option, but it is not working. Any suggest is appreciated in advance.


\documentclass[10pt,fancy,authoryear,twoside]{elegantbook}% A6 pocket book shape


\setcounter{tocdepth}{4} %to show subsubsections and paragraphs in TOC
\setcounter{secnumdepth}{4}%to show subsubsections and paragraphs in TOC
%Bengali Font in Document
% For a bilingual document

\defaultfontfeatures{Ligatures=TeX, Scale=MatchUppercase}
% Times New Roman used for English
%\setmainfont{Times New Roman}
%\setmainfont{Times New Roman}[NFSSFamily=ntxtlf]

% Bengali
  AutoFakeBold = 0.2,
  AutoFakeSlant = 0.15  ]
 \renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter \, #1\,}{}}


\title{নবী ও কবি}
%\subtitle{\Large \it আপনার জন্য সেরা সমাধান}
\author{নসীর  আহমদ}


%\extrainfo{Victory won\rq t come to us unless we go to it. }









Here is the elegantbook.cls file

Updated: When I use \geometry{reset,a6paper} it totally changes the whole document setting like font size, header line , page number position etc. as below:

enter image description here enter image description here

How can I fix this?

  • Please the the update of my answer. Oct 14, 2021 at 17:09

2 Answers 2


Put \geometry{reset,a6paper}

after \documentclass[10pt,fancy,authoryear,twoside]{elegantbook}% A6 pocket book shape


A6 measures 105 × 148 millimeters or 4.13 × 5.83 inches.

The class elegantbook uses the package geometry. You can change the default layout of the page using \geometry{〈options〉} in the preamble.

(reset sets back the layout dimensions to the settings before geometry was loaded)


The change in font size (margins look larger too) it is an optical illusion, produced by expanding the view in the pdf reader to fit the page in both cases. But A6 paper is half the width of A4. And the text width A6/A4 is 0.38, less than half.

Compile this example using \documentclass[10pt,a4paper]{book} and \documentclass[10pt,a6paper]{book}

% !TeX TS-program = xelatex

\documentclass[10pt,a6paper]{book} % <<<<< A6
%\documentclass[10pt,a4paper]{book} % <<<<< A4
\usepackage[top=20mm, bottom=20mm, left=20mm, right=20mm, showframe,
foot=15mm, marginparsep=0mm]{geometry}


\newcommand{\currentfontsize}{Font size is: \f@size pt \bigskip}



As any dedicated reader can clearly see, the Ideal of
practical reason is a representation of, as far as I know,
the things in themselves; as I have shown elsewhere,
the phenomena should only be used as a canon for our


Text width = \the\textwidth


The font (10pt} and the margins are the same in both cases. If you print the pages you will see that the font size is the same.

A4 paper size Red lines mark A6 text width with the same margins. See next figure.


A6 paper size


Final test

Compile this code as A6M.tex. It will generate A6M.pdf with several pages into a A6 paper size.

% !TeX TS-program = xelatex

\usepackage[top=20mm, bottom=20mm, left=20mm, right=20mm,
foot=15mm, marginparsep=0mm]{geometry}


\newcommand{\currentfontsize}{Font size is: \f@size pt \bigskip}

\usepackage{kantlipsum} % dummy text





Now run this code in the same directory. It will place the first four pages of A6M.pdf (A6 page size) on one A4 page. This is a standard procedure to print smaller pages on larger and more available A4.

\documentclass{article}% default is a4paper
    \includepdf[pages={1-4},nup=2x2, noautoscale, frame]{A6M.pdf}%


  • @ SimonDispa When I use \geometry{reset,a6paper}, it changes font size of the document and header line. Please see updated post.
    – BSFU
    Oct 14, 2021 at 0:07
  • @BSFU I added un update to the answer explaining why the fonts looks larger. Oct 14, 2021 at 17:10

May be try to use something like this one:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.