Skip to content

Instantly share code, notes, and snippets.

@kmuto
Created November 14, 2018 00:32
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 kmuto/ec75d33983b17b4589e9864c6209a235 to your computer and use it in GitHub Desktop.
Save kmuto/ec75d33983b17b4589e9864c6209a235 to your computer and use it in GitHub Desktop.
表の折り返しの別法
module ReVIEW
module LATEXBuilderOverride
def th(s)
macro('reviewth', s.gsub("\\\\\n", '\\newline{}'))
end
def td(s)
s.gsub("\\\\\n", '\\newline{}')
end
end
class LATEXBuilder
prepend LATEXBuilderOverride
end
end
= 表
//tsize[|latex||p{7\Cwd}|p{7\Cwd}|]
//table{
AAAA@<br>{}BBBBCCCC DDDD
DDDDD EEEE@<br>{}FFFFF
//}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment