數值表中的函數值位於列中,而不是行中

數值表中的函數值位於列中,而不是行中

包裹numerica-tables幫助創建數學函數值的多個列表,該包將值排列在行上,如這個簡單的範例所示

\documentclass{article}
\usepackage{numerica}
\usepackage{numerica-tables}
\begin{document}

\tabulate[rvar=x,rstep=0.2,rstop=1]
{ \sin x }[x=0]

\end{document}

我查看了軟體包手冊,找不到任何按列排列值的表格範例,是否有任何幫助可以建立類似於此軟體包圖像的函數值表格?

在此輸入影像描述

答案1

這是一個合理的請求,該numerica-tables包目前不容易滿足,但可以透過迂迴的方式得到你想要的結果:

\constants{ x=0 }
\tabulate[rdata={\sin x},rverb=1,rhead=x,
   cvar=y,cstep=0.2,cstop=1,chround=1]
   { \sin y }[y=0.2]

相關內容