Skip to content

Instantly share code, notes, and snippets.

@wtsnjp
Created July 7, 2017 09:09
Show Gist options
  • Save wtsnjp/ed431ced6200483c720436735275b569 to your computer and use it in GitHub Desktop.
Save wtsnjp/ed431ced6200483c720436735275b569 to your computer and use it in GitHub Desktop.
%#!uplatex
\documentclass[uplatex]{jsarticle}
\usepackage{gotoh}
\makeatletter
\def\formatseq#1{%
\expandafter\@tfor\expandafter\member\expandafter:\expandafter=#1%
\do{\makebox[1.2zw][c]{\member}}}
\makeatother
\begin{document}
\Gotoh[gap char={☃}]{GACTA}{GAGA}
\begin{flushleft}
\ttfamily
\formatseq{\GotohResultA} \\ \formatseq{\GotohResultB}
\end{flushleft}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment