[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org d37e4dc0f2: ox-latex: Scale inlinetasks according t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org d37e4dc0f2: ox-latex: Scale inlinetasks according to column width |
Date: |
Sun, 29 May 2022 06:57:50 -0400 (EDT) |
branch: externals/org
commit d37e4dc0f2f9f65a94eb99546c5263374abe261c
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
ox-latex: Scale inlinetasks according to column width
* lisp/ox-latex.el (org-latex-format-inlinetask-default-function): Set
inlinetask box width relative to \linewidth in current column. Using
\textwidth scales the box wider than column in multi-column documents.
---
lisp/ox-latex.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 5a2de8afb4..ed985133a3 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -2453,10 +2453,10 @@ See `org-latex-format-inlinetask-function' for details."
(mapcar #'org-latex--protect-text tags)))))))
(concat "\\begin{center}\n"
"\\fbox{\n"
- "\\begin{minipage}[c]{.6\\textwidth}\n"
+ "\\begin{minipage}[c]{.6\\linewidth}\n"
full-title "\n\n"
(and (org-string-nw-p contents)
- (concat "\\rule[.8em]{\\textwidth}{2pt}\n\n" contents))
+ (concat "\\rule[.8em]{\\linewidth}{2pt}\n\n" contents))
"\\end{minipage}\n"
"}\n"
"\\end{center}")))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org d37e4dc0f2: ox-latex: Scale inlinetasks according to column width,
ELPA Syncer <=