From 59dce0a8d72a499c11f054d6f8d48e31581c4602 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Mon, 8 May 2006 07:29:42 +0000 Subject: [PATCH] muse-latex: Make images look better. * lisp/muse-latex.el (muse-latex-markup-strings): Make width of images to be 75% the width of the page, which looks better. Enclose images in figures, and center them. git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-119 --- ChangeLog.2006 | 15 +++++++++++++++ lisp/muse-latex.el | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ChangeLog.2006 b/ChangeLog.2006 index c4a60ff..c699a71 100644 --- a/ChangeLog.2006 +++ b/ChangeLog.2006 @@ -2,6 +2,21 @@ # arch-tag: automatic-ChangeLog--mwolson@gnu.org--2006/muse--main--1.0 # +2006-05-08 07:29:42 GMT Michael Olson patch-119 + + Summary: + muse-latex: Make images look better. + Revision: + muse--main--1.0--patch-119 + + * lisp/muse-latex.el (muse-latex-markup-strings): Make width of images to + be 75% the width of the page, which looks better. Enclose images in + figures, and center them. + + modified files: + ChangeLog.2006 lisp/muse-latex.el + + 2006-04-27 00:31:01 GMT Michael Olson patch-118 Summary: diff --git a/lisp/muse-latex.el b/lisp/muse-latex.el index 8850954..7df1204 100644 --- a/lisp/muse-latex.el +++ b/lisp/muse-latex.el @@ -140,9 +140,9 @@ For more on the structure of this list, see :group 'muse-latex) (defcustom muse-latex-markup-strings - '((image-with-desc . "\\includegraphics[width=\\textwidth]{%s}") - (image-link . "\\includegraphics[width=\\textwidth]{%s}") - (url-with-image . "%% %s\n\\includegraphics[width=\\textwidth]{%s}") + '((image-with-desc . "\\begin{figure}[h]\\centering\\includegraphics[width=0.75\\textwidth]{%s}\\caption{%s}\\end{figure}") + (image-link . "\\begin{figure}[h]\\centering\\includegraphics[width=0.75\\textwidth]{%s}\\end{figure}") + (url-with-image . "%% %s\n\\includegraphics[width=0.75\\textwidth]{%s}") (anchor-ref . "\\ref{%s}") (url . "\\url{%s}") (url-and-desc . "\\href{%s}{%s}\\footnote{%1%}") -- 2.11.4.GIT