Latex入门文档

很久没用latex写过东西了,再加上编辑器从Emacs换成了VScode,于是为了写下面↓那个slide就找了点资料熟悉一下。
找到了这一份:https://liam0205.me/2014/09/08/latex-introduction/
感觉写得很好,而且作者似乎是CTeX的主要维护者之一?大力推荐啊!

然后这是我这次用到的一些命令,在这里存个档:

1. insert a picture
\usepackage{graphicx}
\graphicspath{{./figs/}}
\includegraphics[width=100pt]{vfk}

2. 居中
\begin{center}
\end{center}

3. 字号
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge

4. buff
\textbf{文字}
\emph{文字}

5. 换页
\clearpage
\newpage

6. 原样输出
\begin{verbatim}
\end{verbatim}

7. gif
\usepackage{animate}
\animategraphics[loop,autoplay,width=200pt]{12}{blo-}{0}{119}

8. 段落缩进
\usepackage{indentfirst}
\setlength{\parindent}{\ccwd}

9. beamer暂停
\pause

10. 行间距调整
\vspace{10pt}

11. 多行公式
$\begin{aligned}
  \sum\limits_{i = 1}^{n}{k \mod i} & = \sum\limits_{i = 1}^{n}{(k - \lfloor \frac{k}{i} \rfloor \cdot i)} \\
  & = n \cdot k - \sum\limits_{i = 1}^{n}{\lfloor \frac{k}{i} \rfloor \cdot i}
\end{aligned}$
带编号的话就去掉"ed"
单行不带编号:\notag

12. 列表
\usepackage{enumerate}
\begin{enumerate}[1.]
  \item 
\end{enumerate}

