Closed hettylulu closed 4 years ago
In tcolorbox
, the parindent
has to be adjusted manually. You can do so in the file langsci-tbls
:
https://github.com/langsci/177/blob/0c17b0c15f4c9efac3a97c91fec0637661c8be77/langsci-tbls.sty#L33
Yes, I also found this. But I did not manage to do this in my load files. I think it is not an option to edit langsci-tbls.sty every time I need a different parindent. Or is this the way to go.
What's a "load file"?
I think it is not an option to edit langsci-tbls.sty every time I need a different parindent
How often do you need a different parindent
? You're generally not supposed to change lengths and other pre-defined settings, Chinese typography being the one exception that we have so far encountered.
I have a special customization file localpackages-chinese.tex in which all the stuff happens that is specific to Chinese. I think having a copy of langsci-tbls.sty around only to be able to change the \parindent
is not good style, is it?
Easy: after loading langsci-tbls
, customise the before upper
setting using \tcbset
:
\makeatletter
\tcbset{before upper = {\parindent=20.95pt\@afterheading\@afterindentfalse}}
\makeatother
Thanks! I somehow tried to do this in the if condition where you tested which version of tlbs I loaded.
![Uploading 截屏2020-08-21 上午11.50.45.png…]()
It is shown above the first line is indented with less than two characters space. But in Chinese, the text should be indented with two characters @stefan11
The network is not well, and I will upload the picture later.