On 2022-01-08 05:38, Anthony Macks via lyx-users wrote:
>  >>On 2022-01-07 23:09, Anthony Macks via lyx-users wrote:
>  >> Dear LyX users,
>  >>
>  >> I am nesting description lists and want to justify the text within the
>  >> nested list.
>  >>
>  >> I have attached my MWE, output and a copy of what I want the output to
>  >> look like.
>  >>
>  >> I am using the module "Customisable Lists (enumitem)." with the
article
>  >> class. When I right click on the description label, an options box is
>  >> produced. However, the options to go in the box (I get the options
from
>  >> the enumitem package) are not producing the desired effect.
>  >>
>  >> Warm Regards,
>  >> Anthony
>  >>
>
>  >Dear Anthony,
>
>  >I am not sure that it is possible to adjust the width of the label
>  >automatically. Have you tried any of these instead?
>
>  >
https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
 <
https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
>

>
>  >Best regards,
>  >Daniel
>
> Thanks Daniel.
>
> I have looked at the link. It will require me to create a new
> environment which I was hoping to avoid.
>
> I have tried and can create the new environment successfully, however,
> it looks ugly with all the ERT I have to use.
>
> Perhaps, I can create the new environment in a local layout. I have
> written a local layout for an itemized list before.
> How would it differ from a description list?
>
> I have attached a file below which contains my local layout.
>
>
> Warm Regards,
> Anthony
>
>
> On Sat, 8 Jan 2022 at 15:26, Daniel via lyx-users
> <[email protected] <mailto:[email protected]>> wrote:
>
>     On 2022-01-07 23:09, Anthony Macks via lyx-users wrote:
>      > Dear LyX users,
>      >
>      > I am nesting description lists and want to justify the text
>     within the
>      > nested list.
>      >
>      > I have attached my MWE, output and a copy of what I want the
>     output to
>      > look like.
>      >
>      > I am using the module "Customisable Lists (enumitem)." with the
>     article
>      > class. When I right click on the description label, an options
>     box is
>      > produced. However, the options to go in the box (I get the
>     options from
>      > the enumitem package) are not producing the desired effect.
>      >
>      > Warm Regards,
>      > Anthony
>      >
>
>     Dear Anthony,
>
>     I am not sure that it is possible to adjust the width of the label
>     automatically. Have you tried any of these instead?
>
>
https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
 <
https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
>
>
>     Best regards,
>     Daniel
>      I should have read the thread more carefully to the end. Attached is
a
>      tweaked version of your example.

>Note:
>1. The enumitem package is loaded by the enumitem module. (You don't
>have to load the enumitem package manually.)
>2. The Description Options you used only affected the leftmargin from
>the second line of a description list onward. (It is not clear to me
>what should happen in the second line from your MWE.)
>3. In order to use LaTeX commands in LyX (those starting with \), you
>need to put them into a TeX Code inset. (Insert > TeX Code or Ctrl+L /
>Cmd+L.)

Thanks Daniel.
Problem solved.

Point 3 was worth exploring and it fixed an issue I had asked about.

I will try and write a local layout for my new environment which
automatically calculates the width of the longest label,

Warm Regards,
Anthony

On Sat, 8 Jan 2022 at 15:50, Daniel via lyx-users <[email protected]>
wrote:

> On 2022-01-08 05:38, Anthony Macks via lyx-users wrote:
> >  >>On 2022-01-07 23:09, Anthony Macks via lyx-users wrote:
> >  >> Dear LyX users,
> >  >>
> >  >> I am nesting description lists and want to justify the text within
> the
> >  >> nested list.
> >  >>
> >  >> I have attached my MWE, output and a copy of what I want the output
> to
> >  >> look like.
> >  >>
> >  >> I am using the module "Customisable Lists (enumitem)." with the
> article
> >  >> class. When I right click on the description label, an options box is
> >  >> produced. However, the options to go in the box (I get the options
> from
> >  >> the enumitem package) are not producing the desired effect.
> >  >>
> >  >> Warm Regards,
> >  >> Anthony
> >  >>
> >
> >  >Dear Anthony,
> >
> >  >I am not sure that it is possible to adjust the width of the label
> >  >automatically. Have you tried any of these instead?
> >
> >  >
> https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
> <
> https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
> >
> >
> >  >Best regards,
> >  >Daniel
> >
> > Thanks Daniel.
> >
> > I have looked at the link. It will require me to create a new
> > environment which I was hoping to avoid.
> >
> > I have tried and can create the new environment successfully, however,
> > it looks ugly with all the ERT I have to use.
> >
> > Perhaps, I can create the new environment in a local layout. I have
> > written a local layout for an itemized list before.
> > How would it differ from a description list?
> >
> > I have attached a file below which contains my local layout.
> >
> >
> > Warm Regards,
> > Anthony
> >
> >
> > On Sat, 8 Jan 2022 at 15:26, Daniel via lyx-users
> > <[email protected] <mailto:[email protected]>> wrote:
> >
> >     On 2022-01-07 23:09, Anthony Macks via lyx-users wrote:
> >      > Dear LyX users,
> >      >
> >      > I am nesting description lists and want to justify the text
> >     within the
> >      > nested list.
> >      >
> >      > I have attached my MWE, output and a copy of what I want the
> >     output to
> >      > look like.
> >      >
> >      > I am using the module "Customisable Lists (enumitem)." with the
> >     article
> >      > class. When I right click on the description label, an options
> >     box is
> >      > produced. However, the options to go in the box (I get the
> >     options from
> >      > the enumitem package) are not producing the desired effect.
> >      >
> >      > Warm Regards,
> >      > Anthony
> >      >
> >
> >     Dear Anthony,
> >
> >     I am not sure that it is possible to adjust the width of the label
> >     automatically. Have you tried any of these instead?
> >
> >
> https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
> <
> https://tex.stackexchange.com/questions/67720/description-list-with-aligned-descriptions
> >
> >
> >     Best regards,
> >     Daniel
> >
> >
> >     --
> >     lyx-users mailing list
> >     [email protected] <mailto:[email protected]>
> >     http://lists.lyx.org/mailman/listinfo/lyx-users
> >     <http://lists.lyx.org/mailman/listinfo/lyx-users>
> >
> >
>
> Something went wrong with the attachment. Here is a new one.--
> lyx-users mailing list
> [email protected]
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to