Skip to content

Instantly share code, notes, and snippets.

\documentclass[a4paper,11pt]{scrartcl}
\usepackage[tmargin=2cm,rmargin=2cm,lmargin=2.5cm,bmargin=2cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{texmate}
\usepackage{multicol}
\title{OncomTeXmate}
\date{}
\usepackage[scaled]{helvet}
\renewcommand*\familydefault{\sfdefault}
\documentclass[a4,11pt]{scrartcl}
\title{Timeline 2014}
\usepackage{graphicx}
\usepackage{colortbl}
\usepackage{tikz}
\usepackage[a4paper,margin=2cm]{geometry}
\usepackage[math]{anttor}
\usepackage[T1]{fontenc}
function LoadTheArchive(TotalFeed)
{
var PostTitles = new Array();
var PostURLs = new Array();
var PostYears = new Array();
var PostMonths = new Array();
var PostDays = new Array();
if("entry" in TotalFeed.feed)
{
var PostEntries=TotalFeed.feed.entry.length;
%\PassOptionsToPackage{svgnames}{xcolor}
\documentclass[tikz,convert={outfile=\jobname.svg},border=10mm]{standalone}
%\usetikzlibrary{...}% paket tikz sudah termuat dalam opsi kelas dokumen
%Berikut ini pilihan paket (selain tikz) untuk membuat gambar:
%\usepackage{pgfplots}
%\pgfplotsset{compat=1.10}
%\usepgfplotslibrary{fillbetween}
%\usepgfplotslibrary{patchplots,colormaps}
%\usepackage{tkz-euclide}
%\usetkzobj{all}
@kalakay
kalakay / Menggambar Persegi
Last active March 26, 2017 05:46
Persegi, Busur, dan Pengars
\begin{tikzpicture}[scale=1,font=\small,line join=round]
\coordinate[label=below:\$A\$] (A) at (0,0);
\coordinate[label=below:\$B\$] (B) at (7,0);
\coordinate[label=above:\$C\$] (C) at (7,7);
\coordinate[label=above:\$D\$] (D) at (0,7);
\draw[very thick,bistre] (A)--(B)--(C)--(D)--cycle;
\end{tikzpicture}
\begin{tikzpicture}[scale=1,font=\small,line join=round]
\coordinate[label=below:\$A\$] (A) at (0,0);
\coordinate[label=below:\$B\$] (B) at (7,0);
\coordinate[label=above:\$C\$] (C) at (7,7);
\coordinate[label=above:\$D\$] (D) at (0,7);
\draw[very thick,bistre] (A)--(B)--(C)--(D)--cycle;
%busur-busur
\draw[very thick,bistre,name path=BD] (B) arc (0:90:7cm);%busur ABD
\draw[very thick,bistre,name path=AC] (A) arc (180:90:7cm);%busur BAC
\begin{tikzpicture}[scale=1,font=\small,line join=round]
\coordinate[label=below:\$A\$] (A) at (0,0);
\coordinate[label=below:\$B\$] (B) at (7,0);
\coordinate[label=above:\$C\$] (C) at (7,7);
\coordinate[label=above:\$D\$] (D) at (0,7);
\path[pattern=north west lines,pattern color=Dandelion] (B) arc (0:60:7cm) arc (120:180:7cm)--cycle;
\draw[very thick,bistre] (A)--(B)--(C)--(D)--cycle;
\begin{tikzpicture}[scale=1,font=\small,line join=round]
\coordinate[label=below:\$A\$] (A) at (0,0);
\coordinate[label=below:\$B\$] (B) at (7,0);
\coordinate[label=above:\$C\$] (C) at (7,7);
\coordinate[label=above:\$D\$] (D) at (0,7);
\path[pattern=north west lines,pattern color=Dandelion] (B) arc (0:60:7cm) arc (120:180:7cm)--cycle;
\draw[very thick,bistre] (A)--(B)--(C)--(D)--cycle;
\coordinate[] (P) at (0:15);
\coordinate[] (Q) at (10:15);
\coordinate[label=left:$A$] (A) at (0,0);
\coordinate[label=below:$B$] (B) at (0:2.5);
\tikzset{
tanda/.style={postaction={decorate,decoration={
markings,
mark=at position .5 with {\arrow[scale=1.5,Turquoise4]{|}}
}}}
}