GithubHelp home page GithubHelp logo

moderntimeline's Introduction

Moderntimeline

Join the chat at https://gitter.im/raphink/moderntimeline Build Status CTAN CTAN license

Timelines for use with moderncv.

This LaTeX package provides commands to configure and to draw timeline diagrams; such diagrams are designed to fit into Curriculum Vitae documents written using the moderncv class.

moderntimeline's People

Contributors

astrinus avatar gitter-badger avatar iokill avatar jord1e avatar quietnan avatar raphink avatar ypid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moderntimeline's Issues

Labels over timelines edges

Depending in the size of the label and how near to the edge it is, it goes over the timeline edge to the page border or the content. Examples:

overedge

Odd start/end label placement on short bars

Hi,

Thanks for your package! I actually use it a couple of years already.

One thing that always bothered me a little is the way how start and end labels are positioned on short bars:

current_labels

As you can see, the end date is behind the start date, which can be confusing to people reading your CV. A way to improve this a little bit would be to just put both start and end date above the bar:

alternative_labels

Maybe it would be convenient to introduce another macro for this, something like \tlsinglelabelcventry? What do you think?
I could create a PR for that, if you agree.

Illegal unit of measure (pt inserted).

I am writing a CV with moderncv and moderntimeline package.

Last month everything went well but since last week, I got this error:

Illegal unit of measure (pt inserted).

The error shows to the first entry of employment/education. I am using \tlcventry.

Here is my TeX Live version:

TeX 3.14159265 (TeX Live 2016/Debian)
kpathsea version 6.2.2
Copyright 2016 D.E. Knuth.

Packages used:
geometry, url, eurosym, moderntimeline.

Please help. Thanks.

