Skip to content

Instantly share code, notes, and snippets.

View vicapow's full-sized avatar

Victor vicapow

View GitHub Profile
@vicapow
vicapow / main.tex
Created March 14, 2025 00:25
Flame effect with larger white part
\documentclass{article}
\usepackage{tikz}
\definecolor{flameOuter}{HTML}{33AAFF}
\pgfdeclareradialshading{multigradient}{\pgfpoint{0cm}{0cm}}{%
color(0cm)=(white);
color(0.5cm)=(white);
color(1cm)=(flameOuter)
}
@vicapow
vicapow / main.tex
Last active March 13, 2025 01:17
Flame like effect in Tikz
\documentclass{article}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz} % Required for creating graphics
\begin{document}
\section*{Example of a `Flame' like effect in Tikz}
\definecolor{flameOuter}{HTML}{33AAFF}
@vicapow
vicapow / main.tex
Created February 22, 2025 19:21
Example Gist
hello world
@vicapow
vicapow / hellocrixet.tex
Last active February 17, 2025 21:06
Debugging Gist File Uploads
\documentclass{article}
\begin{document}
Hello world!
\end{document}
@vicapow
vicapow / main.tex
Last active February 17, 2025 20:25
Crixet Gist
\documentclass{standalone}
\usepackage{tikz}
\usepackage[sfdefault]{FiraSans}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
@vicapow
vicapow / main.tex
Last active January 31, 2025 01:53
Tiks cavity & medium drawing
\documentclass{article}
\usepackage{tikz}
\usepackage{mathtools}
\begin{document}
\begin{tikzpicture}
\foreach \x in {140,143,...,210} {
@vicapow
vicapow / main.tex
Last active December 28, 2024 05:30
Table Editor UX experiments
\documentclass{article}
\begin{document}
\begin{table}[h]
\centering
\begin{tabular}{|l|c|}
\hline
Pittsburgh & 100 \\
\hline
@vicapow
vicapow / main.tex
Last active December 12, 2024 19:01
Example concentric layered diagram
\documentclass{article}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
% Draw ovals first
\fill[red!50] (0, 0.8) ellipse (6cm and 3.8cm);
@vicapow
vicapow / main.tex
Last active December 18, 2024 04:14
Chapter title formatting
\documentclass{book} % Assuming a book class is appropriate for chapters
\usepackage{titlesec} % Required for title formatting
\titleformat{\chapter} % Corrected command
[display]
{\normalfont\bfseries\huge}
{Chapter \thechapter}
{0pt} % Corrected spacing option
{\vspace{2\baselineskip}}
@vicapow
vicapow / main.tex
Last active December 18, 2024 04:16
Avoid overlapping axis labels and show correct legend item using `forget plot` See a live version at: https://crixet.com/?gist=e6c41b3f283ffca6548cd923cd154969
% Original Tex question at:
% https://tex.stackexchange.com/questions/730485/difficulty-changing-legend-marker-and-resizing-in-pgfplots
\documentclass{article}
\usepackage{pgfplots}
\usepackage{amsmath}
\pgfplotsset{compat=1.18}
\usepackage{pdflscape}
\begin{document}