% \end{macrocode}
% 縦組みの場合は|geometry|対応のために|filehook|も読み込んでおきます。
% \begin{macrocode}
-\RequirePackage{filehook}
+%<tate>\RequirePackage{filehook}
% \end{macrocode}
%
% \section{オプションスイッチ}
% \begin{macrocode}
%<*tate>
\AtEndOfPackageFile{geometry}{%
+ \setlength{\@tempdima}{\textheight}%
+ \setlength{\textheight}{\textwidth}%
+ \setlength{\textwidth}{\@tempdima}%
+ \expandafter\def\expandafter\Gm@process\expandafter{\Gm@process
\setlength{\@tempdima}{\textheight}%
\setlength{\textheight}{\textwidth}%
- \setlength{\textwidth}{\@tempdima}}
+ \setlength{\textwidth}{\@tempdima}}}
%</tate>
%
% \subsection{サイズオプション}