- 追加されたテキストを表す
@<ins>{...}
を追加(Re:VIEW 5.1に追従) - 通常の本文で使うと、下線が引かれる(Re:VIEWと同じ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
## | |
## ビジネスロジック | |
## | |
class BusinessLogic: # 「Service」や「Operation」でもよい | |
def __init__(self, login_user=None): | |
self.login_user = login_user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys | |
from io import StringIO | |
from contextlib import contextmanager | |
@contextmanager | |
def dummy_stdout(): | |
sout = sys.stdout | |
sys.stdout = StringIO() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[dvipdfmx,uplatex,9pt,a5paper,papersize]{jsarticle} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usepackage[deluxe,uplatex]{otf} | |
\newenvironment{conversation}{% | |
\list{}{% | |
\leftmargin=6zw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[dvipdfmx,uplatex,9pt,a5paper,papersize]{jsbook} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\usepackage[deluxe,uplatex]{otf} | |
\renewcommand{\headfont}{\gtfamily\sffamily\bfseries} | |
\usepackage{graphicx} |
Re:VIEW Starterにおいて、長いURLを途中で自動的に改行したい。
詳しくはこちら
https://twitter.com/circleblowing/status/1297946704881184769
\seqsplit{...}
を使うと単語の途中でも自動的に改行してくれる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% -*- coding: utf-8 -*- | |
\documentclass[dvipdfmx,uplatex]{jsarticle} | |
\usepackage[deluxe]{otf} | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\usepackage{lmodern} | |
\newcommand{\ifempty}[1]{% | |
\edef\tempval{#1}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% -*- coding: utf-8 -*- | |
\documentclass[dvipdfmx,uplatex]{jsarticle} | |
\usepackage[deluxe]{otf} | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\usepackage{lmodern} | |
%%%%% | |
\newcommand{\ifempty}[1]{% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReVIEW::LATEXBuilder.class_eval do | |
def compile_href(url, label) | |
if /\A[a-z]+:/ =~ url | |
if label | |
#macro('href', escape_url(url), escape(label)) # original | |
escape(label) + macro('footnote', macro('url', escape_url(url))) | |
else | |
macro('url', escape_url(url)) | |
end | |
else |
- layouts/layout.tex.erbの93行目の直後に「\usepackage{pdfpages}」を追加
91 \usepackage{float}
92 \usepackage{alltt}
93 \usepackage{amsmath}
94 \usepackage{pdfpages} % ← 追加
95
NewerOlder