btex: font upgrade and more horz margin

This commit is contained in:
minjaesong
2024-05-09 03:57:58 +09:00
parent 162b7862bc
commit ef7138939d
8 changed files with 33 additions and 55 deletions

View File

@@ -36,13 +36,13 @@ class BTeXDocument : Disposable {
var theAuthor = ""
var theEdition = ""
var textWidth = 512
var textWidth = 508
val lineHeightInPx = 24
var pageLines = 24
val textHeight: Int
get() = pageLines * lineHeightInPx
val pageMarginH = 15
val pageMarginH = 20
val pageMarginV = 12
val pageDimensionWidth: Int

View File

@@ -571,7 +571,7 @@ object BTeXParser {
)
private val pageWidthMap = hashMapOf(
"standard" to 512,
"standard" to 508,
"examination" to 640,
)
private val pageHeightMap = hashMapOf(