Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Paper2Poster/Paper2Poster
/ _wrap
Function
_wrap
demo/posterbuilder/convert.py:112–113 ·
view source on GitHub ↗
(m)
Source
from the content-addressed store, hash-verified
110
111
# 2) 把裸奔宏包进 $...$
112
def
_wrap(m):
113
return
f
"${m.group(0)}$"
114
s_hidden = _MACRO_OUTSIDE_MATH_RE.sub(_wrap, s_hidden)
115
116
# 3) 还原数学块
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected