A comprehensive LaTeX package for creating styled boxes, titles, quotes, and bibliographic references, designed for academic and scientific documents.
- π¨ Styled Boxes (
\rbox) - Customizable colored boxes with titles - π Main Titles (
\maintitle) - Large, styled section titles - π¬ Quotes (
\quoter) - Formatted quotations with author attribution - π Rules (
\rrule) - Clean horizontal separators - π Sources (
\sources) - Bibliography with hyperlink support
\usepackage{essaykit}% Styled box
\rbox[title=Important, color=softblue]{
This is a highlighted box with a title.
}
% Main title
\maintitle[titlecolor=bluecolor]{Chapter 1: Introduction}
% Quote
\quoter{Science is organized knowledge.}{Herbert Spencer}
% Horizontal rule
\rrule
% Sources with hyperlinks
\sources{
\href{https://example.com}{Online Article},
Book Title by Author,
Journal Reference
}All commands support extensive customization through key-value options:
- Colors:
color,textcolor,titlecolor,authorcolor - Sizing:
width,titlesize,quotesize - Spacing:
titlespacing,quotespacing - Content:
title- Sets the box title text (any string)
greycolor,marooncolor,bluecolor, lightgray,
softgray, boxcolor, darkgray, softblue% Basic box
\rbox{Simple content}
% Titled box with custom styling
\rbox[title=Warning, color=red, textcolor=white]{
Important safety information
}
% Custom width box
\rbox[width=0.7\textwidth, color=lightgray]{
Narrower box for specific layouts
}% Large blue title
\maintitle[titlecolor=bluecolor, titlesize=\LARGE]{
Research Methodology
}
% Custom spacing
\maintitle[titlespacing=1cm]{Section Overview}% Styled quote
\quoter[authorcolor=darkgray, quotesize=\Large]{
The important thing is not to stop questioning.
}{Albert Einstein}Insert images without captions:
% Basic usage
\logo{image.png}{5cm}
% Use with positioning
\placeleft{2cm}{\logo{company-logo.png}{3cm}}{8cm}Insert captioned figures that can be referenced:
% Basic figure
\fig{chart.png}{Monthly sales data}{0.7\textwidth}
% Smaller figure
\fig{diagram.png}{System architecture}{0.5\textwidth}Position content at absolute locations on the page without affecting text flow:
% Place content from left margin
\placeleft{distance from left}{content}{content width}
% Example
\placeleft{3cm}{\logo{sidebar.png}{4cm}}{10cm}% Place content from right margin
\placeright{distance from right}{content}{content width}
% Example
\placeright{2cm}{\rbox[color=softblue]{Note}}{8cm}Note: Content placed with these commands floats above the text and doesn't affect document flow, similar to absolute positioning in CSS.
essaykit/
βββ essaykit.dtx # Documented source code
βββ essaykit.ins # Installation script
βββ essaykit.pdf # Package documentation
βββ README.md # This file
# Generate package file
latex essaykit.ins
# Build documentation
pdflatex essaykit.dtx
makeindex -s gind.ist essaykit.idx
pdflatex essaykit.dtx
pdflatex essaykit.dtx
make allThe package automatically loads:
tcolorbox- Colored boxeshyperref- PDF hyperlinksxkeyval- Key-value optionsxcolor- Color supportgraphicx- Image supporttextpos- Absolute positioning- And several others for full functionality
- LaTeX Version: Requires LaTeX2e (2005/12/01 or later)
- Engines: pdfLaTeX, XeLaTeX, LuaLaTeX
- Package Conflicts: Handles
hyperrefconflicts automatically
\maintitle{Abstract}
\rbox[color=lightgray]{
This paper presents a novel approach to...
}\rbox[title=Objective, color=softblue]{
To investigate the relationship between...
}\quoter{Imagination is more important than knowledge.}{Einstein}Load conflicting packages before essaykit:
\usepackage{animate}
\usepackage{multimedia}
\usepackage{essaykit} % Load lastUse predefined colors or define custom ones:
\definecolor{mycolor}{RGB}{100,150,200}
\rbox[color=mycolor]{Content}This package is released under the LaTeX Project Public License v1.3c or later. See LPPL 1.3c or later for details.
- Documentation:
essaykit.pdf - Issues: Report on GitHub
- Contact: [email protected]
Contributions are welcome! Please:
- Follow existing code style
- Add tests/examples for new features
- Update documentation
- Submit via standard channels
- File issue on github first
- v1.0 (2025/08/15) - Initial release
- Core functionality: boxes, titles, quotes, rules, sources
- Comprehensive key-value option system
- Hyperref integration
- v2.0 (2026/01/02) - Second release
- New logo box for university/school logos
- New fig element for figures
- New
\placeleftandplacerightcommands for absolute positioning
For complete documentation, see essaykit.pdf