Kronosys döneminin sınır çubuklarının kaldırılması
Aug 17 2020
Bir frekans spektrumu oluşturmak için chronosys paketini kullanıyorum ve şimdiye kadar bulduğum şey bu:
\chronoperiodecoloralternation{red,blue,green,green}
\definechronoperiode{MyPeriod}[dates=false,arrow=false,textdepth=-60pt,textwidth=30pt,ifcolorbox=false]
\startchronology
[startyear=1,stopyear=20,startdate=false,stopdate=false]
\chronoperiode[dates=false]{1}{3}{Period 1}
\chronoperiode[dates=false]{3}{10}{Period 2}
\chronoperiode[dates=false]{10}{20}{Period 3}
\chronoMyPeriod[]{14}{17}{Description 1}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{1}{a}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{3}{b}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{10}{c}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{15}{d}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{18}{e}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{20}{f}
\stopchronology
Maalesef bu kod, zaman çizelgemde "Açıklama 1" bölümünün hemen altında iki "nokta sınırı" oluşturuyor. Onları nasıl kaldırabilirim?
Düzenle:
Ortaya çıkan rakam budur:
"D" 'den önceki ve sonraki iki dikey çubuktan kurtulmak istiyorum.
Yanıtlar
1 DavidPurton Aug 17 2020 at 20:41
Bu çizgiler \dochronoperiodemakroda sabit kodlanmıştır . Bunları kullanarak yama yapabilirsiniz xpatch:
\documentclass{article}
\usepackage{chronosys}
\usepackage{xpatch}
\catcode`\@=11%
\catcode`\!=11%
\xpatchcmd{\dochronoperiode}
{\begingroup{%
\dimen@i\dimexpr\!chrperiodtopheight-\!chrperiodbottomdepth\relax
\!chrusecolor{\!chr!periodeschwarzodergr@u}%
\kern-0.2pt\relax\vrule height\dimen@i width0.4pt\relax \kern-0.2pt\relax
\kern\dimen@\relax
\kern-0.2pt\relax\vrule height\dimen@i width0.4pt\relax \kern-0.2pt\relax
\kern-\dimen@\relax}%
\endgroup}
{}
{}
{}
\catcode`\@=12%
\catcode`\!=12%
\begin{document}
\chronoperiodecoloralternation{red,blue,green,green}
\definechronoperiode{MyPeriod}[dates=false,arrow=false,textdepth=-60pt,textwidth=30pt,ifcolorbox=false]
\startchronology
[startyear=1,stopyear=20,startdate=false,stopdate=false]
\chronoperiode[dates=false]{1}{3}{Period 1}
\chronoperiode[dates=false]{3}{10}{Period 2}
\chronoperiode[dates=false]{10}{20}{Period 3}
\chronoMyPeriod[]{14}{17}{Description 1}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{1}{a}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{3}{b}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{10}{c}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{15}{d}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{18}{e}
\chronoevent[date=false,markdepth=-20pt,textwidth=2pt]{20}{f}
\stopchronology
\end{document}
Donovan, Şarkılarından 1'ini The Beatles'ın "Lucy in the Sky with Diamonds" şarkısıyla karşılaştırdı
Nicole Kidman, Michael Keaton ve Val Kilmer'in Batman Olarak Paylaştığı Bu 1 Çekici Özelliğe Bayıldı
Tom Girardi Dolandırıcılık Suçlamalarından Yargılanma Yetkisinin Belirlenmesi İçin Duruşmaya Katıldı
Charly Reynolds Yakın Zamandaki Vokal Kord Ameliyatını Açıkladı: 'Şarkı Söylemekte Sorun Yaşıyordum'