# KKran [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) **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` を参照してください。