Skip to content

horance-liu/cps

Repository files navigation

C++ Programming Style: Guilds, Rules, and Patterns.

Licensed under [MIT License][].

Download PDF

$ wget -c https://raw.github.com/ccock/cps/master/cpp-programming-style.pdf

Downloads

You can obtain full latex source files of C++ Programming Style from https://github.com/ccock/cps

Install Tex

You should install full texlive packages.

  • Ubuntu
$ sudo apt-get install texlive-full
  • MacOS

Download MacTeX.pkg, and install it.

  • Windowns

Download CTEX-full, and install it.

Install Missing Fonts

Then you should install some missing chinese fonts.

  • Ubuntu
$ sudo mkdir /usr/local/share/fonts/truetype
$ sudo cp -R fonts /usr/local/share/fonts/truetype
$ cd /usr/local/share/fonts/truetype
$ sudo mv fonts win-fonts
$ sudo chown -R root win-fonts
$ sudo fc-cache
  • MacOS

Import all missing fonts into fontbook

  • Windows

Copy the all missing fonts into C:/WINDOWS/Fonts

$ fc-cache

Build

$ make

Preview PDF

$ open output/cpp-programming-style.pdf

License

MIT License

About

It's a Simple Modern C++ Programming Style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published