Make a ligature by deleting part of a letter












2















I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L.



(If this is even possible...!)



documentclass[a4paper]{article}

begin{document}

Huge Akern-0.3em L

end{document}









share|improve this question























  • You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

    – TeXnician
    1 hour ago
















2















I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L.



(If this is even possible...!)



documentclass[a4paper]{article}

begin{document}

Huge Akern-0.3em L

end{document}









share|improve this question























  • You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

    – TeXnician
    1 hour ago














2












2








2








I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L.



(If this is even possible...!)



documentclass[a4paper]{article}

begin{document}

Huge Akern-0.3em L

end{document}









share|improve this question














I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L.



(If this is even possible...!)



documentclass[a4paper]{article}

begin{document}

Huge Akern-0.3em L

end{document}






ligatures






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









alice19alice19

360212




360212













  • You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

    – TeXnician
    1 hour ago



















  • You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

    – TeXnician
    1 hour ago

















You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

– TeXnician
1 hour ago





You can't remove the vertical bar of the L effectively, but why not simply lowering a rule?

– TeXnician
1 hour ago










2 Answers
2






active

oldest

votes


















3














documentclass[a4paper]{article}
usepackage{xcolor}
newsaveboxLBox
newsaveboxABox
defAL{sboxLBox{L}sboxABox{A}%
leavevmodekernwdABoxrlap{L}rlap{kern0.05em%
textcolor{white}{rule[0.1ex]{0.5wdLBox}{1.7ex}}}%
kern-wdABoxkern0.35emuseboxABoxkernwdLBox}

begin{document}
AL foo
end{document}


enter image description here






share|improve this answer
























  • The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

    – Circumscribe
    1 hour ago





















1














You could use clipbox from the trimclip package (which is part of adjustbox) to cut off the stem of the leter L.
Its syntax is



clipbox{<l> <b> <r> <t>}{<stuff>}


and it cuts off <l> from the left, <b> from the bottom, <r> from the right and <t> from the top of <stuff>.
The part that is clipped off is not covered, but actually hidden.



It's not a perfect solution though, as the kerning between the L and the next character will be incorrect if that character is wider at the top than at the bottom, as illustrated below.
If you want to avoid this you'll probably have to look ahead for the next character or something (or maybe something with Lua is possible?).



documentclass{article}

usepackage{trimclip}
newcommand*AL{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}

begin{document}


begin{tabular}{ll}
Good: & AAL A
\
Comparison: & AAkern-.295em LA
\
Bad: & WAL W
\
Comparison: & WAkern-.295em LW
end{tabular}

end{document}


output



Remark



I would prefer defining AL/ instead of AL. You could do this using



defAL/{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}


The advantage is that spaces after AL/ aren't eaten like those after AL are, so you can write something like MinimAL/ AL/uminium without having to insert an explicit between the words or having to add a space between AL/ and uminium. You'll get an error if you forget the closing /.



