Skip to content

Instantly share code, notes, and snippets.

@wtsnjp
Created July 7, 2017 09:09
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 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