X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fcolored-boxes.lyx;h=2ed3665e58076730d6c5dcf0fbd596262f2d075c;hb=3fd0cc27d47d79513487e56a254c90e1794b6b0e;hp=398c9a6032a43d3a73d86d5d40ed0fcfd23312a4;hpb=9bbb07e84430baaf003441fff60a0a7900b16452;p=lyx.git diff --git a/lib/examples/colored-boxes.lyx b/lib/examples/colored-boxes.lyx index 398c9a6032..2ed3665e58 100644 --- a/lib/examples/colored-boxes.lyx +++ b/lib/examples/colored-boxes.lyx @@ -1,8 +1,9 @@ -#LyX 2.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 498 +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 544 \begin_document \begin_header -\origin unavailable +\save_transient_properties true +\origin /systemlyxdir/examples/ \textclass scrartcl \begin_preamble % if pdflatex is used @@ -37,16 +38,18 @@ tcolorbox \language_package default \inputencoding auto \fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_math auto +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false -\font_sf_scale 100 -\font_tt_scale 100 +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures false \graphics default \default_output_format default \output_sync 0 @@ -73,14 +76,14 @@ tcolorbox \use_geometry false \use_package amsmath 1 \use_package amssymb 1 -\use_package cancel 0 +\use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 1 \use_package mhchem 1 -\use_package stackrel 0 -\use_package stmaryrd 0 -\use_package undertilde 0 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 \cite_engine basic \cite_engine_type default \biblio_style plain @@ -90,6 +93,7 @@ tcolorbox \suppress_date true \justification true \use_refstyle 0 +\use_minted 0 \notefontcolor #0000ff \index Index \shortcut idx @@ -99,7 +103,10 @@ tcolorbox \tocdepth 3 \paragraph_separation skip \defskip medskip -\quotes_language english +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -162,6 +169,7 @@ tcolorbox \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -380,7 +388,7 @@ Box \begin_layout Standard Fit boxes are dynamic boxes but their content is automatically decreased - or increased to fit into the specified box width and heigh. + or increased to fit into the specified box width and height. How to specify a width and height is described in \begin_inset CommandInset ref LatexCommand ref @@ -868,6 +876,7 @@ tcolorbox \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -1240,6 +1249,7 @@ Default Value status open \begin_layout Plain Layout + cBoxA \end_layout @@ -1250,6 +1260,7 @@ cBoxA status open \begin_layout Plain Layout + 1 \end_layout @@ -1418,6 +1429,7 @@ Box status open \begin_layout Plain Layout + auto counter, number within=section \end_layout @@ -1428,6 +1440,7 @@ auto counter, number within=section status open \begin_layout Plain Layout + cBoxB \end_layout @@ -1438,6 +1451,7 @@ cBoxB status open \begin_layout Plain Layout + 1 \end_layout @@ -1656,6 +1670,7 @@ More Color Box Options status open \begin_layout Plain Layout + auto counter, number within=section \end_layout @@ -1666,6 +1681,7 @@ auto counter, number within=section status open \begin_layout Plain Layout + cBoxC \end_layout @@ -1676,6 +1692,7 @@ cBoxC status open \begin_layout Plain Layout + 2 \end_layout @@ -1796,6 +1813,7 @@ skins \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -2925,6 +2943,7 @@ raster \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -4458,7 +4477,7 @@ arc=5 \begin_inset space \thinspace{} \end_inset -mm +mm, \series default \series bold @@ -4565,7 +4584,7 @@ A 3.5 \begin_inset space \thinspace{} \end_inset -cm wide circular box. +cm wide circular arc box. \end_layout \end_inset @@ -4574,7 +4593,7 @@ cm wide circular box. \end_layout \begin_layout Standard -As you can see circular box looks ugly when the box is wider than high. +As you can see circular arc box looks ugly when the box is wider than high. It is therefore recommended to add the option \series bold square @@ -4588,7 +4607,7 @@ reference "subsec:Height" , to get the same width and height. The result is a perfect circle. - The center the text in the box use the text alignment options described + To center the text in the box use the text alignment options described in \begin_inset CommandInset ref LatexCommand ref @@ -4617,7 +4636,7 @@ A 4 \begin_inset space \thinspace{} \end_inset -cm wide circular box. +cm wide circular arc box. \end_layout \end_inset @@ -4756,7 +4775,7 @@ The option octogon arc \series default is useful to get an octagon. - For an octagon one needs a square box and the options + For an octagon one needs a square box and the option \series bold arc is angular \series default @@ -5287,7 +5306,7 @@ A vertically centered box. \end_layout \begin_layout Description -scale the content is vertically centered to fit the height +scale the content is vertically scaled to fit the height \begin_inset Flex Color Box status open @@ -5498,7 +5517,7 @@ The color is specified in one of these schemes: Name \series default -\begin_inset Newline newline +\begin_inset VSpace 3mm \end_inset @@ -5550,10 +5569,10 @@ red \begin_layout Enumerate \series bold -Name1!PercentOfName1 +Name!PercentOfName \series default -\begin_inset Newline newline +\begin_inset VSpace 3mm \end_inset @@ -5584,7 +5603,7 @@ geen!30 \begin_inset Quotes eld \end_inset -transparence +transparency \begin_inset Quotes erd \end_inset @@ -5624,7 +5643,7 @@ green!30 Name1!PercentOfName1!Name2 \series default -\begin_inset Newline newline +\begin_inset VSpace 3mm \end_inset @@ -5687,7 +5706,7 @@ red!30!blue Name1!PercentName1!Name2!PercentName3!Name3 \series default -\begin_inset Newline newline +\begin_inset VSpace 3mm \end_inset @@ -7146,12 +7165,12 @@ status open status open \begin_layout Plain Layout -enhanced, drop fuzzy shadow, nobeforeafter +enhanced, drop fuzzy shadow=purple, nobeforeafter \end_layout \end_inset -A box with a fuzzy shadow +A box with a fuzzy, purple shadow \end_layout \end_inset @@ -7173,6 +7192,7 @@ tcolorbox \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -7292,6 +7312,7 @@ tcolorbox \begin_inset CommandInset citation LatexCommand cite key "tcolorbox" +literal "true" \end_inset @@ -7329,6 +7350,7 @@ generic shadows \begin_inset CommandInset bibitem LatexCommand bibitem key "tcolorbox" +literal "true" \end_inset @@ -7336,7 +7358,8 @@ key "tcolorbox" \begin_inset CommandInset href LatexCommand href name "Documentation" -target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf" +target "https://ctan.org/tex-archive/macros/latex/contrib/tcolorbox/tcolorbox.pdf" +literal "false" \end_inset