Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Created April 22, 2017 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/1eb866199dab9ee20852e24b3f08b5a8 to your computer and use it in GitHub Desktop.
Save whatalnk/1eb866199dab9ee20852e24b3f08b5a8 to your computer and use it in GitHub Desktop.
座席表 (uplatex, tikz)
\documentclass[a4j,landscape, uplatex]{jsarticle}
\pagestyle{empty}
\usepackage{sourcesanspro}
\usepackage{tcsourcehans}
\usepackage[truedimen,a4paper,landscape,dvipdfm]{geometry}
\geometry{left=20mm,right=20mm,top=30mm,bottom=25mm}
\renewcommand{\kanjifamilydefault}{\gtdefault}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[dvipdfmx,svgnames]{xcolor}
\usepackage[dvipdfmx]{graphicx}%
\usepackage{tikz}
\begin{document}
\kanjifamily{sourcehans}\fontseries{mb}\selectfont
\centering
\Large
\begin{tikzpicture}
\draw [help lines] (0,0) grid (24,15);
\draw (0,0) [thick] rectangle (24,15);
\draw [very thick] (0,13) rectangle (24,15);
\draw [very thick] (4,13) -- (4,15);
\draw [very thick] (8,13) -- (8,15);
\draw [very thick] (12,13) -- (12,15);
\draw [very thick] (16,13) -- (16,15);
\draw [very thick] (20,13) -- (20,15);
\node [anchor=north] at (2,14.4){Major};
\node [anchor=north] at (6,14.4){};
\node [anchor=north] at (10,14.4){};
\node [anchor=north] at (14,14.4){};
\node [anchor=north] at (18,14.4){};
\node [anchor=north] at (22,14.4){};
\draw [very thick] (6,10) rectangle (12,2);
\draw [very thick] (9,10) -- (9,2);
\draw [very thick] (6,8) -- (12,8);
\draw [very thick] (6,6) -- (12,6);
\draw [very thick] (6,4) -- (12,4);
\node [anchor=north] at (7.5,9.4){};
\node [anchor=north] at (7.5,7.4){Batou};
\node [anchor=north] at (7.5,5.4){};
\node [anchor=north] at (7.5,3.4){};
\node [anchor=north] at (10.5,9.4){};
\node [anchor=north] at (10.5,7.6){\parbox{5zw}{\centering Daisuke\\ Aramaki}};
\node [anchor=north] at (10.5,5.4){};
\node [anchor=north] at (10.5,3.4){};
\draw [very thick] (15,10) rectangle (21, 2);
\draw [very thick] (18,10) -- (18,2);
\draw [very thick] (15,8) -- (21,8);
\draw [very thick] (15,6) -- (21,6);
\draw [very thick] (15,4) -- (21,4);
\node [anchor=north] at (16.5,9.4){Togusa};
\node [anchor=north] at (16.5,7.4){};
\node [anchor=north] at (16.5,5.4){};
\node [anchor=north] at (16.5,3.4){};
\node [anchor=north] at (19.5,9.4){Ishikawa};
\node [anchor=north] at (19.5,7.4){};
\node [anchor=north] at (19.5,5.4){};
\node [anchor=north] at (19.5,3.4){};
\draw [very thick] (0,10) rectangle (3,2);
\draw [very thick] (0,8) -- (3,8);
\draw [very thick] (0,6) -- (3,6);
\draw [very thick] (0,4) -- (3,4);
\node [anchor=north] at (1.5,9.4){Saito};
\node [anchor=north] at (1.5,7.4){Borma};
\node [anchor=north] at (1.5,5.4){};
\node [anchor=north] at (1.5,3.4){};
\draw (22,0) [thick] arc (180:90:1) --(23,0)--cycle;
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment