我想减少Org-Mode / Beamer演示文稿中包含的代码块所使用的字体大小。我可以使用什么命令,以便仅影响src
块的内容?
这是一个最小的工作示例:代码块快结束了:
#+TITLE: <<title>>
#+AUTHOR: Dave
#+EMAIL:
#+DATE: <<date>>
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc toc:nil \n:nil
#+INFOJS_OPT: view:nil toc:t ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:
#+XSLT:
#+startup: beamer
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [bigger]
#+LATEX_HEADER: \usepackage{pgfpages}
#+LATEX_HEADER: \pgfpagesuselayout{resize to}[letterpaper,border shrink=5mm,landscape]
#+LATEX_HEADER: \usetheme{Dresden}
#+LATEX_HEADER: \usepackage[utf8x]{inputenc}
#+LATEX_HEADER: \setbeamertemplate{itemize items}[default]
#+LATEX_HEADER: \setbeamertemplate{enumerate items}[default]
#+LATEX_HEADER: \institute{}
#+BEAMER_FRAME_LEVEL: 2
#+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)
* Presentation
** Code Example
*** Text
:PROPERTIES:
:BEAMER_env: ignoreheading
:BEAMER_col:0.5
:END:
- Text describing code
- More text
*** Graphics
:PROPERTIES:
:BEAMER_env: ignoreheading
:BEAMER_col:0.5
:END:
% LOOK HERE!
% I want the text in this code block to be smaller
#+begin_src python
import sys
import os
import super_cool_module
value=super_cool_module.evalauate(42)
#+end_src
$F=ma$
成为较小的字体-用于HTML或乳胶导出?