Skip to content

Commit

Permalink
figlet style OSCAR banner, update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paemurru committed Feb 22, 2024
1 parent 4b532ea commit 0402788
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 28 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,11 @@ in the OSCAR manual to learn more on how to contribute to OSCAR.

```julia
julia> using Oscar
----- ----- ----- - -----
| | | | | | | | | |
| | | | | | | |
| | ----- | | | |-----
| | | | |-----| | |
| | | | | | | | | |
----- ----- ----- - - - -

...combining (and extending) ANTIC, GAP, Polymake and Singular
Version 1.1.0-DEV ...
... which comes with absolutely no warranty whatsoever
Type: '?Oscar' for more information
(c) 2019-2024 by The OSCAR Development Team
___ ____ ____ _ ____
/ _ \/ ___| / ___| / \ | _ \ | Combining ANTIC, GAP, Polymake, Singular
| | | \___ \| | / _ \ | |_) | | Type "?Oscar" for more information
| |_| |___) | |___ / ___ \| _ < |
\___/\____/ \____/_/ \_\_| \_\ | Version 1.1.0-DEV

julia> k, a = quadratic_field(-5)
(Imaginary quadratic field defined by x^2 + 5, sqrt(-5))
Expand Down
20 changes: 5 additions & 15 deletions src/Oscar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,11 @@ if Sys.iswindows()
end

function _print_banner()
println(raw" _____ _____ _____ _ ____ ")
println(raw"/ \ / \ / \ / \ | \ ")
println(raw"| | | | / \ | | ")
println(raw"| | \_____ | | | |____/ ")
println(raw"| | \ | |_____| | \ ")
println(raw"| | | | | | | \ ")
println(raw"\_____/ \_____/ \_____/ | | | \ ")
println()
println("...combining (and extending) ANTIC, GAP, Polymake and Singular")
print("Version")
printstyled(" $VERSION_NUMBER ", color = :green)
print("... \n ... which comes with absolutely no warranty whatsoever")
println()
println("Type: '?Oscar' for more information")
println("(c) 2019-2024 by The OSCAR Development Team")
println(raw" ___ ____ ____ _ ____ ")
println(raw" / _ \/ ___| / ___| / \ | _ \ | Combining ANTIC, GAP, Polymake, Singular")
println(raw"| | | \___ \| | / _ \ | |_) | | Type \"?Oscar\" for more information")
println(raw"| |_| |___) | |___ / ___ \| _ < | ")
println(raw" \___/\____/ \____/_/ \_\_| \_\ | " * "Version $VERSION_NUMBER")

Check warning on line 46 in src/Oscar.jl

View check run for this annotation

Codecov / codecov/patch

src/Oscar.jl#L42-L46

Added lines #L42 - L46 were not covered by tests
end


Expand Down

0 comments on commit 0402788

Please sign in to comment.