公式识别

今天发现了一个好东西,就是如果想复制人家文章里的公式到自己的latex中,可以使用下面的网站
https://www.latexlive.com/home##
登陆后,就可以直接截图,然后就可以得到对应的latex代码
例如

直接截图复制到那个在线网站上
可以看到这个结果可比自己一个一个敲要快多了

有了上面的这个,我想做另外一个事,是否有让latex识别表格的插件呢,
我搜了一下,这个是有的,是excel2latex啦

安装excel2latex

参考
https://www.bilibili.com/read/cv14219721/

首先去官网下载
https://ctan.org/tex-archive/support/excel2latex/
然后打开excel


进入
然后找到刚才下载的xla文件,点击确定就可以安装了
如果安装成功,那么最终的结果如下

使用教程

首先准备一个excel表格,如下
首先选择表格的全部数据
然后选择加载项里对应的那么个表格,如下
这里就可以生成
点击Copy to Clipboard就可以复制到粘贴板了,保存到文件好像是报错了,不过我也不需要这个,
不过这里有个小bug,

现在复制得到的latex代码其实格式是乱的,直接复制到texstudio中

这个太乱了,直接运行会报错,需要值\begin{table}和\end{table}前自己换一下行
,或者可以先把代码复制到typora中,然后从typora中把latex代码复制到texstudio中

这里可以看到,格式变好了,最终就可以运行texstudio看表格的结果了,下面是我的测试代码