\documentclass[11pt,a4paper,sans]{moderncv}   
\definecolor{darkgreen}{rgb}{0,0.5,0.0}
\moderncvstyle{banking}                
\moderncvcolor{blue}                   
\usepackage[scale=0.8]{geometry}
\firstname{Kisu}
\familyname{Terduba}
\title{Curriculum Vita{\ae}}                          
\address{8888 Kota 16419}{Republic of Negara}    
\mobile{+88~88~8888~8888}                     
\phone{+88~(88)~888~8888}                     
\fax{+88~(88)~888~8888}                        
\email{[email protected]}                          
\homepage{https://about.me/kisu}       
\usepackage{url}
\usepackage{eurosym}
\usepackage{moderntimeline}

\begin{document}
\makecvtitle

\tlwidth{0.8ex}
\tltext{\tiny}

\section{Employment}
\tlmaxdates{2007}{2019}
\tlcventry{2010}{0}{Assistant Professor}{Somewhere University}{Republic of Negara}{}{}{}
\tlcventry{2012}{2015}{Assistant Professor}{President University}{Tengah}{}{}{}
\tlcventry{2007}{2010}{Assistant Professor}{The University of Nakal}{Semenanjung Campus}{}{}{}

\section{Education}
\tlmaxdates{1997}{2006}
\tlcventry{2003}{2006}{PhD in Applied Mathematics}{Universiteit Enskede}{Belanda}{}{}
\tlcventry{2001}{2003}{Master of Mathematical Sciences}{Universiteit Tyreso}{Tyreso}{}{}
\tlcventry{1997}{2001}{BS in Mathematics}{Institute of Technology}{Java}{}{}

\end{document}

A way to render starting dates that are too early

It would be great if when the starting date is earlier than the "firstyear", the bar is drawn as a gradient with the white end at "firstyear".

I tried to submit a patch, but it's taking me too much time to get a hang of tikz :(

Incompatibility with \usetikzlibrary{positioning}

Thanks for this cool packase. But if I add \usetikzlibrary{positioning}, the label of \tlcventry are misplaced (flying like 5cm above).

MWE:

\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{classic}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{enumitem}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{moderntimeline}
\usetikzlibrary{positioning} % ?? This breaks moderntimeline?? See the flying 2018?

\tlmaxdates{2012}{2024}
\tlrunningcolor{gray}

\firstname{foo}
\familyname{bar}
\title{foo}
\address{}
\email{}

\begin{document}
\vspace*{10cm}
\section{Test}

\tlcventry{2018}{2019}{Some stuff}{Some place}{Foo}{Bla}{See that the 2018 is flying? Disabling \texttt{\textbackslash usetikzlibrary\{positioning\}} fixes it, but of course this is not a proper solution since one might need this library.}

\end{document}

pgfkeys error

I'm getting the following error:

! Package pgfkeys Error: I do not know the key '/tikz/color1' and I am going to
ignore it. Perhaps you misspelled it.

I have tried it with your CV to make sure I is not an user error, here is the log: https://gist.github.com/5e4a208bfe0f324b352f

Any idea?

Inconsistent spacing between tldatecventry and tldatelabelcventry

Minmal working example:

\documentclass{moderncv}
\usepackage[firstyear=2013,lastyear=2016]{moderntimeline}
\moderncvstyle{classic}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\makecvtitle
\tldatecventry[orange]{2015}{aaa}{bbb}{ccc}{ddd}{eee}
\tldatelabelcventry[red]{2013/8}{August 2014}{aaa}{bbb}{ccc}{ddd}{eee}
\end{document}

In the tldatelabelcventry case, the timeline is too high.

Incompatibility with todonotes package

If the todonotes package is used, either in its disabled or activated form:

\usepackage[disabled]{todonotes}
\usepackage[draft]{todonotes}

the start date (or date label) is wrongly printed to the top of the page:

moderntimeline-todonotes

I used the following code:

\documentclass[10pt,a4paper,sans]{moderncv}
\usepackage[firstyear=2010,lastyear=2018]{moderntimeline}

\moderncvstyle{casual}
\moderncvcolor{blue}

\usepackage{fontspec}
\usepackage[ngerman, english]{babel}

\usepackage[disable]{todonotes}

% personal data
\name{John}{Doe}

\begin{document}
\maketitle

\section{Education}
\tlcventry{2015}{2016}{University}{}{}{}{}
\end{document}

Shaded start timeline

Hobbies and school years, might start before the actual first year, where the „more relevant“ stuff happened. It’d be great to have some kind of mechanism, that the left part is shaded, if the year is smaller than first year.

\documentclass{moderncv}
\usepackage[firstyear=2002,lastyear=2021]{moderntimeline}
\moderncvstyle{classic}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\makecvtitle

\section{Section}
\tlcventry{1998}{0}{GNU School}{The Internet}{}{}{Learning about free software}
\tlcventry{2002}{0}{GNU employment}{GNU Company}{}{}{Did great things}
\end{document}

Wrong placement of \tlcventry bar

I have an experience which ends in 2014 (specifically december) and the next one starts in 2015.
Without cheating with the start year (putting 2014 instead of 2015), there is an "hole" in the ideal continuity of the various time bars.
Original output: 1

Hole colored in orange: 2

tllabelcventry is broken in 0.11

\documentclass{moderncv}
\usepackage[firstyear=2000,lastyear=2025]{moderntimeline}
\moderncvstyle{classic}
\moderncvcolor{blue}
\name{John}{Doe}
\begin{document}
\makecvtitle
\tllabelcventry{2005}{2020}{end}{Scribus Student}{GNU School}{The Internet}{}{Tried Scribus for a short while}
\end{document}

Result

image

Expected result: No 2020 in the timeline, but only "end".

It works by doing

\tllabelcventry{2005}{2020}{end///}{Scribus Student}{GNU School}{The Internet}{}{Tried Scribus for a short while}

image

Thanks @exaexa for the "workaround".

Additional Style for tlcventry?

While I love the package in general, I wish the the tlcventry was more like the tldatecventry, specifically:

  • rounded corners for start and end date
  • edgy corners for ongoing entries (instead of the changing color)
  • the thick line centered on the thin one (like the centered dot for tldatecventry)
  • start and end date centered above / below the respective side of tlcventry

Unfortunately I have no knowledge about tikz and I'm just a LaTeX "user", so not sure if this is even possible or how to get it started. General feedback or any pointers would be much appreciated...

Cheers,
Philipp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.