【Latex】Latex里插入GIF/动画

在latex文件里,如果要插入静态图片,那直接这样就好

\includegraphics{}

但如果要插入GIF呢?

我们可以用animate!
这个库可以把一堆图片搞成连续播放的样式
也就是说,可以把动画/GIF给搞成一帧一帧的,然后弄进去
效果可以参见这里:http://tex.stackexchange.com/questions/240243/getting-gif-and-or-moving-images-into-a-latex-presentation

具体的用法方面,先包这个库

\usepackage{animate}

如果你想把照片放到其他地方的话,需要用这一句

\graphicspath{{./figs/}}

要插入文件的时候这样写

\animategraphics[loop,autoplay,control,width=200pt]{a}{fig-}{l}{r}

其中$a$是每秒播放的帧数
你的源文件名需要长成fig-i这样,其中$i \in (l,r)$

参考资料
[1] http://tex.stackexchange.com/questions/240243/getting-gif-and-or-moving-images-into-a-latex-presentation
[2] http://drgan.net/2010/10741/

107 thoughts to “【Latex】Latex里插入GIF/动画”

  1. Hi, i feel that i noticed you visited my site so i came to return the desire?.I’m trying to to find issues to enhance
    my site!I assume its adequate to use some of your ideas!!

  2. Heya i’m for the first time here. I came across this board and I find
    It really useful & it helped me out a lot. I’m hoping to give one thing again and aid others
    such as you helped me.

  3. Wow, amazing weblog structure! How lengthy have you ever been running a blog for?
    you made running a blog look easy. The total glance of your website is fantastic, let alone the
    content material!

  4. Nice post. I was checking continuously this blog and I’m impressed!
    Very helpful info specifically the closing section 🙂 I deal with
    such information much. I was looking for this certain information for a long time.
    Thanks and best of luck.

  5. An outstanding share! I have just forwarded this onto a co-worker who
    was doing a little research on this. And he in fact bought
    me lunch simply because I found it for him… lol. So let me reword
    this…. Thank YOU for the meal!! But yeah, thanx for spending some time to talk about this subject here on your blog.

  6. Hello there! I could have sworn I’ve visited this
    blog before but after browsing through some of the posts I realized it’s new to me.

    Nonetheless, I’m certainly delighted I discovered it and I’ll
    be bookmarking it and checking back regularly!

  7. An interesting discussion is definitely worth comment.
    There’s no doubt that that you should write more on this subject, it might not
    be a taboo matter but usually people do not discuss these issues.
    To the next! All the best!!

  8. Useful info. Lucky me I discovered your site by chance,
    and I’m shocked why this coincidence didn’t came about earlier!
    I bookmarked it. natalielise pof

  9. I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an impatience over that
    you wish be delivering the following. unwell unquestionably come more
    formerly again as exactly the same nearly very often inside case you shield this increase.
    pof natalielise

  10. Hi there outstanding blog! Does running a blog like this require a large amount of work?

    I have no knowledge of computer programming however I was hoping to start my
    own blog soon. Anyhow, should you have any recommendations
    or techniques for new blog owners please share. I know this is
    off subject nevertheless I simply had to ask. Thanks!

  11. We’re a group of volunteers and opening a new scheme
    in our community. Your web site offered us with valuable
    information to work on. You’ve done a formidable job and our whole community will be thankful to you.

  12. Howdy! This is kind of off topic but I need some guidance from
    an established blog. Is it tough to set up your own blog?

    I’m not very techincal but I can figure things out pretty
    fast. I’m thinking about setting up my own but I’m not
    sure where to start. Do you have any ideas or suggestions?

    Many thanks

  13. This is very interesting, You’re a very professional blogger.
    I’ve joined your feed and stay up for looking for more of your excellent post.
    Also, I’ve shared your web site in my social networks

  14. Wonderful website you have here but I was wondering if you
    knew of any message boards that cover the same topics talked
    about here? I’d really love to be a part of group where I can get advice from other knowledgeable
    people that share the same interest. If you have any recommendations, please let me know.

    Cheers!

  15. Do you have a spam problem on this site; I also
    am a blogger, and I was curious about your situation; many of us have developed some nice
    procedures and we are looking to exchange techniques with
    others, please shoot me an e-mail if interested.

  16. Hello there, I found your web site via Google whilst looking for a
    comparable topic, your site came up, it appears great.
    I have bookmarked it in my google bookmarks.
    Hello there, just became aware of your blog via Google, and located that it is really informative.
    I am gonna be careful for brussels. I’ll appreciate for those
    who continue this in future. Many other people can be benefited
    out of your writing. Cheers!

  17. Thanks for any other magnificent post. Where else may just anybody get that type of info in such
    a perfect means of writing? I have a presentation next week, and I am at the look for such info.

  18. It is in point of fact a nice and useful piece of information. I am satisfied that you just shared this helpful info with us.
    Please stay us informed like this. Thank you for sharing.

  19. Heya! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended up losing months of hard work due to no
    data backup. Do you have any methods to protect against hackers?

  20. Nice weblog right here! Also your site rather a lot up fast!
    What web host are you using? Can I get your associate hyperlink in your
    host? I wish my website loaded up as fast as yours lol

  21. Hmm is anyone else encountering problems with the
    images on this blog loading? I’m trying to figure out if its a problem on my end or
    if it’s the blog. Any feedback would be greatly appreciated.

  22. You’re so cool! I don’t suppose I have read through something
    like that before. So nice to find someone with genuine thoughts
    on this topic. Really.. thanks for starting this up.
    This site is one thing that is needed on the web, someone
    with some originality!

  23. Simply want to say your article is as surprising.

    The clearness in your post is just nice and i could assume you are knowledgeable on this subject.
    Fine with your permission allow me to snatch your RSS feed to stay updated with
    approaching post. Thanks a million and please carry on the rewarding work.

  24. Hello, i think that i saw you visited my website thus i came to “return the
    favor”.I am attempting to find things to improve my web site!I suppose its ok
    to use some of your ideas!!

  25. I simply could not depart your site prior to suggesting that I extremely
    loved the standard information a person provide to your visitors?
    Is going to be back often in order to inspect new posts

  26. Hmm it seems like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had
    written and say, I’m thoroughly enjoying your blog. I too am an aspiring blog
    blogger but I’m still new to the whole thing. Do you have any
    recommendations for beginner blog writers? I’d genuinely appreciate it.

  27. I loved as much as you will receive carried out right here.

    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an shakiness over
    that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you
    shield this hike.

  28. Hello, i think that i saw you visited my blog thus i came
    to “return the favor”.I’m attempting to find things to enhance
    my website!I suppose its ok to use a few of your ideas!!

  29. My partner and I stumbled over here coming from a different website and thought I should check things out.
    I like what I see so now i am following you.
    Look forward to finding out about your web page repeatedly.

  30. Pretty great post. I just stumbled upon your weblog and
    wanted to mention that I have really enjoyed surfing around your blog posts.
    In any case I’ll be subscribing on your rss feed and I’m hoping you write again very soon!

  31. Hi there! I know this is kinda off topic but I’d figured I’d ask.

    Would you be interested in trading links or
    maybe guest authoring a blog article or vice-versa? My blog
    addresses a lot of the same topics as yours and I feel we
    could greatly benefit from each other. If you are interested feel free
    to shoot me an e-mail. I look forward to hearing from you! Superb blog by the way!

  32. I do not even know the way I finished up right here, but I believed this
    post used to be good. I don’t realize who you’re however definitely you’re going to
    a famous blogger when you are not already. Cheers!

  33. Woah! I’m really loving the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between user friendliness and visual appeal.
    I must say that you’ve done a awesome job with this. In addition, the blog loads very
    fast for me on Internet explorer. Excellent Blog!

  34. Hello there, There’s no doubt that your blog might be having internet browser compatibility issues.
    When I look at your site in Safari, it looks fine however when opening in I.E., it has some overlapping issues.

    I just wanted to provide you with a quick heads up! Besides that, great blog!

  35. Every weekend i used to pay a visit this web page,
    as i wish for enjoyment, for the reason that
    this this web page conations genuinely pleasant funny stuff too.

  36. Have you ever considered publishing an e-book or guest
    authoring on other blogs? I have a blog based on the same topics you discuss and would love
    to have you share some stories/information. I know my audience would enjoy
    your work. If you are even remotely interested, feel free
    to shoot me an e-mail.

  37. If there is a friend in the horizon, the heart will fly; if there is hope in the heart, laughter will be refreshing; if there is a fate in life, dreams will last; if there is always a greeting, friendship will set sail.

  38. What i do not understood is in fact how you’re now not really a lot more
    smartly-favored than you may be now. You are so
    intelligent. You know thus considerably in terms of this matter,
    made me in my opinion consider it from so many various angles.
    Its like men and women are not involved until it is something to accomplish with Woman gaga!
    Your personal stuffs outstanding. All the time
    take care of it up!

  39. We were two small trees fighting side by side, we were two voices in a duet, and we were once alumni on a desk. Today, when we waved goodbye, please accept my affectionate blessings.

  40. First of all I want to say superb blog!
    I had a quick question in which I’d like to ask if
    you don’t mind. I was interested to know how you center yourself and clear your head prior to writing.
    I have had a tough time clearing my mind in getting my thoughts
    out there. I do enjoy writing however it just seems like the first 10 to 15 minutes tend
    to be lost just trying to figure out how to begin. Any suggestions or hints?

    Kudos!

  41. We were two small trees fighting side by side, we were two voices in a duet, and we were once alumni on a desk. Today, please accept my affectionate blessings.

  42. I do not know whether it’s just me or if perhaps everybody else encountering issues with your site.
    It appears as if some of the written text in your posts are running
    off the screen. Can someone else please comment and let me know if this is happening to them as well?
    This could be a issue with my browser because I’ve had this
    happen before. Cheers

  43. Whats up this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or
    if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience.
    Any help would be enormously appreciated!

  44. I loved as much as you will receive carried out right here.

    The sketch is tasteful, your authored subject matter
    stylish. nonetheless, you command get got an impatience over
    that you wish be delivering the following. unwell unquestionably come further formerly
    again since exactly the same nearly a lot often inside case you shield this increase.

  45. When the love is strong, eachother is in the sea; when the love is weak, it is the same. Love cannot fade when it is strong, but it is difficult to thick when it is weak. Love is difficult to face, that is why it is embarrassing!

  46. Hello, i think that i saw you visited my web site thus i
    came to “return the favor”.I am trying to find things to improve my website!I suppose its ok to use some of your ideas!!

  47. Be a man, be sure to know the gratitude! Don’t forget the benefactors who have helped you, and don’t hurt the nobles who often guide you, otherwise your friends will become fewer and fewer and your life will be more difficult.

  48. There is a kind of love that is deeply in love, but can’t say it; there is a kind of love that obviously wants to give up, but can’t give up; there is a kind of love, knowing that it is suffering, but can’t hold back; Can’t take it back already.

  49. hello there and thank you for your information –
    I’ve certainly picked up anything new from right here.
    I did however expertise some technical points using this site, since I experienced to reload the
    site a lot of times previous to I could get it to load properly.
    I had been wondering if your web host is OK? Not that
    I’m complaining, but sluggish loading instances times will often affect your placement in google and can damage your high quality
    score if ads and marketing with Adwords. Anyway
    I’m adding this RSS to my email and can look out for much more of your respective exciting content.
    Ensure that you update this again soon.

  50. There is a kind of love that obviously wants to give up, but can’t give up; there is a kind of love, knowing that it is suffering, but can’t hold back; Can’t take it back already.

  51. Some things turn around for a lifetime. I didn’t know each other at first, but finally I didn’t know each other. If love is just passing by, why bother here. Some love, had to settle each other, suddenly looking back, I can no longer tell.

  52. There is a kind of love that obviously wants to give up, but can’t give up; there is a kind of love, knowing that it is suffering, but can’t hold back; Can’t take it back already.

Leave a Reply to http://sinnedbeyondhelp.tumblr.com/ Cancel reply

Your email address will not be published. Required fields are marked *