From 5ed71cddf9d3295481726edd6995345b849d38a5 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 6 Sep 2026 14:46:42 -0400 Subject: [PATCH] Added pdfjam scale to particular papersize --- chapters/ch03-files.tex | 10 +++++++++- chapters/ch04-system.tex | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/chapters/ch03-files.tex b/chapters/ch03-files.tex index f9bc5f2..cc4e404 100644 --- a/chapters/ch03-files.tex +++ b/chapters/ch03-files.tex @@ -87,4 +87,12 @@ To reduce both the document size and the content, use the \texttt{--papersize} o \begin{Verbatim}[frame=single] pdfjam --outfile output.pdf input.pdf --papersize '{5.5in,8.5in}' -\end{Verbatim} \ No newline at end of file +\end{Verbatim} + +To change to a conventional size that \LaTeX{} understands, use this command: + +\begin{Verbatim}[frame=single] +pdfjam input.pdf --letterpaper --outfile output.pdf +\end{Verbatim} + +\ktcbox{This is especially useful when scanning documents at a high dpi results in a document that has an extremely large page size.} \ No newline at end of file diff --git a/chapters/ch04-system.tex b/chapters/ch04-system.tex index 549e0d2..78ceaa1 100644 --- a/chapters/ch04-system.tex +++ b/chapters/ch04-system.tex @@ -2,7 +2,7 @@ \section{To Reload Your \texttt{.bashrc} File} -\lettrine{S}{ometimes} you add something to your \texttt{.bashrc}\index[concepts]{.bashrc}[concepts]\index[concepts]{bashrc} file (such as a new bash alias)\index[concepts]{bash alias} and you need to reload it. Of course, this file is reloaded every time you log in, but you may not wish to log out and then log back in if you are in the middle of important work. There are few different ways to do this: +\lettrine{S}{ometimes} you add something to your \texttt{.bashrc}\index[concepts]{.bashrc}\index[concepts]{bashrc} file (such as a new bash alias)\index[concepts]{bash alias} and you need to reload it. Of course, this file is reloaded every time you log in, but you may not wish to log out and then log back in if you are in the middle of important work. There are few different ways to do this: \begin{Verbatim}[frame=single, breaklines=true] source ~/.bashrc