% 例5
\documentclass{article}\usepackage{booktabs}
\usepackage{multirow}\title{My First Document}
\author{Mingliang Zhang}
\date{\today}\begin{document}\maketitleHello,$$f(x)=3x^2+x-1$$This is a message.\begin{table}[htbp]\centering\caption{Add caption}\begin{tabular}{lrrrrrrrr}4batch\_4celltype\_multi & \multicolumn{1}{l}{tDCA} & \multicolumn{1}{l}{fastMNN} & \multicolumn{1}{l}{harmony} & \multicolumn{1}{l}{Seurat3} & \multicolumn{1}{l}{scanorama} & \multicolumn{1}{l}{INSCT} & \multicolumn{1}{l}{BBKNN} & \multicolumn{1}{l}{liger} \\ARI   & 1     & 1     & 0.333 & 1     & 1     & 1     & 1     & 0.866 \\NMI   & 1     & 1     & 0.667 & 1     & 1     & 1     & 1     & 0.816 \\ASW\_label & 0.727 & 0.655 & 0.533 & 0.643 & 0.632 & 0.962 & 0.93  & 0.563 \\ASW\_label/batch & 0.98  & 0.981 & 0.276 & 0.925 & 0.988 & 0.854 & 0.565 & 0.971 \\BatchKL & 0.187 & 0.205 & 2     & 0.612 & 0.158 & 0.611 & 1.499 & 0.167 \\cLISI & 1     & 1     & 1     & 1     & 1     & 1     & 1     & 1.037 \\iLISI & 3.132 & 3.089 & 1     & 2.174 & 3.217 & 2.462 & 1.173 & 3.225 \\\end{tabular}%\label{tab:addlabel}%\end{table}%% Table generated by Excel2LaTeX from sheet '4batch_4celltype_multi_evaluati'
\begin{table}[htbp]\centering\caption{Add caption}\begin{tabular}{lrrrrrrrr}& \multicolumn{1}{l}{tDCA} & \multicolumn{1}{l}{fastMNN} & \multicolumn{1}{l}{harmony} & \multicolumn{1}{l}{Seurat3} & \multicolumn{1}{l}{scanorama} & \multicolumn{1}{l}{INSCT} & \multicolumn{1}{l}{BBKNN} & \multicolumn{1}{l}{liger} \\ARI   & 1     & 1     & 0.333 & 1     & 1     & 1     & 1     & 0.866 \\NMI   & 1     & 1     & 0.667 & 1     & 1     & 1     & 1     & 0.816 \\ASW\_label & 0.727 & 0.655 & 0.533 & 0.643 & 0.632 & 0.962 & 0.93  & 0.563 \\ASW\_label/batch & 0.98  & 0.981 & 0.276 & 0.925 & 0.988 & 0.854 & 0.565 & 0.971 \\BatchKL & 0.187 & 0.205 & 2     & 0.612 & 0.158 & 0.611 & 1.499 & 0.167 \\cLISI & 1     & 1     & 1     & 1     & 1     & 1     & 1     & 1.037 \\iLISI & 3.132 & 3.089 & 1     & 2.174 & 3.217 & 2.462 & 1.173 & 3.225 \\\end{tabular}%\label{tab:addlabel}%
\end{table}%% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{table}[htbp]\centering\caption{Add caption}\begin{tabular}{c|lrrrrrrrrr}\toprule\multicolumn{2}{c}{\multirow{2}[4]{*}{\textbf{Method}}} & \multicolumn{3}{c}{\textbf{Dataset 1}} & \multicolumn{3}{c}{\textbf{Dataset 2}} & \multicolumn{3}{c}{\textbf{Dataset 3}} \\\cmidrule{3-11}    \multicolumn{2}{c}{} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} \\\midrule\multirow{2}[2]{*}{Non-Graph} & MLP  &      &      &      &      &      &      &      &      &  \\& SVR  &      &      &      &      &      &      &      &      &  \\\midrule\multirow{5}[2]{*}{Graph} & GCN  &      &      &      &      &      &      &      &      &  \\& GAT  &      &      &      &      &      &      &      &      &  \\& RGCN &      &      &      &      &      &      &      &      &  \\& GIN  &      &      &      &      &      &      &      &      &  \\& ChebNet &      &      &      &      &      &      &      &      &  \\\midrule\midrule\textbf{Proposed} & \textbf{ABC} &      &      &      &      &      &      &      &      &  \\\bottomrule\end{tabular}%\label{tab:addlabel}%
\end{table}%% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{table}[htbp]\centering\setlength{\abovecaptionskip}{2pt}%\setlength{\belowcaptionskip}{10pt}%\caption{It is a table.}\begin{tabular}{c|lrrrrrrrrr}\bottomrule %\toprule\multicolumn{2}{c}{\multirow{2}[4]{*}{\textbf{Method}}} & \multicolumn{3}{c}{\textbf{Dataset 1}} & \multicolumn{3}{c}{\textbf{Dataset 2}} & \multicolumn{3}{c}{\textbf{Dataset 3}} \\\cmidrule(r){3-5} \cmidrule(r){6-8} \cmidrule{9-11}  \multicolumn{2}{c}{} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} & \multicolumn{1}{c}{RMSE} & \multicolumn{1}{c}{MAE} & \multicolumn{1}{c}{ACC} \\\hline\multirow{2}[2]{*}{Non-Graph} & MLP &   &   &      &    &      &      &      &      &  \\& SVR  &      &      &      &      &      &      &      &      &  \\\hline\multirow{5}[2]{*}{Graph} & GCN  &  &  &      &      &      &      &      &      &  \\& GAT  &      &      &      & & &      &      &      &  \\& RGCN &      &      &      &      &      &      &      &      &  \\& GIN  &      &      &      &      &      &      &      &      &  \\& ChebNet &      &      &      &      &      &      &      &      &  \\\hline\hline\textbf{Proposed} & \textbf{ABC} &      &      &      &      &      &      &      &      &  \\\toprule %\bottomrule\end{tabular}%\label{tab:addlabel}%
\end{table}%% Table generated by Excel2LaTeX from sheet '4batch_4celltype_multi_evaluati'\begin{table}[htbp]  \centering  \caption{Add caption}    \begin{tabular}{lrrrrrrrr}    4batch\_4celltype\_multi & \multicolumn{1}{l}{tDCA} & \multicolumn{1}{l}{fastMNN} & \multicolumn{1}{l}{harmony} & \multicolumn{1}{l}{Seurat3} & \multicolumn{1}{l}{scanorama} & \multicolumn{1}{l}{INSCT} & \multicolumn{1}{l}{BBKNN} & \multicolumn{1}{l}{liger} \\    ARI   & 1     & 1     & 0.333 & 1     & 1     & 1     & 1     & 0.866 \\    NMI   & 1     & 1     & 0.667 & 1     & 1     & 1     & 1     & 0.816 \\    ASW\_label & 0.727 & 0.655 & 0.533 & 0.643 & 0.632 & 0.962 & 0.93  & 0.563 \\    ASW\_label/batch & 0.98  & 0.981 & 0.276 & 0.925 & 0.988 & 0.854 & 0.565 & 0.971 \\    BatchKL & 0.187 & 0.205 & 2     & 0.612 & 0.158 & 0.611 & 1.499 & 0.167 \\    cLISI & 1     & 1     & 1     & 1     & 1     & 1     & 1     & 1.037 \\    iLISI & 3.132 & 3.089 & 1     & 2.174 & 3.217 & 2.462 & 1.173 & 3.225 \\    \end{tabular}%  \label{tab:addlabel}%\end{table}%\end{document}

最终结果如下

可以看到达到了我想要的结果

