Tikz_favorites screenshot

Tikz_favorites

Author Avatar Theme by F0nzie
Updated: 16 Aug 2021
204 Stars

collection of favorite TikZ graphics

Overview

This repository contains examples of TikZ graphics, a powerful tool for creating illustrations and diagrams in LaTeX. The examples are sourced from various web pages, papers, slides, tutorials, and books, and are designed to help users learn TikZ. Each example is displayed on a web page, allowing users to click and view the code behind it. TikZ files are text-based and can be easily reproduced, making them great for use in websites, blogs, papers, articles, slides, and books.

Features

  • Output files like .png and .pdf are stored in the ./out folder.
  • The README.Rmd document allows customization of variables for folders.
  • The Hugo website supports customization through the _build_site.R script.
  • TikZ source files are saved in the src folder, specifically in .tex format.
  • The template.Rmd file includes identifiers for updating with user custom settings and code.
  • The Makefile has been optimized to avoid code repetition.
  • Data files for TikZ examples are stored under src/data.

Installation

To install the TikZ examples repository, follow these steps:

  1. Clone the repository using the command: git clone https://github.com/[repository_url].
  2. Navigate to the cloned directory: cd Tikz.
  3. Install the required packages and dependencies by running the command: npm install.
  4. Customize the variables for folders and settings in the README.Rmd document.
  5. Build the website by running the script: _build_site.R using Hugo.
  6. To include new TikZ drawings in the README, add the code and graphics files to the src folder.

Summary

This repository provides a collection of TikZ examples sourced from various publications. The examples are designed to help users learn TikZ and its capabilities. The repository includes features such as customizable variables, optimization of code, and improved organization of files. With its portable and reproducible nature, TikZ is an ideal tool for creating graphics in various domains and can be easily integrated with LaTeX and R for seamless workflow integration.