LaTex学习——Texlive及texstudio的下载与安装

Texlive及texstudio的安装

雨中漫步

首先我们介绍为什么需要Latex,虽然word使用起来比较简单便捷,但是它在处理数学物理公式上比较繁琐,而LaTex是排版很好看,尤其对数学物理公式处理较为方便,因此我们要是想要写一些科技论文,学习LaTex是一个不错的选择。下面我来介绍一下如何进行安装。

Texlive的下载

为了快速下载这里提供清华大学开源镜像上下载Texlive的下载
下载比较简单,这里就不介绍了。

texstudio的下载:

其实Texlive自带编译器texworks,但是不太好用,我们一般使用texstudio作为编译器,其下载路径为texstudio的下载下载下载结束后我们为了方便设置中文环境:
1zh_cn即为汉化
接着我们考虑设置默认编译器XeLatex这样方便识别中文:
2其中默认查看器是PDF查看器,可以直接转化为PDF查看,这样子我们就下好了,之后的学习是个渐进的过程,多问多实践就会慢慢掌握。下面查看LaTex代码在此编译器下的效果:
( 1 ) ∫ x ( x + 1 ) ( e x + x + 1 ) 2 d x = ∫ ( e x + x + 1 ) 2 − ( e x + x + 1 ) ( e x + 1 ) − x e x ( e x + x + 1 ) 2 d x                          = x − ln ⁡ ( e x + x + 1 ) − ∫ x ( e x + 1 ) ( e x + x + 1 ) 2 − x ( e x + x + 1 ) 2 d x                          = x − ln ⁡ ( e x + x + 1 ) + x e x + x + 1 − ∫ ( e x + 1 ) d x ( e x + x + 1 ) 2 = x − ln ⁡ ∣ e x + x + 1 ∣ + x + 1 e x + x + 1 + C ( 2 ) ∫ 0 π 2 sin ⁡ 2 x 1 + sin ⁡ 4 x d x = − ∫ 0 π 2 1 1 + csc ⁡ 4 x d cot ⁡ x = − ∫ 0 π 2 1 1 + ( cot ⁡ 2 x + 1 ) 2 d cot ⁡ x = ∫ 0 + ∞ d x 1 + ( x 2 + 1 ) 2                            = π i ( Re s [ 1 1 + ( x 2 + 1 ) 2 , 2 1 4 e 3 π i 8 ] + Re s [ 1 1 + ( x 2 + 1 ) 2 , 2 1 4 e − 3 π i 8 ] ) = 1 4 2 − 1 π ( 3 ) ∫ d x 1 + sin ⁡ 4 x = ∫ sin ⁡ 2 x + cos ⁡ 2 x ( sin ⁡ 2 x + cos ⁡ 2 x ) 2 + sin ⁡ 4 x d x = − ∫ cot ⁡ 2 x + 1 ( cot ⁡ 2 x + 1 ) 2 + 1 d cot ⁡ x 考虑到 : ∫ t 2 + 1 ( t 2 + 1 ) 2 + 1 d t = 1 2 ∫ d ( t − 2 t ) + d ( t + 2 t ) t 2 + 2 + 2 t 2 + 1 2 2 ∫ d ( t − 2 t ) − d ( t + 2 t ) t 2 + 2 + 2 t 2                              = ( 1 2 + 1 2 2 ) ( arctan ⁡ ( t − 2 t ) 2 2 + 2 2 2 + 2 ) + ( 1 2 − 1 2 2 ) ln ⁡ ∣ t + 2 t − 2 2 − 2 t + 2 t + 2 2 − 2 ∣ 2 2 2 − 2 ∴ ∫ d x 1 + sin ⁡ 4 x = − [ ( 1 2 + 1 2 2 ) ( arctan ⁡ ( cot ⁡ x − 2 cot ⁡ x ) 2 2 + 2 2 2 + 2 ) + ( 1 2 − 1 2 2 ) ln ⁡ ∣ cot ⁡ x + 2 cot ⁡ x − 2 2 − 2 cot ⁡ x + 2 cot ⁡ x + 2 2 − 2 ∣ 2 2 2 − 2 ] \left( 1 \right) \int{\frac{x\left( x+1 \right)}{\left( e^x+x+1 \right) ^2}dx}=\int{\frac{\left( e^x+x+1 \right) ^2-\left( e^x+x+1 \right) \left( e^x+1 \right) -xe^x}{\left( e^x+x+1 \right) ^2}dx}\\ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~~~~~~~~~~~~=x-\ln \left( e^x+x+1 \right) -\int{\frac{x\left( e^x+1 \right)}{\left( e^x+x+1 \right) ^2}-}\frac{x}{\left( e^x+x+1 \right) ^2}dx\\ ~~ ~~ ~~ ~~ ~~~~~~~~~~~~~~~~=x-\ln \left( e^x+x+1 \right) +\frac{x}{e^x+x+1}-\int{\frac{\left( e^x+1 \right) dx}{\left( e^x+x+1 \right) ^2}}\\ =x-\ln |e^x+x+1|+\frac{x+1}{e^x+x+1}+C \\ \left( 2 \right) \int_0^{\frac{\pi}{2}}{\frac{\sin ^2x}{1+\sin ^4x}}dx=-\int_0^{\frac{\pi}{2}}{\frac{1}{1+\csc ^4x}}d\cot x=-\int_0^{\frac{\pi}{2}}{\frac{1}{1+\left( \cot ^2x+1 \right) ^2}}d\cot x=\int_0^{+\infty}{\frac{dx}{1+\left( x^2+1 \right) ^2}} \\ \,\, ~~~~~~~~~~~~~~~~~~~~~~~ =\pi i\left( \text{Re}s\left[ \frac{1}{1+\left( x^2+1 \right) ^2},2^{\frac{1}{4}}e^{\frac{3\pi i}{8}} \right] +\text{Re}s\left[ \frac{1}{1+\left( x^2+1 \right) ^2},2^{\frac{1}{4}}e^{\frac{-3\pi i}{8}} \right] \right) =\frac{1}{4}\sqrt{\sqrt{2}-1}\pi \\ \left( 3 \right) \int{\frac{dx}{1+\sin ^4x}}=\int{\frac{\sin ^2x+\cos ^2x}{\left( \sin ^2x+\cos ^2x \right) ^2+\sin ^4x}dx=-\int{\frac{\cot ^2x+1}{\left( \cot ^2x+1 \right) ^2+1}}}d\cot x \\ \text{考虑到}:\int{\frac{t^2+1}{\left( t^2+1 \right) ^2+1}}dt=\frac{1}{2}\int{\frac{d\left( t-\frac{\sqrt{2}}{t} \right) +d\left( t+\frac{\sqrt{2}}{t} \right)}{t^2+2+\frac{2}{t^2}}}+\frac{1}{2\sqrt{2}}\int{\frac{d\left( t-\frac{\sqrt{2}}{t} \right) -d\left( t+\frac{\sqrt{2}}{t} \right)}{t^2+2+\frac{2}{t^2}}} \\ \,\, ~~~~~~~~~~~~~~~~~~~~~~~~~ =\left( \frac{1}{2}+\frac{1}{2\sqrt{2}} \right) \left( \frac{\arctan \frac{\left( t-\frac{\sqrt{2}}{t} \right)}{\sqrt{2\sqrt{2}+2}}}{\sqrt{2\sqrt{2}+2}} \right) +\left( \frac{1}{2}-\frac{1}{2\sqrt{2}} \right) \frac{\ln |\frac{t+\frac{\sqrt{2}}{t}-\sqrt{2\sqrt{2}-2}}{t+\frac{\sqrt{2}}{t}+\sqrt{2\sqrt{2}-2}}|}{2\sqrt{2\sqrt{2}-2}} \\ \therefore \int{\frac{dx}{1+\sin ^4x}}=-\left[ \left( \frac{1}{2}+\frac{1}{2\sqrt{2}} \right) \left( \frac{\arctan \frac{\left( \cot x-\frac{\sqrt{2}}{\cot x} \right)}{\sqrt{2\sqrt{2}+2}}}{\sqrt{2\sqrt{2}+2}} \right) +\left( \frac{1}{2}-\frac{1}{2\sqrt{2}} \right) \frac{\ln |\frac{\cot x+\frac{\sqrt{2}}{\cot x}-\sqrt{2\sqrt{2}-2}}{\cot x+\frac{\sqrt{2}}{\cot x}+\sqrt{2\sqrt{2}-2}}|}{2\sqrt{2\sqrt{2}-2}} \right] \\ (1)(ex+x+1)2x(x+1)dx=(ex+x+1)2(ex+x+1)2(ex+x+1)(ex+1)xexdx                        =xln(ex+x+1)(ex+x+1)2x(ex+1)(ex+x+1)2xdx                        =xln(ex+x+1)+ex+x+1x(ex+x+1)2(ex+1)dx=xlnex+x+1+ex+x+1x+1+C(2)02π1+sin4xsin2xdx=02π1+csc4x1dcotx=02π1+(cot2x+1)21dcotx=0+1+(x2+1)2dx                       =πi(Res[1+(x2+1)21,241e83πi]+Res[1+(x2+1)21,241e83πi])=412 1 π(3)1+sin4xdx=(sin2x+cos2x)2+sin4xsin2x+cos2xdx=(cot2x+1)2+1cot2x+1dcotx考虑到:(t2+1)2+1t2+1dt=21t2+2+t22d(tt2 )+d(t+t2 )+22 1t2+2+t22d(tt2 )d(t+t2 )                         =(21+22 1)22 +2 arctan22 +2 (tt2 )+(2122 1)222 2 lnt+t2 +22 2 t+t2 22 2 1+sin4xdx=(21+22 1)22 +2 arctan22 +2 (cotxcotx2 )+(2122 1)222 2 lncotx+cotx2 +22 2 cotx+cotx2 22 2
在复杂的公式面前,LaTex实现更加容易,便捷。而word是很难实现的。这也是为什么LaTex正逐渐成为理科生必备论文利器。今天介绍到这里,希望大家多多关注和支持。

  • 5
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
TexliveTexstudioLaTeX 文档排版系统的两个常用工具。 Texlive 是一个跨平台的 TeX 发行版,提供了完整的 LaTeX 环境和相关的工具集合。它包含了大量的宏包和字体,并且可以自动安装缺失的宏包。Texlive 可以在 Windows、Linux 和 macOS 等操作系统上使用。 Texstudio 是一个跨平台的 LaTeX 编辑器,提供了丰富的编辑功能和用户友好的界面。它支持实时预览、代码自动完成、语法高亮、智能括号匹配等功能。Texstudio 还可以与 Texlive 配合使用,方便编写和编译 LaTeX 文档。 要使用 TexliveTexstudio,首先需要安装它们。你可以从 Texlive 的官方网站(https://www.tug.org/texlive/)下载适合你操作系统的安装程序进行安装安装完成后,你就可以使用 texlive 的命令行工具来编译 LaTeX 文档。 然后,你可以从 Texstudio 的官方网站(https://www.texstudio.org/)下载适合你操作系统的安装程序进行安装安装完成后,你可以打开 Texstudio,创建或打开一个 LaTeX 文档,然后使用 Texstudio 提供的编辑功能进行编辑。当你准备好编译文档时,可以点击 Texstudio 的编译按钮,它会调用 texlive 的命令行工具来编译文档并生成 PDF 文件。 总结来说,Texlive 是一个完整的 LaTeX 发行版,Texstudio 是一个方便的 LaTeX 编辑器。它们可以一起使用,帮助你更容易地编写和排版 LaTeX 文档。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值