latex公式及表格识别相关推荐

  1. 史上最简单直接截图识别的latex公式编辑器

    工欲善其事必先利其器,今天给大家推荐一款直接截图识别的latex公式编辑器,识别率几乎100%,而且完全免费! 下载链接为https://mathpix.com 直接安装就行,使用crtl+alt+m ...

  2. latex 数学公式_数学公式、方程式 OCR 识别编辑 LaTeX 公式软件神器—极度公式

    极度公式:化繁为简,助您高效工作 极度公式是一款强大的跨平台专业 Latex 公式软件.支持公式字符编辑与录入.公式模板选择,对于重要公式支持云备份.也可以手机端(安卓)拍照桌面端编辑(Windows ...

  3. LaTeX使用(公式,表格,图片,中文字符)

    是一种基于ΤΕΧ的排版系统,由美国计算机学家莱斯利·兰伯特(Leslie Lamport)在20世纪80年代初期开发,利用这种格式,即使使用者没有排版和程序设计的知识也可以充分发挥由TeX所提供的强大 ...

  4. 拖拽公式图片、一键转换LaTex公式,开源公式识别神器

    来源:机器之心 只需要把公式图片用鼠标拖动到工具内,就能一键转成 LaTex 公式. 写论文.做研究时,最让你头疼的是什么?想必公式编辑会榜上有名.那么有没有便捷的方法进行公式编辑呢?这里推荐一款神器 ...

  5. python识别latex公式_Python代码转Latex公式,这个开源库用一行代码帮你搞定

    来源:机器之心 数学是数据科学和机器学习的重要基础,数学运算的结果对于机器学习项目而言是至关重要的.在编写代码时,我们常常需要定义数学公式的计算形式.像 S=r^2 这样简单的数学公式,大概不会出现拼 ...

  6. latex 表格中虚线_如何识别和修复表格识别中的虚线

    latex 表格中虚线 When documents are digitalized via scanning or via photo, the image quality can suffer f ...

  7. 图片转换为 latex 公式,识别图片中Latex公式,支持数学公式,化学公式,物理公式和生物公式,附Java代码和测试效果

    目  录 1.编写Java代码实现识别图片中Latex公式 2.测试结果 ​3.源码下载 1.编写Java代码实现识别图片中Latex公式 直接上代码: public static String se ...

  8. 推荐一款latex公式OCR识别软件

    推荐一款latex公式OCR识别软件 最近有这个需求,于是去找了一下,最后发现一个好用的软件,在这里推荐一下. 优点 识别率高,个人亲测,非常准确,截图就随便放一个: 步骤 先点击这个链接注册账号(这 ...

  9. latex中表格怎么加标题_在LateX中输入公式、表格技巧

    文章目录 公式编辑器表格编辑器Latex设置表格字体大小LateX给表格加标题和标签LateX插入三线表LateX安装指南 如果在LateX中直接输入.编辑公式或表格,不是不可以,但是不能直接可视化编 ...

  10. LaTeX 常用语法格式总结 列表计数、图、公式、表格、参考文献环境

    LaTeX 常用语法格式总结 文章目录 LaTeX 常用语法格式总结 列表与计数 列表 **enumerate**与**itemize**默认结构 **enumerate**与**itemize**自 ...

最新文章

  1. 详略。。设计模式1——单例。。。。studying
  2. 第十六届全国大学生智能车竞赛线上赛点赛道审核 -华北赛区
  3. 皮一皮:男女的不同...
  4. GPIO8种方式小总结
  5. Linux C 函数练习
  6. VS 2005竟然会突然失踪
  7. IE9下透明度设置无效
  8. java list交换_如何在JAVA中交换两个arraylist?
  9. adminlte中datatable中自定义搜索和导出按钮
  10. 【软件推荐】电脑控制手机软件Scrcpy
  11. C++算法——字幕校对问题
  12. 学生宿舍管理系统c语言程序设计,学生宿舍管理系统C语言编程.doc
  13. 今天分享给你几个绘制Excel表格的技巧
  14. Win10中启动或关闭Windows功能中没有SNMP服务的解决办法
  15. 开发一个电商网站大概多少钱
  16. mac下如何将adobe acrobat reader dc设为.pdf的默认打开方式?
  17. 雷达有源干扰——噪声乘积干扰
  18. el-date-picker 禁止时间xaun ze
  19. nginx 配置http跟https跳转时总是提醒重定向过多解决办法
  20. 萌新如何用板绘画好原画?怎么选择数位板?零基础板绘入门干货篇

热门文章

  1. 关键帧动画 骨骼动画_动画关键原则
  2. 排查oracle数据库服务是否启动
  3. java课程设计 雍俊海_java课程设计模拟科学计算器【参考】.doc
  4. Adolescent Architecture
  5. PS中的LAB颜色模式有什么作用?给人像磨皮就很实用!
  6. c++ 统计指定字母开头单词的数量
  7. @PreAuthorize、@Secured、 @RolesAllowed优先级
  8. 一杯凉茶 mysql_一杯凉茶,一卷诗书
  9. 购房选址分析之上海市
  10. 关于计算机的发展史手抄报图片,历史手抄报精选图片内容