Change LaTeX emph with line marker style
2019-04-05
139 words
1 min read
Lets change LaTeX emph command to look with line markers.
We redefine LaTeX \emph
like this.
- Japanese
- Gothic, Bold
- Other
- Italic, Bold
- Maker
- Yellow
We use uline--.sty
.
Because uline--.sty
is not a standar LaTeX style,
please download from this site:
This howo to redefine the emph
command:
Code Snippet 1: Redefine
emph
(latex)
\usepackage[usetype1]{uline--}
\renewcommand{\emph}[1]{%
{\sffamily\bfseries\itshape%
\uline[
background,
color={[rgb]{1,1,0.0}},
width=0.8em,position=1pt]{#1}}}
With this, this Org-mode snippet:
converts to LaTeX like this:
(latex)
\emph{強調の行です。 This is emph} 。うまくいくかな?
This will be typese in LaTeX like this: