/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
doc/src/assets/custom.sty
46 строк
2 KB
Lilith Orion Hafner
Replace most occurances of http with https when the https url is valid (#52566)
04 янв 2024, 00:48
Не верифицирован
04 янв 2024, 00:48
0f6c72c
Код
Авторство
О чём код?
%% Load the macro package required for the cover. %% pkg for make cover page BEGIN ---------------------------------------------- % Load `geometry' to modify margins later \usepackage{geometry} % "some": use \BgThispage to change background % ref: background@v2.1,# 2.1 Options, "pages=" % https://mirrors.ctan.org/macros/latex/contrib/background/background.pdf \usepackage[pages=some]{background} %% Color definitions for Julia %% https://github.com/JuliaLang/julia-logo-graphics#color-definitions \definecolor{julia_blue} {HTML}{4063D8} \definecolor{julia_green} {HTML}{389826} \definecolor{julia_purple}{HTML}{9558B2} \definecolor{julia_red} {HTML}{CB3C33} \definecolor{splash_gary} {HTML}{1A1A33} % ---- define heading background % ref: background.pdf, #2.1 Options \backgroundsetup{ scale=1, % scaling factor angle=0, % counterclockwise angle opacity=1, % transparency contents={ %% Place the background image `title-bg' in the right place via `tikz'. % tikz option "remember picture", "overlay" % ref: pgfmanual@3.1.9a, #17.13.1 Referencing a Node in a Different Picture\ % https://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf \begin{tikzpicture}[remember picture,overlay,draw=white] \draw [path picture={ % ref: pgfmanual, 15.6, "Predefined node path picture bounding box" \node at (path picture bounding box.center){ \input{assets/cover-splash} };}] (-0.5\paperwidth,4cm) rectangle (0.5\paperwidth,11cm); % Put picture to right place % ref: pgfmanual, #2.6 Rectangle Path Construction \end{tikzpicture} }}% % ---- Heading font style \usepackage{anyfontsize} \newcommand{\MainHeading}{\fontspec{DejaVu Sans}\fontsize{40}{40}\selectfont\bfseries} \newcommand{\SecondaryHeading}{\fontspec{DejaVu Sans}\LARGE} %% cover page END -------------------------------------------------------------