![LongTable 中的字体缩小](https://linux22.com/image/404446/LongTable%20%E4%B8%AD%E7%9A%84%E5%AD%97%E4%BD%93%E7%BC%A9%E5%B0%8F.png)
我有一张长表,我想增加字体大小。
请指导我编写此代码。
\documentclass[a4]{article}%
\usepackage{graphicx}
\usepackage{longtable}
\begin{document}
\begin{longtable}{ll}
\hline
$f(t)=L^{-1}(F(s))(t)$ & $F(s)=L(f(t))(s)$ \\
\hline
1 & $\frac{1}{s},~~~~s>0$ \\
$t$ & $\frac{1}{s^{2}},~~~~s>0$ \\
$\frac{t^{n-1}}{(n-1)!},~~~~n=1,2,\cdots$ & $\frac{1}{s^{n}},~~~~n=1,2,\cdots ,~s>0$\\
$\frac{1}{\sqrt{\pi t}},~~~~t>0$ & $\frac{1}{\sqrt{s}},~~~~s>0$ \\
$2\sqrt{t/\pi},~~~~t>0$ & $\frac{1}{s^{3/2}},~~~~s>0$ \\
$t^{a-1}/\Gamma (a) ,~~~~a>0$ & $\frac{1}{s^{a}},~~~~a>0 ;~~s>0$ \\
$e^{at}$ & $\frac{1}{s-a},~~~~s>a$ \\
$te^{at}$ & $\frac{1}{(s-a)^{2}},~~~~s>a$ \\
$\frac{1}{(n-1)!}t^{n-1}e^{at},~~~~n=1,2,\cdots $ & $\frac{1}{(s-a)^{n}} ;~~~~s>a,~n=1,2,\cdots$\\
$\frac{1}{\Gamma (k)}t^{k-1}e^{at},~~~~k>0$ & $\frac{1}{(s-a)^{k}},~~~~k>0$ \\
$\frac{1}{a}(e^{2t}-1)$ & $\frac{1}{s(s-a)},~~~~s>\max \{0,a\}$ \\
$\frac{1}{a-b}(e^{at}-e^{bt})$ & $\frac{1}{(s-a)(s-b)} ;~~~~a\neq b,~s>\max \{a,b\}$ \\
$-\frac{(b-c)e^{at}+(c-a)e^{bt}+(a-b)e^{ct}}{(a-b)(b-c)(c-a)}$ & $\frac{1}{(s-a)(s-b)(s-c)};~~s>\max \{a,b,c\},~a\neq b, b\neq c , c\neq a$ \\
%1
%2
$\frac{1}{a-b}(ae^{at}-be^{bt})$ & $\frac{s}{(s-a)(s-b)};~~a\neq b ,~s>\max \{a,b\}$ \\
$(1+at)e^{at}$ & $\frac{s}{(s-a)^{2}},~~~~s>a$ \\
$\frac{1}{b}\sin bt , ~~~~b\neq 0$ & $\frac{1}{s^{2}+b^{2}};~~~~s>0,~~b\neq 0$ \\
$\cos bt$ & $\frac{s}{s^{2}+b^{2}},~~~~s>0$ \\
$\frac{1}{b}\sin bt , ~~~~b\neq 0$ & $\frac{1}{s^{2}-b^{2}},~~~~s>0,~~b\neq 0$ \\
$\cosh bt$ & $\frac{s}{s^{2}-b^{2}},~~~~s>0$ \\
$\frac{1}{b}e^{at}\sinh bt,~~~~b\neq 0$ & $\frac{1}{(s-a)^{2}+b^{2}};~~~~s>a,~b\neq 0$ \\
$e^{at}\cos bt $ & $\frac{s-a}{(s-a)^{2}+b^{2}},~~~s>a$ \\
$\frac{1}{b^{2}}(1-\cos bt),~~~~b\neq 0$ & $\frac{1}{s(s^{2}+b^{2})};~~~~s>0,~b \neq 0$ \\
$\frac{1}{b^{3}}(bt -\sin bt),~~~~b\neq 0$ & $\frac{1}{s^{2}(s^{2}+b^{2})};~~~~s>0,~b \neq 0$ \\
$\frac{1}{b^{3}}(\sinh bt - bt),~~~~b\neq 0$ & $\frac{1}{s^{2}(s^{2}-b^{2})};~~~~s>0,~b \neq 0$ \\
%2
%3
$\frac{1}{2b^{3}}(\sin bt- bt \cos bt),b\neq 0$ & $\frac{1}{(s^{2}+b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b}t \sin bt ,~~~~b\neq 0$ & $\frac{s}{(s^{2}+b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b}(\sin bt+ bt \cos bt),b\neq 0$ & $\frac{s^{2}}{(s^{2}+b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b^{3}}(bt\cosh bt- \sinh bt),b\neq 0$ & $\frac{1}{(s^{2}-b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b}t\sinh bt ,~~~~b \neq 0$ & $\frac{s}{(s^{2}-b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b}(\sin bt+ bt \cos bt),b\neq 0$ & $\frac{s^{2}}{(s^{2}-b^{2})^{2}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{a^{2}-b^{2}}\left( \frac{\sin bt}{b} - \frac{\sin at}{a} \right),~~~~a^{2}\neq b^{2}$ & $\frac{1}{(s^{2}+a^{2})(s^{2}+b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
$\frac{1}{a^{2}-b^{2}}( \cos bt -\cos at) ,~~~~a^{2}\neq b^{2}$ & $\frac{s}{(s^{2}+a^{2})(s^{2}+b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
$\frac{1}{a^{2}-b^{2}}( a\sin at -b\sin bt) ,~~~~a^{2}\neq b^{2}$ & $\frac{s^{2}}{(s^{2}+a^{2})(s^{2}+b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
$\frac{1}{a^{2}-b^{2}}\left( \frac{\sinh at}{a} -\frac{\sinh bt}{b}\right) ,~~~~a^{2}\neq b^{2}$ & $\frac{1}{(s^{2}-a^{2})(s^{2}-b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
$\frac{1}{a^{2}-b^{2}}( \cosh at -\cosh bt) ,~~~~a^{2}\neq b^{2}$ & $\frac{s}{(s^{2}-a^{2})(s^{2}-b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
%3
%4
$\frac{1}{a^{2}-b^{2}}( a\sinh at -b\sinh bt) ,~~~~a^{2}\neq b^{2}$ & $\frac{s^{2}}{(s^{2}-a^{2})(s^{2}-b^{2})};~~~~s>0,~a^{2}\neq b^{2}$ \\
$\frac{1}{4b^{3}}( \sin bt \cos bt -\cos bt \sinh bt) $ & $\frac{1}{s^{4}+4b^{4}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b^{2}}\sin bt \sinh bt $ & $\frac{s}{s^{4}+4b^{4}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{b}\sin bt \cosh bt $ & $\frac{s^{2}+2b^{2}}{s^{4}+4b^{4}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{b}\cos bt \sinh bt $ & $\frac{s^{2}-2b^{2}}{s^{4}+4b^{4}};~~~~s>0,~b\neq 0$ \\
$\cos bt \cosh bt $ & $\frac{s^{3}}{s^{4}+4b^{4}},~~~~s>0$ \\
$\frac{1}{2b^{3}}(\sinh bt- \sin bt) $ & $\frac{1}{s^{4}-b^{4}};~~~~s>0,~b\neq 0$ \\
$\frac{1}{2b^{2}}(\cosh bt- \cos bt) $ & $\frac{s}{s^{4}-b^{4}};~~~~s>0,~b\neq 0$ \\
$J_{0}(bt)$ & $\frac{1}{\sqrt{s^{2}+b^{2}}},~~~s>0$ \\
$\frac{e^{bt}-e^{at}}{t}$ & $\ln \frac{s-a}{s-b},~~~~s>\max \{a,b\}$ \\
$\frac{2(1-\cos bt)}{2}$ & $\ln \frac{s^{2}+b^{2}}{s^{2}},~~~~s>0$ \\
$\frac{2(1-\cosh bt)}{2}$ & $\ln \frac{s^{2}-b^{2}}{s^{2}},~~~~s>0$ \\
%4
%5
$H(t-a)$ & $\frac{e^{-as}}{s}$ \\
$\delta (t-a)$ & $e^{-as}$ \\
$f(t-a)H(t-a)$ & $e^{-as}F(s)$ \\
$J_{0}(2\sqrt{at})$ & $\frac{1}{s}e^{-a/s};~~~~s>0,a>0$ \\
$\frac{1}{\sqrt{\pi t}}\cos 2\sqrt{at}$ & $\frac{1}{\sqrt{s}}e^{-a/s};~~~~s>0,a>0$ \\
$\frac{a}{2\sqrt{\pi t^{3}}}e^{-a^{2}/4t}$ & $e^{-a\sqrt{s}};~~~~s>0,a>0$ \\
$t^{n}f(t),~~~~n=1,2,\cdots $ & $(-1)F^{(n)}(s) ,~~~n=1,2,\cdots $ \\
$\frac{f(t)}{t},~~~~t>0$ & $\int _{s}^{\infty}F(u)du$\\
\end{longtable}
\end{document}
答案1
这是具有正常大小和分数的代码 \displaystyle
。我加载了cellspace
包以向单元格添加一些垂直填充:
\documentclass[a4]{article}%
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{array, cellspace}
\setlength{\cellspacetoplimit}{2pt}
\setlength{\cellspacebottomlimit}{2pt}
\usepackage{longtable}
\begin{document}
\begin{longtable}{>{$\displaystyle}Sl<{$}>{$\displaystyle}Sl<{$}}
\hline
f(t)=L^{-1}(F(s))(t) & F(s)=L(f(t))(s) \\
\hline
1 & \frac{1}{s},\quad s>0 \\
t & \frac{1}{s^{2}}\quad s>0 \\
\frac{t^{n-1}}{(n-1)!},\quad n=1,2,\cdots & \frac{1}{s^{n}},\quad n=1,2,\cdots ,~s>0\\
\frac{1}{\sqrt{\pi t}},\quad t>0 & \frac{1}{\sqrt{s}},\quad s>0 \\
2\sqrt{t/\pi},\quad t>0 & \frac{1}{s^{3/2}},\quad s>0 \\
t^{a-1}/\Gamma (a) ,\quad a>0 & \frac{1}{s^{a}},\quad a>0 ;~~s>0 \\
e^{at} & \frac{1}{s-a},\quad s>a \\
te^{at} & \frac{1}{(s-a)^{2}},\quad s>a \\
\frac{1}{(n-1)!}t^{n-1}e^{at},\quad n=1,2,\cdots & \frac{1}{(s-a)^{n}} ;\quad s>a,~n=1,2,\cdots\\
\frac{1}{\Gamma (k)}t^{k-1}e^{at},\quad k>0 & \frac{1}{(s-a)^{k}},\quad k>0 \\
\frac{1}{a}(e^{2t}-1) & \frac{1}{s(s-a)},\quad s>\max \{0,a\} \\
\frac{1}{a-b}(e^{at}-e^{bt}) & \frac{1}{(s-a)(s-b)} ;\quad a\neq b,~s>\max \{a,b\} \\
-\frac{(b-c)e^{at}+(c-a)e^{bt}+(a-b)e^{ct}}{(a-b)(b-c)(c-a)} & \frac{1}{(s-a)(s-b)(s-c)};\enspace s>\max \{a,b,c\},~a\neq b\neq c \\
%1
%2
\frac{1}{a-b}(ae^{at}-be^{bt}) & \frac{s}{(s-a)(s-b)};\enspace a\neq b ,~s>\max \{a,b\} \\
(1+at)e^{at} & \frac{s}{(s-a)^{2}},\quad s>a \\
\frac{1}{b}\sin bt , \quad b\neq 0 & \frac{1}{s^{2}+b^{2}};\quad s>0,\enspace b\neq 0 \\
\cos bt & \frac{s}{s^{2}+b^{2}},\quad s>0 \\
\frac{1}{b}\sin bt , \quad b\neq 0 & \frac{1}{s^{2}-b^{2}},\quad s>0,\enspace ab\neq 0 \\
\cosh bt & \frac{s}{s^{2}-b^{2}},\quad s>0 \\
\frac{1}{b}e^{at}\sinh bt,\quad b\neq 0 & \frac{1}{(s-a)^{2}+b^{2}};\quad s>a,~b\neq 0 \\
e^{at}\cos bt & \frac{s-a}{(s-a)^{2}+b^{2}},\enspace s>a \\
\frac{1}{b^{2}}(1-\cos bt),\quad b\neq 0 & \frac{1}{s(s^{2}+b^{2})};\quad s>0,~b \neq 0 \\
\frac{1}{b^{3}}(bt -\sin bt),\quad b\neq 0 & \frac{1}{s^{2}(s^{2}+b^{2})};\quad s>0,~b \neq 0 \\
\frac{1}{b^{3}}(\sinh bt - bt),\quad b\neq 0 & \frac{1}{s^{2}(s^{2}-b^{2})};\quad s>0,~b \neq 0 \\
%2
%3
\frac{1}{2b^{3}}(\sin bt- bt \cos bt),b\neq 0 & \frac{1}{(s^{2}+b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{2b}t \sin bt ,\quad b\neq 0 & \frac{s}{(s^{2}+b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{2b}(\sin bt+ bt \cos bt),b\neq 0 & \frac{s^{2}}{(s^{2}+b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{2b^{3}}(bt\cosh bt- \sinh bt),b\neq 0 & \frac{1}{(s^{2}-b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{2b}t\sinh bt ,\quad b \neq 0 & \frac{s}{(s^{2}-b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{2b}(\sin bt+ bt \cos bt),b\neq 0 & \frac{s^{2}}{(s^{2}-b^{2})^{2}};\quad s>0,~b\neq 0 \\
\frac{1}{a^{2}-b^{2}}\left( \frac{\sin bt}{b} - \frac{\sin at}{a} \right),\quad a^{2}\neq b^{2} & \frac{1}{(s^{2}+a^{2})(s^{2}+b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
\frac{1}{a^{2}-b^{2}}( \cos bt -\cos at) ,\quad a^{2}\neq b^{2} & \frac{s}{(s^{2}+a^{2})(s^{2}+b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
\frac{1}{a^{2}-b^{2}}( a\sin at -b\sin bt) ,\quad a^{2}\neq b^{2} & \frac{s^{2}}{(s^{2}+a^{2})(s^{2}+b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
\frac{1}{a^{2}-b^{2}}\left( \frac{\sinh at}{a} -\frac{\sinh bt}{b}\right) ,\quad a^{2}\neq b^{2} & \frac{1}{(s^{2}-a^{2})(s^{2}-b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
\frac{1}{a^{2}-b^{2}}( \cosh at -\cosh bt) ,\quad a^{2}\neq b^{2} & \frac{s}{(s^{2}-a^{2})(s^{2}-b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
%3
%4
\frac{1}{a^{2}-b^{2}}( a\sinh at -b\sinh bt) ,\quad a^{2}\neq b^{2} & \frac{s^{2}}{(s^{2}-a^{2})(s^{2}-b^{2})};\quad s>0,~a^{2}\neq b^{2} \\
\frac{1}{4b^{3}}( \sin bt \cos bt -\cos bt \sinh bt) & \frac{1}{s^{4}+4b^{4}};\quad s>0,~b\neq 0 \\
\frac{1}{2b^{2}}\sin bt \sinh bt & \frac{s}{s^{4}+4b^{4}};\quad s>0,~b\neq 0 \\
\frac{1}{b}\sin bt \cosh bt & \frac{s^{2}+2b^{2}}{s^{4}+4b^{4}};\quad s>0,~b\neq 0 \\
\frac{1}{b}\cos bt \sinh bt & \frac{s^{2}-2b^{2}}{s^{4}+4b^{4}};\quad s>0,~b\neq 0 \\
\cos bt \cosh bt & \frac{s^{3}}{s^{4}+4b^{4}},\quad s>0 \\
\frac{1}{2b^{3}}(\sinh bt- \sin bt) & \frac{1}{s^{4}-b^{4}};\quad s>0,~b\neq 0 \\
\frac{1}{2b^{2}}(\cosh bt- \cos bt) & \frac{s}{s^{4}-b^{4}};\quad s>0,~b\neq 0 \\
J_{0}(bt) & \frac{1}{\sqrt{s^{2}+b^{2}}},\quad s>0 \\
\frac{e^{bt}-e^{at}}{t} & \ln \frac{s-a}{s-b},\quad s>\max \{a,b\} \\
\frac{2(1-\cos bt)}{2} & \ln \frac{s^{2}+b^{2}}{s^{2}},\quad s>0 \\
\frac{2(1-\cosh bt)}{2} & \ln \frac{s^{2}-b^{2}}{s^{2}},\quad s>0 \\
%4
%5
H(t-a) & \frac{e^{-as}}{s} \\
\delta (t-a) & e^{-as} \\
f(t-a)H(t-a) & e^{-as}F(s) \\
J_{0}(2\sqrt{at}) & \frac{1}{s}e^{-a/s};\quad s>0,a>0 \\
\frac{1}{\sqrt{\pi t}}\cos 2\sqrt{at} & \frac{1}{\sqrt{s}}e^{-a/s};\quad s>0,a>0 \\
\frac{a}{2\sqrt{\pi t^{3}}}e^{-a^{2}/4t} & e^{-a\sqrt{s}};\quad s>0,a>0 \\
t^{n}f(t),\quad n=1,2,\cdots & (-1)F^{(n)}(s) ,\quad n=1,2,\cdots \\
\frac{f(t)}{t},\quad t>0 & \int _{s}^{\infty}F(u)du
\end{longtable}
\end{document}