HarveySheppard / yLaTeX

My LaTeX projects (classes, packages and more)!
Other
335 stars 70 forks source link

Want to create something similar to TM #6

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hello,

I saw your TM file and I know its uncompilable, but I really want to make something similar looking. I understand you have design elements uploaded that work, but I was looking for a complete document that I can use -- I'm making an urban planning guide for a video game as discussed here, and I really have no need for margins -- if anything, they take up too much space as I won't be adding anything to them. I honestly just want to replicate the TM file but with my own text and pictures instead. Can you please help me out, point me in the right direction, etc? I get errors like Undefined control sequence. [\printMiniToc] as well as for lstlisting, neither of which I don't assume are because the infoBulle version you used isn't available as you mentioned? How can I make it compilable, i.e. what exactly do I replace, where, and with what?

Thank you so much for your help, I really appreciate it!

HarveySheppard commented 7 years ago

Hello airatin,

I am really happy to hear that you want to use my code for your document and will be glad to offer my help solving the errors.

To remove the infoBulle errors, simply delete all code under the section infoBulle in the config.tex file and only use the new commands of the package (described in its documentation). Concerning the \printMiniToc errors, replace the "\includegraphics[width=.75cm]{\pathToInfoBulleImages tocInverted.png}" line (in the \printMiniToc command definition) width "\includegraphics[width=.75cm]{}".

If you have other errors that you cannot solve, send me message.

ghost commented 7 years ago

Hello,

Thanks for the help! Just another question, how can I add more pages to the bibliography (that include the red sidebar)? Right now it's stuck on one page which means if I have more than a certain number of citations it gets cut off and I can't see the rest.

Thank you, Alborz (Airatin)

On Fri, Aug 18, 2017 at 9:07 AM, Harvey Sheppard notifications@github.com wrote:

Hello airatin,

I am really happy to hear that you want to use my code for your document and will be glad to offer my help solving the errors.

To remove the infoBulle errors, simply delete all code under the section infoBulle in the config.tex file and only use the new commands of the package (described in its documentation). Concerning the \printMiniToc errors, replace the "\includegraphics[width=.75cm]{\pathToInfoBulleImages tocInverted.png}" line (in the \printMiniToc command definition) width "\includegraphics[width=.75cm]{}".

If you have other errors that you cannot solve, send me message.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HarveySheppard/yLaTeX/issues/6#issuecomment-323348623, or mute the thread https://github.com/notifications/unsubscribe-auth/AP6OGXGZILMzi2tLWf-WPnJtvqJOtz1Bks5sZYyRgaJpZM4O6dO9 .

HarveySheppard commented 7 years ago

A solution would be to use the geometry package to change the margins of the page on which the chapter appears.

You can do this using \newgeometry{<margins configuration>} and \restoregeometry.

The quick and dirty solution would be to only make this change on the bibliography page. The lengthier one but also nicer one, would be to change the layout of all chapter pages (do the job once, make it work everywhere, any time you use this class). You would then have to add the commands cited above to the \titleformat{\chapter} command in the config.tex file.