- Split PrimeManual package into multiple packages.

- Change original PrimeManual package into a class and rename Manual.
This commit is contained in:
Silcantar
2025-07-09 21:01:35 -05:00
parent 40b8836e51
commit 8dfaf66c18
16 changed files with 364 additions and 307 deletions

33
Graphics.sty Normal file
View File

@@ -0,0 +1,33 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/Graphics}[2025-07-09]
\RequirePackage{PrimeTeX/Layout}
% Graphics package for including images
\RequirePackage{graphicx}
\RequirePackage[hypcap=true]{caption}
\newcommand{\ig}[2][0.5in]{
\includegraphics[keepaspectratio,width=#1]{#2}
}
\newcommand{\cfig}[4]{%
\begin{figure}[ht]%
\centering%
#4{#1}%
\caption{#3}%
\label{fig:#2}%
\end{figure}%
}
\newcommand{\centerfig}[3]{\cfig{#1}{#2}{#3}{\includegraphics}}
\newcommand{\centerfigw}[4][\textwidth]{\cfig{#2}{#3}{#4}{\includegraphics[keepaspectratio,width=#1]}}
\newcommand{\bigfig}[4][1in]{%
\bigfloat[#1]{%
\captionsetup{type=figure}%
\includegraphics[keepaspectratio,width=\bfFigureWidth]{#2}%
\captionof{figure}{#4}%
\label{fig:#3}%
}%
}
%#endregion