issue138:c_c
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue138:c_c [2018/10/27 14:18] – créée auntiee | issue138:c_c [2018/11/09 19:04] (Version actuelle) – d52fr | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | The last month has been spent once again updating my CV. I do this quite frequently in order to keep it as up-to-date as possible when it comes to my skills and experiences. That way, if someone asks for my CV, I’ll have something to send them quickly. The problem with this is that the CV I update is massive (to contain all the possible information), | + | **The last month has been spent once again updating my CV. I do this quite frequently in order to keep it as up-to-date as possible when it comes to my skills and experiences. That way, if someone asks for my CV, I’ll have something to send them quickly. The problem with this is that the CV I update is massive (to contain all the possible information), |
What is LaTeX? | What is LaTeX? | ||
- | LaTeX is a markup language that is very popular with the math and science fields, due to its ability to easily represent mathematical equations. For the use case we’re covering in this article, however, we’re mainly focused on the ability to define your own reusable snippets. | + | LaTeX is a markup language that is very popular with the math and science fields, due to its ability to easily represent mathematical equations. For the use case we’re covering in this article, however, we’re mainly focused on the ability to define your own reusable snippets.** |
- | Example? | + | À nouveau, j'ai passé ce dernier mois à mettre à jour mon CV. Je le fais assez fréquemment afin qu'il soit aussi à jour que possible lorsqu' |
+ | |||
+ | LaTeX, qu' | ||
+ | |||
+ | LaTeX est un langage de balisage qui est très populaire dans les domaines mathématiques et scientifiques, | ||
+ | |||
+ | **Example? | ||
I decided on this approach while looking at various CV templates in LaTeX. In the Further Reading section, you’ll find a link to the selection of templates I ultimately chose (specifically, | I decided on this approach while looking at various CV templates in LaTeX. In the Further Reading section, you’ll find a link to the selection of templates I ultimately chose (specifically, | ||
Ligne 15: | Ligne 21: | ||
Next, you’ll want to create a nice folder to place your files in. This is the folder that will contain your .tex file, as well as the resulting PDF files and any temporary or supplementary files you may need (i.e. pictures). I therefore recommend that you use a new, empty folder for this. | Next, you’ll want to create a nice folder to place your files in. This is the folder that will contain your .tex file, as well as the resulting PDF files and any temporary or supplementary files you may need (i.e. pictures). I therefore recommend that you use a new, empty folder for this. | ||
- | Once you’re done with the preliminaries, | + | Once you’re done with the preliminaries, |
- | Housekeeping | + | Un exemple ? |
- | Once you’ve downloaded your template, you may discover that there are multiple files, or that there is one single large file. If there is only one file, you’ll want to split it up as I outline | + | J'ai décidé d' |
+ | |||
+ | Pour commencer | ||
+ | |||
+ | Vous devez installer LaTeX. Je recommande d' | ||
+ | |||
+ | Ensuite, vous devrez créer un dossier dans lequel mettre vos fichiers. C'est dans ce dossier que votre fichier .tex, ainsi que les fichiers PDF résultats et tous les fichiers temporaires ou supplémentaires dont vous pourrez avoir besoin (c' | ||
+ | |||
+ | Une fois les préliminaires terminés, je vous suggère de trouver un modèle sympa qui vous plaît et d'en télécharger vers ce nouveau dossier un exemple avec lequel travailler. Puisque chaque personne peut très bien travailler avec un modèle différent, j' | ||
+ | |||
+ | **Housekeeping | ||
+ | |||
+ | Once you’ve downloaded your template, you may discover that there are multiple files, or that there is one single large file. If there is only one file, you’ll want to split it up as I outline | ||
• Check for the start of the file (defined with \begin{document}). Everything before this should be moved into a separate file (called, for example, preamble.tex) | • Check for the start of the file (defined with \begin{document}). Everything before this should be moved into a separate file (called, for example, preamble.tex) | ||
Ligne 27: | Ligne 45: | ||
• If you want to clean up preamble.tex by inserting or removing comments for better legibility (or perhaps to make space for your future additions), do that now. | • If you want to clean up preamble.tex by inserting or removing comments for better legibility (or perhaps to make space for your future additions), do that now. | ||
- | • I’d also recommend setting the correct paper type (such as a4 [a4paper] or letter [letterpaper]) in the \documentclass definition. | + | • I’d also recommend setting the correct paper type (such as a4 [a4paper] or letter [letterpaper]) in the \documentclass definition.** |
- | Creating custom commands | + | Ménage |
+ | |||
+ | Une fois votre modèle téléchargé, | ||
+ | |||
+ | • Cherchez le début du fichier (défini avec \begin{document}). Vous devez déplacer tout qui se trouve avant cela dans un fichier distinct (appelé, par exemple, preamble.tex). | ||
+ | |||
+ | • Une fois le fichier preamble.tex créé, vous devez l' | ||
+ | |||
+ | • Si vous voulez faire le ménage dans preamble.tex, | ||
+ | |||
+ | • Je recommanderais aussi le réglage du format de papier (tel que a4 [a4paper] ou lettre [letterpaper] dans la définition du \documentclass. | ||
+ | |||
+ | **Creating custom commands | ||
Once you’ve created your preamble.tex file, you should compile the main template file. This is to make sure that it still works correctly, and to get an idea of how your information will be styled/ | Once you’ve created your preamble.tex file, you should compile the main template file. This is to make sure that it still works correctly, and to get an idea of how your information will be styled/ | ||
Ligne 37: | Ligne 67: | ||
The template I used indicates the skills using some sort of icon and label in a list in the sidebar. Depending on your template, you may need to adjust the actual code. I recommend copying the existing example data while creating your new command. | The template I used indicates the skills using some sort of icon and label in a list in the sidebar. Depending on your template, you may need to adjust the actual code. I recommend copying the existing example data while creating your new command. | ||
- | The snippet below can now be called anywhere that imports preamble.tex with \webSkills. If I need to make a change, I can simply make the changes in the preamble and then recompile the actual CV I need updated. Depending on how finely you need to divide the information up, you could create commands for common groups or even for individual skills so you can mix and match in the CV file. Be careful you don’t slice it up so much that you’re essentially still writing an entire CV every time. | + | The snippet below can now be called anywhere that imports preamble.tex with \webSkills. If I need to make a change, I can simply make the changes in the preamble and then recompile the actual CV I need updated. Depending on how finely you need to divide the information up, you could create commands for common groups or even for individual skills so you can mix and match in the CV file. Be careful you don’t slice it up so much that you’re essentially still writing an entire CV every time.** |
- | Education | + | Créer des commandes personnalisées |
+ | |||
+ | Une fois le fichier preamble.tex créé, vous devriez compiler le fichier principal du modèle afin de vous assurer qu'il fonctionne toujours correctement et pour avoir une idée du style et de la mise en page de vos informations. Généralement, | ||
+ | |||
+ | Compétences | ||
+ | |||
+ | Le modèle que j' | ||
+ | |||
+ | On peut maintenant appeler l' | ||
+ | |||
+ | **Education | ||
This is the last specific code I’ll be sharing. The other areas can be done in the exact same method. The reason I cover education as well is because I call more complicated custom commands within \myEducation. The details have been fictionalized for the sake of this article (why they ended up so sci-fi, I don’t know!). | This is the last specific code I’ll be sharing. The other areas can be done in the exact same method. The reason I cover education as well is because I call more complicated custom commands within \myEducation. The details have been fictionalized for the sake of this article (why they ended up so sci-fi, I don’t know!). | ||
Ligne 48: | Ligne 88: | ||
Calling these commands are pretty simple. A barebones example would be: | Calling these commands are pretty simple. A barebones example would be: | ||
+ | |||
+ | \input{preamble} | ||
+ | |||
+ | \begin{document} | ||
+ | |||
+ | \myEducation | ||
+ | |||
+ | \webSkills | ||
+ | |||
+ | \end{document}** | ||
+ | |||
+ | Formation et diplômes | ||
+ | |||
+ | C'est le dernier code précis que je partagerai avec vous. Les autres domaines peuvent se traiter de la même façon. Si je parle également de ma formation et de mes diplômes, c'est parce que j' | ||
+ | |||
+ | Vous pouvez aussi inclure le formatage dans ces commandes personnalisées, | ||
+ | |||
+ | L' | ||
+ | |||
+ | Appeler ces commandes est très simple. Un exemple squelettique serait : | ||
\input{preamble} | \input{preamble} | ||
Ligne 59: | Ligne 119: | ||
\end{document} | \end{document} | ||
- | Naturally, you’ll want to format and place the information in the relevant sections of the template. The upside to the template is that you will be given styling information you can tweak, instead of creating all of this from scratch. | + | **Naturally, you’ll want to format and place the information in the relevant sections of the template. The upside to the template is that you will be given styling information you can tweak, instead of creating all of this from scratch. |
Conclusion | Conclusion | ||
Ligne 70: | Ligne 130: | ||
https:// | https:// | ||
- | https:// | + | https:// |
+ | |||
+ | Bien évidemment, | ||
+ | |||
+ | Conclusion | ||
+ | |||
+ | J' | ||
+ | |||
+ | Pour aller plus loin | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// |
issue138/c_c.1540642710.txt.gz · Dernière modification : 2018/10/27 14:18 de auntiee