-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension of the macro \underLine
#11
Comments
I pushed an experimental version of this: The (unreleased) version in the repo has a new macro
Supported keys are Anyways, please test 😺 |
The name of the keys is correct (I'm not very clever for that) and it works perfect, now I can imitate (more or less) the output that Acrobat DC produces. You can add a couple of things:
|
Sorry for the long delay 🙈
Not really planned since it can be emulated by nesting two
That's ... complicated. Extending is relatively easy, but when it's possible to shorten than it becomes very obvious if the line stops somewhere and a new line starts. That makes it rather fragile. Also it could be argued that |
I had completely forgotten that you can nest :D
Ops, in my mind it looked a bit easier, I didn't think in paragraphs as such but in sentences or headings (nothing multiline) ...snif |
Allowing nesting is not really one of the most common features for LaTeX underlining packages ;)
Thanks. I certainly can identify with the students carrying only one pencil. Also in PDF files this allows you to print without requiring color printing, so I think there is some value to it. In your opinion is this something for which the nesting based implementation is appropriate or do you still think it needs explicit support?
I'll keep this in mind as a potential future extension. |
In my school world it is very common to work only in black and white (someday we will be able to print in color, but I see it as a long way off :)
I think that will depend more on your opinion and what you want to do with
That would be great. I know the focus of the package is on color, but these details are very cool, sometimes you try to imitate the usual handwriting techniques in PDF (just for illustrative purposes) and I find in |
I came here because I thought I needed offset/extend too – I use lua-ul to add gray background to (wrapped) inline code – but I realized that I actually just want to add some space around my highlighted text & that, of course, works like a charm already :) |
Hi, I'm moving old files to LuaLaTeX and many of the soul capabilities can be done directly with
fontspec
andlua-ul
. I think it would be nice to have an extension likekey=val
for\undeLine
, something like:\underLine[ul-color=some color, ul-width = some width, ul-depth = some dim]{awesome}
(don't take into account the names of the keys, I'm not very witty)
That is, to be able to better control the colour, width and depth (or vertical spacing) of
\underLine
. Something like this will be possible?Saludos
The text was updated successfully, but these errors were encountered: