* In HTML export =code= appears too large compared to regular text
@ 2013-01-12 13:15 John Corless
2013-01-12 13:41 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: John Corless @ 2013-01-12 13:15 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Hello,
I am interested in changing the appearance of =code= (or ~verbatim~ for
that matter) in HTML export. In exporting the previous sentence with
default =C-c C-e b=, the words code and verbatim are much larger than
neighboring text. Worg pages look much nicer (see examples on
http://orgmode.org/worg/), as do Wiki pages generated on Github with Gollum
(using org-mode as markup, see my simple example at
https://github.com/jdcorless/research-tools-notes/wiki/Emacs). I would
like to get the same appearance in my regular HTML exports.
GNU Emacs 24.1.1
Org-mode version 7.8.11
I have tried searching org-mode manual, searching email archive, and
stackoverflow but have not been successful with this rather specific issue.
Thank you,
John D. Corless
jdcorless@gmail.com
[-- Attachment #2: Type: text/html, Size: 1080 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: In HTML export =code= appears too large compared to regular text
2013-01-12 13:15 In HTML export =code= appears too large compared to regular text John Corless
@ 2013-01-12 13:41 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-01-12 13:41 UTC (permalink / raw)
To: John Corless; +Cc: emacs-orgmode
Hi John,
John Corless <jdcorless@gmail.com> writes:
> I am interested in changing the appearance of =code= (or ~verbatim~
> for that matter) in HTML export. In exporting the previous sentence
> with default =C-c C-e b=, the words code and verbatim are much larger
> than neighboring text. Worg pages look much nicer (see examples on
> http://orgmode.org/worg/), as do Wiki pages generated on Github with
> Gollum (using org-mode as markup, see my simple example at https://
> github.com/jdcorless/research-tools-notes/wiki/Emacs). I would like
> to get the same appearance in my regular HTML exports.
You need to customize the CSS for this. You can try this:
(setq org-export-html-style
"<style type="text/css">
<![CDATA[
p { font-weight: normal; color: gray; }
h1 { color: black; }
.title { text-align: center; }
.todo, .timestamp-kwd { color: red; }
.done { color: green; }
code { font-size: 90%; }
]]>
</style>")
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-12 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12 13:15 In HTML export =code= appears too large compared to regular text John Corless
2013-01-12 13:41 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).