Retour

fig08a.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass[svgnames,a4paper]{standalone}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage{bera}
%% "xcolor" is loaded by "pstricks" already, which is required by "pst-caelum" ...
%\usepackage{xcolor}
\usepackage{pst-caelum}
 
\begin{document}
\begin{pspicture}(-7,-7)(7,7)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%              GLOBAL SETTINGS                  %%%
%%% see "pst-caelum.tex" for the default settings %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\psset[caelum]{%
    hemisphere=north,      % north, south, local
    lang=de,               % de, fr, en, it, es
    projection=pa,         % pa, ps, pm, po, pl, dca, dcm, dcs
                           % THESE PROJECTIONS ARE SIMPLY AMAZING!!! :-) EXCELLENT!!!
    horizon=north,         % north, south
    altitude=0,            % natural number (affects to \caelum{Horizon} to shrink it)
    lon=0,                 % longitude of the observer
    lat=47,                % latitude of the observer
    year=2021,             % Is there a limit for year < XXXX ???
                           % JMS: no, xint-meeus can calculate the position of the sun
                           % and the sidereal time for a good number of years to come.
    month=6,               % natural number of month: 1 = January, ..., 12 = December
    day=1,                 % natural number between 1 and 31
    hour=21.25,            % NOTE: minutes are done with decimals in "hour"
    %rotate=0,             % No idea yet -- waiting for documentation
                           % JMS: Rotate the map to place a region in the right place for a clip.
    %opacity=0,            % makes sense for the \caelum{Horizon} is set locally
    %magmax=8,             % Shows stars with max magnitude of 8
    %scale=1,              % scales objects also locally
    %size=1,               % e.g. makes the dots of the Milkyway smaller/greater -- is set locally
    %abrev=and,            % No idea yet -- waiting for documentation
                           % JMS: Choose a constellation to draw by its abbreviation
    %starsonly=false,      % boolean
    %segmentsonly=false,   % boolean
    sideralrotation,       % boolean
    %withsun,              % boolean makes sense, if \caelum{Ecliptic} is set (set locally)
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%         OBJECTS in the sky        %%%
%%% They can be changed individually. %%%
%%%  NOTE: The objects are treated    %%%
%%%   like "layers" -- one set over   %%%
%%% the other -- so the order matters %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SKY itself
\caelum{Sky}                                                                            %% Sets the sky itself (color etc.)
%% MILKYWAY
\caelum[color1={[rgb]{0.25 0.25 0.55}},color2={[rgb]{0.3,0.3,0.6}},size=0.25]{Milkyway} %% Shows Milkyway
                                                                                        %% OPTIONS: "color1=, color2=" set individual colors for the stars
                                                                                        %%          of the Milkyway
                                                                                        %%          "size=0.25" resizes the dots (stars)
%% ASTERISMS
\caelum[linewidth=0.2pt,fillcolor=Goldenrod,size=1.4]{Asterisms}                        %% Shows the figures in the sky
                                                                                        %% OPTION: "size=1.4" resizes the dots (stars) of the figures
\caelum[fillcolor=white]{Stars}                                                         %% Shows many stars as a background layer
\caelum[linestyle=dotted,linewidth=0.2pt,linecolor=LightSkyBlue]{Boundaries}            %% Shows boundaries of the constellations ("linestyle=dashed/dotted")
%% HELPER
%\caelum[linecolor=red,fillcolor=green,abrev=and]{Constellations}        %% One chooses a constallation by its abreviation and highlights its boundary
\caelum[textcolor=cyan]{Abreviations}                                    %% NOTE: textcolor for text not linecolor: Shows abreviations of constellations
\caelum[linecolor=MidnightBlue!90!LightBlue,linewidth=0.5pt]{Graticule}  %% Shows degree lines
\caelum[linecolor=Black]{Graduations}                                    %% Ticks, ticks and ticks for hrs, min and months, days :-) SUPERBE !!!
                                                                         %% automatically sets green triangle for TU and red triangle for sideral time
%% ADDITIONAL curves
\caelum[linecolor=Yellow,linewidth=0.3pt,withsun]{Ecliptic}                        %% Ecliptic curve of the sun
                                                                                   %% OPTION: "withsun" sets an eps picture of the sun to the correct
                                                                                   %%         place on the ecliptic, depending on the date, hour used
\caelum[linewidth=0.3pt,linecolor=red]{EGalactic}                                  %% Galactic equator -- same direction as Milkyway
\caelum[linewidth=0.5pt,linecolor=Green,linestyle=dashed]{Equator}                 %% Earth equator
\caelum[linecolor=Goldenrod,fillcolor=Black,opacity=0.65,linewidth=0.6pt]{Horizon} %% OPTIONS: "altitude=5" shrinks more the horizon the larger the number
                                                                                   %%          "opacity=0.65" sets transparency to the out-of-horizon objects
\end{pspicture}
\end{document}