13. 插入链接
\href{https://233.com}{233}

14. 分栏
\usepackage{multicol}
\begin{multicols}{3}
  \tableofcontents
\end{multicols}

15. 公式编号
\begin{equation}
  233 = 233
\end{equation}

16. 文章内引用
\begin{equation}
  233
  \label{convolution}
\end{equation}
\eqref{convolution}

17. 空格
\qquad
\quad

18. 取模
$a^{n!} \pmod{p}$

19. 证毕
\qed

20. 整段缩进
\begin{enumerate}[\hspace{15mm}]
  \item 666

  \item 233
\end{enumerate}

21. 反斜杠
\usepackage{slashed}
$\slashed{\le}$

22. 数学公式字体大小
\textstyle{233}
\displaystyle
\scriptstyle
\scriptscriptstyle

304 thoughts to “Latex入门文档”

  1. Its such as you read my thoughts! You seem to understand so
    much approximately this, like you wrote the e-book in it or something.

    I think that you just could do with a few p.c. to power the message house a bit,
    but other than that, that is great blog. A great read.
    I’ll certainly be back.

  2. When I initially commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get three e-mails with the same comment.

    Is there any way you can remove people from that service?
    Cheers!

  3. I was wondering if you ever considered changing the page layout of your blog?

    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only
    having one or two pictures. Maybe you could space it out better?

  4. First off I would like to say terrific blog!
    I had a quick question which I’d like to ask if you don’t mind.
    I was interested to know how you center yourself and clear your thoughts before
    writing. I’ve had a hard time clearing my thoughts in getting my thoughts out.
    I do take pleasure in writing however it just seems like the first 10 to 15 minutes
    are usually wasted just trying to figure out how to begin. Any
    recommendations or hints? Kudos!

  5. Very great post. I just stumbled upon your
    weblog and wanted to mention that I’ve truly loved
    surfing around your weblog posts. After all I will
    be subscribing for your feed and I am hoping you write again very soon!

  6. Hi! I know this is somewhat off topic but I was wondering which blog platform are you using for this
    website? I’m getting fed up of WordPress because I’ve had problems
    with hackers and I’m looking at options for another
    platform. I would be fantastic if you could point me in the direction of a good
    platform.

  7. Woah! I’m really loving the template/theme of this website.

    It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between usability and appearance.
    I must say you’ve done a amazing job with this. Also, the
    blog loads super fast for me on Chrome. Outstanding Blog!

  8. hey there and thank you for your info – I have definitely picked up
    something new from right here. I did however expertise several technical points using this website,
    as I experienced to reload the web site lots of times previous to
    I could get it to load correctly. I had been wondering if your web hosting is OK?
    Not that I’m complaining, but sluggish loading instances times will often affect your placement in google and can damage your
    quality score if ads and marketing with Adwords.
    Anyway I am adding this RSS to my email and could look out for
    much more of your respective intriguing content. Make sure you update this again soon.

  9. Fantastic items from you, man. I’ve take into accout your stuff prior to and you are just too great.
    I actually like what you’ve got here, certainly
    like what you’re stating and the way wherein you are saying it.

    You are making it entertaining and you still take care of to stay it smart.
    I can’t wait to read far more from you. This
    is really a terrific site.

  10. Hello, awesome work. I really appeaciate the information you are providing through your website, i have alwasy find it helpful. Keep up the awsome work.

  11. You actually make it seem really easy with your presentation however I
    in finding this matter to be actually one thing that I believe I might never understand.

    It seems too complicated and very vast for me. I am looking forward to your subsequent submit, I will attempt
    to get the dangle of it!

  12. Just want to say your article is as astonishing. The clarity in your post is just spectacular and i could
    assume you are an expert on this subject. Well with your permission allow me to grab your RSS feed to keep up
    to date with forthcoming post. Thanks a million and please continue the
    enjoyable work.

  13. Hi there to all, for the reason that I am actually eager of reading this website’s post to be
    updated daily. It includes good stuff. plenty of fish natalielise

  14. Thanks for some other great post. Where else may anyone
    get that type of information in such a perfect manner of writing?
    I’ve a presentation subsequent week, and I am on the
    search for such info.

  15. I would like to thank you for the efforts you have put in penning this blog. I’m hoping to view the same high-grade content from you later on as well. In truth, your creative writing abilities has inspired me to get my own website now 😉

  16. I think that is one of the most important information for me.
    And i’m happy reading your article. However should observation on few general
    things, The website taste is perfect, the articles is actually nice : D.
    Excellent process, cheers

  17. Fantastic beat ! I wish to apprentice while you amend your website,
    how can i subscribe for a blog site? The account helped me
    a acceptable deal. I had been a little bit acquainted of
    this your broadcast offered bright clear idea

  18. After checking out a handful of the articles on your blog, I seriously appreciate your technique of writing a blog.
    I added it to my bookmark site list and will be checking back in the near future.
    Take a look at my web site as well and let me know what you think.

  19. Excellent post. I was checking constantly this weblog and I’m
    impressed! Extremely useful info specifically the final phase :
    ) I care for such information much. I was looking for this particular information for a long time.
    Thank you and good luck.

  20. Woah! I’m really enjoying the template/theme
    of this website. It’s simple, yet effective.
    A lot of times it’s challenging to get that
    “perfect balance” between usability and visual appeal.
    I must say you have done a fantastic job with this. Also, the
    blog loads very quick for me on Opera. Outstanding
    Blog!

  21. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time
    a comment is added I get four e-mails with the
    same comment. Is there any way you can remove
    people from that service? Bless you!

  22. Hi there, I found your blog by means of Google whilst looking for a related matter, your web site came up,
    it seems to be great. I have bookmarked it in my google
    bookmarks.
    Hello there, simply become alert to your weblog via Google, and
    found that it is truly informative. I’m gonna be careful for brussels.

    I will appreciate for those who continue this in future.
    A lot of other folks can be benefited from your writing.
    Cheers!

  23. Good day I am so grateful I found your blog page, I really found you by mistake,
    while I was researching on Google for something else, Nonetheless I am here now and would
    just like to say thanks for a tremendous post and a all round entertaining blog (I also love the theme/design), I don’t have
    time to read it all at the moment but I have saved it and also included your
    RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome jo.

  24. I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.

  25. Great blog here! Also your site rather a lot up fast! What host are you the use of? Can I get your associate link on your host? I want my web site loaded up as quickly as yours lol

  26. Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts.
    Anyway I will be subscribing to your feeds and even I achievement you access consistently quickly.

  27. Definitely believe that which you said. Your favorite justification seemed to be on the net the easiest thing to be
    aware of. I say to you, I definitely get annoyed while people think
    about worries that they just don’t know about.

    You managed to hit the nail upon the top as well as defined out
    the whole thing without having side effect , people can take a signal.
    Will likely be back to get more. Thanks

  28. I used to be recommended this web site by my cousin. I’m now not sure whether this put up is written through him as
    no one else know such exact about my trouble.

    You’re wonderful! Thanks!

  29. Hi there! Do you know if they make any plugins to safeguard against hackers?

    I’m kinda paranoid about losing everything I’ve worked hard on. Any recommendations?

  30. It’s appropriate time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I wish to suggest you few interesting things or advice.
    Maybe you can write next articles referring to this article.
    I want to read even more things about it!

  31. Good day very nice blog!! Man .. Excellent .. Wonderful ..
    I will bookmark your site and take the feeds also?
    I am happy to search out a lot of useful information right here
    within the publish, we need work out more strategies in this regard, thanks for
    sharing. . . . . .

  32. It’s appropriate time to make some plans for the future and
    it’s time to be happy. I’ve read this post and if I could I wish to
    suggest you few interesting things or suggestions. Perhaps you can write next articles referring to this article.

    I desire to read more things about it!

  33. This is really interesting, You’re a very skilled blogger.
    I have joined your rss feed and look forward to seeking more
    of your great post. Also, I’ve shared your site in my social networks!

  34. I think that is one of the most important info for me. And i’m
    satisfied reading your article. However want to observation on few general
    issues, The web site style is perfect, the articles is in point of fact great : D.
    Just right activity, cheers

  35. Hi there! I know this is sort of off-topic however I needed to ask.

    Does operating a well-established blog like yours require a large
    amount of work? I’m completely new to blogging however
    I do write in my journal on a daily basis.
    I’d like to start a blog so I can easily share my own experience and thoughts online.
    Please let me know if you have any recommendations or tips for brand new aspiring blog owners.
    Appreciate it!

  36. Your style is unique in comparison to other folks I’ve read stuff
    from. I appreciate you for posting when you have the opportunity, Guess I’ll just book mark this page.

  37. Hey! Do you know if they make any plugins to protect against
    hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any recommendations?

  38. Your style is very unique in comparison to other folks I have
    read stuff from. Thanks for posting when you have the opportunity, Guess I will
    just bookmark this web site.

  39. Oh my goodness! Incredible article dude! Many thanks, However I am
    encountering troubles with your RSS. I don’t
    know the reason why I cannot join it. Is there anybody getting the same RSS problems?
    Anyone that knows the solution will you kindly respond?
    Thanks!!

  40. Woah! I’m really digging the template/theme of this blog. It’s simple, yet effective.
    A lot of times it’s challenging to get that “perfect balance” between superb usability and appearance.
    I must say you have done a awesome job with this.
    In addition, the blog loads extremely fast for me on Firefox.
    Exceptional Blog!

  41. Hi there everyone, it’s my first visit at this web site, and post is in fact fruitful designed for me,
    keep up posting these articles.

  42. I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. In my view, if all site owners and bloggers made good content as you did, the web will be a lot more useful than ever
    before.

  43. Hi! I realize this is sort of off-topic but I needed to ask.
    Does managing a well-established website like yours take a massive
    amount work? I am completely new to blogging however I
    do write in my journal daily. I’d like to start
    a blog so I can share my experience and thoughts
    online. Please let me know if you have any kind of suggestions or tips for new aspiring
    bloggers. Thankyou!

  44. I’m curious to find out what blog system you’re working with?
    I’m having some small security issues with my latest website and I’d like to find something more safeguarded.
    Do you have any suggestions?

  45. The other day, while I was at work, my sister stole my iphone and tested to see if it can survive a
    forty foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed and she has 83 views.

    I know this is completely off topic but I had to share it with someone!

  46. Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any suggestions on how to get listed
    in Yahoo News? I’ve been trying for a while but I never seem to get there!
    Thank you

  47. Greetings! I’ve been following your website for a while now and finally got the bravery to go ahead and give you a shout out from Porter Texas! Just wanted to tell you keep up the excellent job!

  48. Generally I do not learn post on blogs, but I would like to say that this
    write-up very compelled me to take a look at and do it!
    Your writing style has been surprised me. Thanks,
    very nice post.

  49. You actually make it seem really easy together with your presentation however I to find this matter to be actually one thing which I believe I would by
    no means understand. It sort of feels too complex and extremely wide for me.
    I’m looking forward for your next post, I’ll attempt to get the hold of it!

  50. This is the right site for anybody who hopes
    to find out about this topic. You know a whole lot its almost hard to argue with you (not that I
    actually will need to?HaHa). You certainly put a brand new spin on a subject
    that’s been written about for a long time. Wonderful stuff, just great!

  51. I was wondering if you ever considered changing the structure of your
    website? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or two images.
    Maybe you could space it out better?

  52. Do you have a spam problem on this site; I also
    am a blogger, and I was wanting to know your situation; many of us have developed some nice methods and we are looking to swap
    methods with others, be sure to shoot me an email if interested.

  53. Great – I should certainly pronounce, impressed with your website.
    I had no trouble navigating through all the tabs as well as related info ended up being truly simple to do to access.
    I recently found what I hoped for before you know it in the least.
    Quite unusual. Is likely to appreciate it for those who add forums or something,
    website theme . a tones way for your customer to communicate.

    Nice task.

  54. Hey! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing a few
    months of hard work due to no back up. Do you have any solutions to protect against hackers?

发表评论

电子邮件地址不会被公开。 必填项已用*标注