@@ -20,6 +20,7 @@ function Base.show(io::IO, ::MIME"text/plain", ocp::Model)
2020
2121 # ------------------------------------------------------------------------------ #
2222 # print the code
23+ printstyled (io, " \n Abstract defintion:\n\n " ; bold= true )
2324 tab = 4
2425 code = striplines (definition (ocp))
2526 @match code. head begin
@@ -225,7 +226,7 @@ function Base.show(io::IO, ::MIME"text/plain", ocp::Model)
225226 #
226227 some_printing && println (io)
227228 printstyled (io, " Declarations " ; bold= true )
228- printstyled (io, " (* required):\n " ; bold= false )
229+ printstyled (io, " (* required):\n " ; bold= true )
229230 # println(io)
230231
231232 # print table of settings
@@ -293,6 +294,7 @@ function Base.show(io::IO, ::MIME"text/plain", ocp::PreModel)
293294
294295 # ------------------------------------------------------------------------------ #
295296 # print the code
297+ printstyled (io, " \n Abstract defintion:\n\n " ; bold= true )
296298 tab = 4
297299 code = striplines (definition (ocp))
298300 @match code. head begin
@@ -512,7 +514,7 @@ function Base.show(io::IO, ::MIME"text/plain", ocp::PreModel)
512514 #
513515 some_printing && println (io)
514516 printstyled (io, " Declarations " ; bold= true )
515- printstyled (io, " (* required):\n " ; bold= false )
517+ printstyled (io, " (* required):\n " ; bold= true )
516518 # println(io)
517519
518520 # print table of settings
0 commit comments