I don't know who came up with this idea, but it can be found e.g. here and here.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472009%2fmake-a-ligature-by-deleting-part-of-a-letter%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    documentclass[a4paper]{article}
    usepackage{xcolor}
    newsaveboxLBox
    newsaveboxABox
    defAL{sboxLBox{L}sboxABox{A}%
    leavevmodekernwdABoxrlap{L}rlap{kern0.05em%
    textcolor{white}{rule[0.1ex]{0.5wdLBox}{1.7ex}}}%
    kern-wdABoxkern0.35emuseboxABoxkernwdLBox}

    begin{document}
    AL foo
    end{document}


    enter image description here






    share|improve this answer
























    • The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

      – Circumscribe
      1 hour ago


















    3














    documentclass[a4paper]{article}
    usepackage{xcolor}
    newsaveboxLBox
    newsaveboxABox
    defAL{sboxLBox{L}sboxABox{A}%
    leavevmodekernwdABoxrlap{L}rlap{kern0.05em%
    textcolor{white}{rule[0.1ex]{0.5wdLBox}{1.7ex}}}%
    kern-wdABoxkern0.35emuseboxABoxkernwdLBox}

    begin{document}
    AL foo
    end{document}


    enter image description here






    share|improve this answer
























    • The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

      – Circumscribe
      1 hour ago
















    3












    3








    3







    documentclass[a4paper]{article}
    usepackage{xcolor}
    newsaveboxLBox
    newsaveboxABox
    defAL{sboxLBox{L}sboxABox{A}%
    leavevmodekernwdABoxrlap{L}rlap{kern0.05em%
    textcolor{white}{rule[0.1ex]{0.5wdLBox}{1.7ex}}}%
    kern-wdABoxkern0.35emuseboxABoxkernwdLBox}

    begin{document}
    AL foo
    end{document}


    enter image description here






    share|improve this answer













    documentclass[a4paper]{article}
    usepackage{xcolor}
    newsaveboxLBox
    newsaveboxABox
    defAL{sboxLBox{L}sboxABox{A}%
    leavevmodekernwdABoxrlap{L}rlap{kern0.05em%
    textcolor{white}{rule[0.1ex]{0.5wdLBox}{1.7ex}}}%
    kern-wdABoxkern0.35emuseboxABoxkernwdLBox}

    begin{document}
    AL foo
    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 1 hour ago









    HerbertHerbert

    272k24411724




    272k24411724













    • The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

      – Circumscribe
      1 hour ago





















    • The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

      – Circumscribe
      1 hour ago



















    The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

    – Circumscribe
    1 hour ago







    The amount of space surrounding this character seems rather excessive. You may want to adjust some of these kerns.

    – Circumscribe
    1 hour ago













    1














    You could use clipbox from the trimclip package (which is part of adjustbox) to cut off the stem of the leter L.
    Its syntax is



    clipbox{<l> <b> <r> <t>}{<stuff>}


    and it cuts off <l> from the left, <b> from the bottom, <r> from the right and <t> from the top of <stuff>.
    The part that is clipped off is not covered, but actually hidden.



    It's not a perfect solution though, as the kerning between the L and the next character will be incorrect if that character is wider at the top than at the bottom, as illustrated below.
    If you want to avoid this you'll probably have to look ahead for the next character or something (or maybe something with Lua is possible?).



    documentclass{article}

    usepackage{trimclip}
    newcommand*AL{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}

    begin{document}


    begin{tabular}{ll}
    Good: & AAL A
    \
    Comparison: & AAkern-.295em LA
    \
    Bad: & WAL W
    \
    Comparison: & WAkern-.295em LW
    end{tabular}

    end{document}


    output



    Remark



    I would prefer defining AL/ instead of AL. You could do this using



    defAL/{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}


    The advantage is that spaces after AL/ aren't eaten like those after AL are, so you can write something like MinimAL/ AL/uminium without having to insert an explicit between the words or having to add a space between AL/ and uminium. You'll get an error if you forget the closing /.



    I don't know who came up with this idea, but it can be found e.g. here and here.






    share|improve this answer






























      1














      You could use clipbox from the trimclip package (which is part of adjustbox) to cut off the stem of the leter L.
      Its syntax is



      clipbox{<l> <b> <r> <t>}{<stuff>}


      and it cuts off <l> from the left, <b> from the bottom, <r> from the right and <t> from the top of <stuff>.
      The part that is clipped off is not covered, but actually hidden.



      It's not a perfect solution though, as the kerning between the L and the next character will be incorrect if that character is wider at the top than at the bottom, as illustrated below.
      If you want to avoid this you'll probably have to look ahead for the next character or something (or maybe something with Lua is possible?).



      documentclass{article}

      usepackage{trimclip}
      newcommand*AL{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}

      begin{document}


      begin{tabular}{ll}
      Good: & AAL A
      \
      Comparison: & AAkern-.295em LA
      \
      Bad: & WAL W
      \
      Comparison: & WAkern-.295em LW
      end{tabular}

      end{document}


      output



      Remark



      I would prefer defining AL/ instead of AL. You could do this using



      defAL/{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}


      The advantage is that spaces after AL/ aren't eaten like those after AL are, so you can write something like MinimAL/ AL/uminium without having to insert an explicit between the words or having to add a space between AL/ and uminium. You'll get an error if you forget the closing /.



      I don't know who came up with this idea, but it can be found e.g. here and here.






      share|improve this answer




























        1












        1








        1







        You could use clipbox from the trimclip package (which is part of adjustbox) to cut off the stem of the leter L.
        Its syntax is



        clipbox{<l> <b> <r> <t>}{<stuff>}


        and it cuts off <l> from the left, <b> from the bottom, <r> from the right and <t> from the top of <stuff>.
        The part that is clipped off is not covered, but actually hidden.



        It's not a perfect solution though, as the kerning between the L and the next character will be incorrect if that character is wider at the top than at the bottom, as illustrated below.
        If you want to avoid this you'll probably have to look ahead for the next character or something (or maybe something with Lua is possible?).



        documentclass{article}

        usepackage{trimclip}
        newcommand*AL{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}

        begin{document}


        begin{tabular}{ll}
        Good: & AAL A
        \
        Comparison: & AAkern-.295em LA
        \
        Bad: & WAL W
        \
        Comparison: & WAkern-.295em LW
        end{tabular}

        end{document}


        output



        Remark



        I would prefer defining AL/ instead of AL. You could do this using



        defAL/{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}


        The advantage is that spaces after AL/ aren't eaten like those after AL are, so you can write something like MinimAL/ AL/uminium without having to insert an explicit between the words or having to add a space between AL/ and uminium. You'll get an error if you forget the closing /.



        I don't know who came up with this idea, but it can be found e.g. here and here.






        share|improve this answer















        You could use clipbox from the trimclip package (which is part of adjustbox) to cut off the stem of the leter L.
        Its syntax is



        clipbox{<l> <b> <r> <t>}{<stuff>}


        and it cuts off <l> from the left, <b> from the bottom, <r> from the right and <t> from the top of <stuff>.
        The part that is clipped off is not covered, but actually hidden.



        It's not a perfect solution though, as the kerning between the L and the next character will be incorrect if that character is wider at the top than at the bottom, as illustrated below.
        If you want to avoid this you'll probably have to look ahead for the next character or something (or maybe something with Lua is possible?).



        documentclass{article}

        usepackage{trimclip}
        newcommand*AL{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}

        begin{document}


        begin{tabular}{ll}
        Good: & AAL A
        \
        Comparison: & AAkern-.295em LA
        \
        Bad: & WAL W
        \
        Comparison: & WAkern-.295em LW
        end{tabular}

        end{document}


        output



        Remark



        I would prefer defining AL/ instead of AL. You could do this using



        defAL/{Akern-.035emclipbox{.26em 0em 0em .25em}{L}}


        The advantage is that spaces after AL/ aren't eaten like those after AL are, so you can write something like MinimAL/ AL/uminium without having to insert an explicit between the words or having to add a space between AL/ and uminium. You'll get an error if you forget the closing /.



        I don't know who came up with this idea, but it can be found e.g. here and here.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 21 mins ago

























        answered 34 mins ago









        CircumscribeCircumscribe

        5,9661836




        5,9661836






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472009%2fmake-a-ligature-by-deleting-part-of-a-letter%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Callistus I

            Tabula Rosettana

            How to label and detect the document text images