Notes
1.0.0
1.0.0
  • Introduction
  • Commands
    • cd
    • df
    • du
    • fc-cahe
    • ifconfig
    • ip
    • ls
    • lsb_release
    • mkdir
    • mksquashfs
    • mount
    • ping
    • pwd
    • rm
    • sar
    • sudo
  • Linux C
    • Preprocessor
    • Keywords
    • Kernel
      • Ftrace
      • Watchdog
  • Python
    • general
      • Decorator
      • Generator
      • Iterator
      • Lambda
    • Download
    • NIC
  • Network
    • Protocol
      • Link layer
      • IP
      • ARP
      • ICMP
    • Proxy
      • Cntlm
      • Proxychains4
      • ShadowSocks
    • Tools
      • iperf
      • tc
      • Wireshark
    • Apps
      • samba
      • tftp
  • Software
    • Atom
    • Chrome
    • Docker
    • Git
    • Gitbook
    • Hexo
    • Nodejs
    • Teraterm
    • Tex
    • Tmux
    • VIM
    • VSCode
  • Database
    • MongoDB
  • Web
    • CSS
    • LNMP
  • Tools
    • common
    • programming
  • Ubuntu
    • Add user
    • AWS EC2
    • FAQ
    • Installer
    • Shell
    • Shell scripts
    • Themes
    • VPS
  • Windows
    • PowerShell
    • CMD
    • FAQ
  • Aphorisms
  • Book List
  • Favorites
  • Appendix
    • ASCII
    • GSM
Powered by GitBook
On this page
  • install texlive & tex2pdf
  • install subfloat.sty

Was this helpful?

  1. Software

Tex

PreviousTeratermNextTmux

Last updated 5 years ago

Was this helpful?

install texlive & tex2pdf

  • install texlive sudo apt-get install texlive

  • install tex2pdf

sudo mv tex2pdf /usr/bin
tex2pdf --configure
tex2pdf <filename>.tex

there may remind you that not found subfloat.sty

install subfloat.sty

  • download subfloat.sty

  • unzip this .zip file

cd subfloat
./install.sh
$ kpsewhich -var-value=TEXMFHOME
/home/litreily/texmf
$ sudo mkdir -p ~/texmf/subfloat
$ cp subfloat.sty ~/texmf/subfloat/
$ sudo texhash

or

sudo cp subfloat.sty /usr/share/latex/subfloat/
# or
sudo cp subfloat.sty /usr/share/texlive/texmf-dist/tex/latex/subfloat/

sudo texhash
  • check subfloat.sty

$ kpsewhich subfloat.sty
/usr/share/texmf/tex/latex/subfloat/subfloat.sty
https://sourceforge.net/projects/tex2pdf.berlios/
https://ctan.org/tex-archive/macros/latex/contrib/subfloat