Directory graphics/pgf/contrib/kkran
KKran
Flexible Answer Field Generator for Tests / 試験・テスト用解答欄作成パッケージ
Overview / 概要
KKran is a LaTeX package designed for generating answer fields used in tests and exams. The package name originates from the Japanese word "欄" (ran), which means a small area or field. It is fully compatible with both horizontal and vertical text layouts.
`KKran` は、テストや試験で作成される解答欄を生成するためのパッケージです。パッケージ名は「解答欄」などの「欄」に由来しています。横書き・縦書きの両方のフォーマットに完全対応しています。
- **Version**: 1.1.4
- **Date**: 2026-02-15
- **Author**: Kosei Kawaguchi (a.k.a. KKTeX)
- **License**: MIT
- **Repository**: [https://github.com/KKTeX/KKran](https://github.com/KKTeX/KKran)
- **Support**: p.c.aces1056@gmail.com
---
## Key Features / 特徴
- **Answer Field Generation / 解答欄の自動生成**
- Easily create structured areas for students to write their answers.
- 試験問題の解答スペースを、コマンド一つで簡単に作成できます。
- **Multi-Directional Support / 縦書き・横書き両対応**
- Works seamlessly in both horizontal and vertical writing modes.
- 日本語の縦書き(tate-gaki)環境でも、崩れることなく適切な解答欄を出力します。
- **Integration with KKsymbols / KKsymbolsとの連携**
- Leverages `KKsymbols` for enhanced visual elements.
- 自作の `KKsymbols` パッケージを活用しており、記号等と組み合わせた高度なレイアウトが可能です。
---
## Prerequisites / 前提条件
> This package is **LuaLaTeX-only**.
> 本パッケージは **LuaLaTeX専用** です。
**Dependencies / 依存パッケージ:**
- `calc`, `tikz`, `xcolor`, `KKsymbols`, `kvoptions`, `luacode`
---
## Usage / 使用方法
For detailed usage and examples, please refer to the documentation file: `kkran-doc.tex`.
具体的な使用方法や例については、ドキュメントファイル `kkran-doc.tex` を参照してください。
Download the contents of this package in one zip archive (388.8k).
KKran – Generate answer fields in tests and exams
A Lua- and TikZ-based package created for the Japanese education sector. It enables the arrangement of box-shaped answer fields in any desired combination using simple commands. It also facilitates the easy creation of multiple-choice answer sheets (mark sheets). Furthermore, it covers the functionality of toggling the display of model answers (solutions) via an option, and even the creation of grid-style answer fields (graph paper-like cells).
The package name originates from “欄 (:ran)”, which means “a small piece of area”, or “a small space”.
| Package | KKran |
| Repository | https://github.com/KKTeX/KKran |
| Version | 1.1.4 |
| Licenses | MIT License |
| Copyright | 2025–2026 Kosei Kawaguchi |
| Maintainer | KKTeX |
| Contained in | TeX Live as kkran MiKTeX as kkran |
| Topics | PGF TikZ Teaching LuaTeX Japanese Exam |