Fix hbox bug

This commit is contained in:
Oystein Kristoffer Tveit 2020-05-28 18:46:25 +02:00
parent e88279fc97
commit f3424bdf60
2 changed files with 4 additions and 5 deletions

View File

@ -85,16 +85,15 @@
% Meaning % % Meaning %
% ---------------------------------------------------------------------------- % % ---------------------------------------------------------------------------- %
\newtcolorbox{meaningBox}{ %TODO: Make the box autoshrink horizontally while still making newlines when it's full. \newtcolorbox{meaningBox}{
tcbox width=auto limited,
capture=hbox,
enhanced, enhanced,
colback=black!20, colback=black!20,
left=15pt, left=15pt,
right=15pt, right=15pt,
top=15pt, top=15pt,
bottom=15pt, bottom=15pt,
width=\textwidth,
hbox,
capture=minipage
} }
\newcommand{\kanjiMeaning}[1]{ \newcommand{\kanjiMeaning}[1]{

View File

@ -7,6 +7,6 @@ TODO:
[ ] Rename functions and files [ ] Rename functions and files
[ ] Document functions and files [ ] Document functions and files
[ ] *Add .- logic in jishoScrape/src/textFiltration.js* [ ] *Add .- logic in jishoScrape/src/textFiltration.js*
[ ] *Fix hbox* [] *Fix hbox*
[ ] Fix makefile [ ] Fix makefile
[ ] Clean code [ ] Clean code