Memo by Michikazu Kobayashi
beamer

beamer memo

  • Compiling beamer (here (Jpn) was very helpful)

    As with latex, it is very easy if you use lualatex for Japanese and pdflatex for English. If you really don't want to use lualatex or pdflatex, especially if you put movies in beamer's multimedia package, compiling via dvipdfmx doesn't work very well, so you can make a pdf via ps.
                    platex hoge.tex
                    platex hoge.tex
                    dvips hoge.dvi
                    convbkmk -g -O hote.ps
                    ps2pdf hoge.ps
    It might be safer to make a script for compilation or something?

    Personal settings for using lualatex
                    \documentclass[unicode,xcolor={svgnames},aspectratio=169]{beamer}
                
                    \usepackage{luatexja}
                    \usepackage[ipaex]{luatexja-preset}
                    \renewcommand{\kanjifamilydefault}{\gtdefault}
                
                    \usepackage{geometry}
                    \geometry{left=0.1in,right=0.1in,top=0cm,bottom=0cm}
                
                    \usepackage{xcolor,colortbl}
                    \usepackage{amsmath,amssymb}
                    \usepackage[absolute,overlay]{textpos}
                    \usepackage{tikz}
                    \usepackage{ascmac,fancybox}
                    \usepackage{mathtools}
                    \usepackage{cmbright}
                    \usepackage{graphbox}
                
                    \usepackage{pdfpcnotes}
    pdflatex in Englishin English, the fifth line is not necessary
  • pasting a movie

    lualatex and pdflatex do not even need to import the multimedia package in the first place.
                    \href{run:hoge.mp4?autostart&loop}{\includegraphics{hoge_tn.png}}
    The latter half of the image is a so-called thumbnail, which unlike PowerPoint is always necessary. If you have not created thumbnails, you can use ffmpeg to create them quickly.
                    ffmpeg -r (frame rate of video) -i hoge.mp4 -ss 0 -t 1 -r 1 -f image2 hoge_tn.png
    However, this method will not work with evince or okular. Use pdfpc honestly.
  • Creating slide notes in pdfpc

    Slide notes can be created by a text file with the same name as the pdf file and the extension pdfpc. The contents of the file are
                    [font size]
                    17
                    [notes]
                    ### 1
                     Hello everyone. I am going to give a presentation now
                    ### 2
                     This is what I am going to present now
                  
    like that.
    The latest version changes itself when you start pdfpc even if you make it like this. What an unnecessary thing to do.
  • pdfpc's most commonly used keyboard shortcuts

    I cannot remember them
    2 pointer
    3 pen
    4 eraser
    5 spotlight
    1 normal mode
    t toolsshow/hide window
    Tab slide list
    Ctrl + q exit pdfpc
    Shift + a view main screen
    + enlarge note text
    - smaller note text
    Ctrl + t reset timer
    p pause
    b black screen
    Ctrl + n edit note (Esc to exit)