| 1 |
# KKran |
| 2 |
|
| 3 |
[](https://opensource.org/licenses/MIT) |
| 4 |
|
| 5 |
**Flexible Answer Field Generator for Tests / 試験・テスト用解答欄作成パッケージ** |
| 6 |
|
| 7 |
--- |
| 8 |
|
| 9 |
## Overview / 概要 |
| 10 |
|
| 11 |
`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.<br> |
| 12 |
`KKran` は、テストや試験で作成される解答欄を生成するためのパッケージです。パッケージ名は「解答欄」などの「欄」に由来しています。横書き・縦書きの両方のフォーマットに完全対応しています。 |
| 13 |
|
| 14 |
- **Version**: 1.1.6 |
| 15 |
- **Date**: 2026-02-20 |
| 16 |
- **Author**: Kosei Kawaguchi (a.k.a. KKTeX) |
| 17 |
- **License**: MIT |
| 18 |
- **Repository**: [https://github.com/KKTeX/KKran](https://github.com/KKTeX/KKran) |
| 19 |
- **Support**: [email protected] |
| 20 |
|
| 21 |
--- |
| 22 |
|
| 23 |
## Key Features / 特徴 |
| 24 |
|
| 25 |
- **Answer Field Generation / 解答欄の自動生成** |
| 26 |
- Easily create structured areas for students to write their answers. |
| 27 |
- 試験問題の解答スペースを、コマンド一つで簡単に作成できます。 |
| 28 |
|
| 29 |
- **Multi-Directional Support / 縦書き・横書き両対応** |
| 30 |
- Works seamlessly in both horizontal and vertical writing modes. |
| 31 |
- 日本語の縦書き(tate-gaki)環境でも、崩れることなく適切な解答欄を出力します。 |
| 32 |
|
| 33 |
- **Integration with KKsymbols / KKsymbolsとの連携** |
| 34 |
- Leverages `KKsymbols` for enhanced visual elements. |
| 35 |
- 自作の `KKsymbols` パッケージを活用しており、記号等と組み合わせた高度なレイアウトが可能です。 |
| 36 |
|
| 37 |
--- |
| 38 |
|
| 39 |
## Prerequisites / 前提条件 |
| 40 |
|
| 41 |
> This package is **LuaLaTeX-only**. |
| 42 |
> 本パッケージは **LuaLaTeX専用** です。 |
| 43 |
|
| 44 |
**Dependencies / 依存パッケージ:** |
| 45 |
- `calc`, `tikz`, `xcolor`, `KKsymbols`, `kvoptions`, `luacode` |
| 46 |
|
| 47 |
--- |
| 48 |
|
| 49 |
## Usage / 使用方法 |
| 50 |
|
| 51 |
For detailed usage and examples, please refer to the documentation file: `kkran-doc.tex`.<br> |
| 52 |
具体的な使用方法や例については、ドキュメントファイル `kkran-doc.tex` を参照してください。 |