q*****g 发帖数: 1568 | 1 【 以下文字转载自 Linux 讨论区 】
发信人: qiuxing (球星), 信区: Linux
标 题: LaTeX Table 缩放解决了
发信站: BBS 未名空间站 (Wed Aug 3 12:29:45 2005), 转信
试了几个方案,下面的感觉效果最好。谢谢termi!
我最后用了 \scriptsize (=8pt). 下面是一个可选的字体列表:
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge |
|
o*****y 发帖数: 699 | 2 谢谢你的答复。我是用的amsbook。cls,我改动了下面:
\def\scriptsize{\small}
改为:
\def\scriptsize{\large}
有个新问题:如何使图表中的文字SIZE大些。比如FIGURE 1,TABLE 1等,总显得很小 |
|
T*******n 发帖数: 493 | 3 That's not a good solution because some packages
rely on the definition of \scriptsize giving a font size
that is consistent with the internal LaTeX macro \sf@size,
and by redefining \scriptsize you have broken this.
Try this instead: Save the following (up to and including
\endinput) in "mypgnum.sty" in the local directory and in
your document say \usepackage{mypgnum.sty} after all the
other \usepackage{...} commands.
\let\mypgnumsize=\large
\def\ps@plain{\ps@empty
\def\@oddfoot{\normalfont\ |
|
I***i 发帖数: 14557 | 4 You might want to try the following commands:
\tiny \small \large \huge \scriptsize \normalsize \Large \Huge \
footnotesize \LARGE
In your case, you could start by trying \tiny, \small, \scriptsize, \
footnotesize |
|
a*****r 发帖数: 443 | 5 有的公式太大 所以用了\begin{small}\end{small}
以及scriptsize甚至tiny
生成的pdf文件用我的打印机打印毫无问题
但到了老板的打印机那里就丢了各种大中小括号
请问哪位有类似的经验及解决办法 非常感谢!
是不是我的pdf设置有问题? |
|
T*******n 发帖数: 493 | 6 If \normalsize is 10pt, then \scriptsize is 7pt. |
|
m*****l 发帖数: 55 | 7 可以直接使用listings
\usepackage{listings}
\begin{lstlisting}[language=..., numbers=left, frame=single, basicstyle=\
scriptsize, keywordstyle=\color{black}, backgroundcolor=\color{lightgray}]
......
\end{lstlisting}
颜色可以随意改 |
|
k*********g 发帖数: 791 | 8 用列出了程序代码,发觉default的font很不合适,想用Fixedsys或terminal;
在主文件用了:
\usepackage{listings}
在程序appendix文件这么写的:
\section{C++ Code for Quantum Mechanics}
\lstset{%
language=C++, fonts=\fixedsys, basicstyle=\scriptsize,
keywordstyle=\color{blue}, commentstyle=\color{red}, numbers=left,
numberstyle=\tiny, numbersep=10pt, backgroundcolor=\color{white},
showspaces=false, breaklines=true, breakatwhitespace=false}
\subsection{$MPI\_correlation.cpp$}
\lstinputlisting{./code/MPI_correlation.cpp}
\subsection{$MPI\_supe |
|
k*********g 发帖数: 791 | 9 在程序appendix文件这么写的:
\section{C++ Code for Quantum Mechanics}
\lstset{%
language=C++, basicstyle=\scriptsize,
keywordstyle=\color{blue}, commentstyle=\color{red}, numbers=left,
numberstyle=\tiny, numbersep=10pt, backgroundcolor=\color{white},
showspaces=false, breaklines=true, breakatwhitespace=false}
\subsection{$MPI\_correlation.cpp$}
\lstinputlisting{./code/MPI_correlation.cpp}
\subsection{$MPI\_superposition.cpp$}
\lstinputlisting{./code/MPI_superposition.cpp}
\subsection{$MPI\_superpositionFi |
|
I***i 发帖数: 14557 | 10 OK, here they are listed in the increasing order:
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge |
|