Linked Questions

337
votes
33answers
121k views

What are good learning resources for a LaTeX beginner?

Which book (free or otherwise) was the most useful to you when you started learning LaTeX? I am frequently asked this question by friends who want to learn LaTeX, and I recommend the book which got ...
40
votes
5answers
15k views

How to iterate through the name of files in a folder

Assume I have many TeX files. For the sake of simplicity, also asssume they are in a single folder or directory. I want to input all files from within my main LaTeX document. Actually I can create a ...
6
votes
1answer
3k views

Iterating over files in a directory and including them

I have a folder called diary which contains a series of files: 20120101.tex 20120105.tex 20120304.tex etc. How can I create a single LaTeX document that includes each of these files, in alphabetical ...
7
votes
1answer
507 views

“No room for a new \read” with writing a journal

I'm fairly new to TeX and learning as I go. I am trying to keep a journal in LaTeX. I'm using the solution provided at Using LaTeX to keep a diary . It's essentially a setup where each day's entry is ...
5
votes
1answer
2k views

Diary in Latex with additional notes on side

I am trying to make a diary that will have the following format Each entry will be inside a colored box Each entry will have a title with the date and an optional title I want the possibility to add ...
4
votes
1answer
981 views

Writing a personal diary / blog in LaTeX

I want to write a (math-heavy) personal diary in LaTex. I thought of each entry be a section; something like \section{Some title, 2017-01-13} In addition, and as in a blog, I would like to ...
1
vote
0answers
652 views

A5/B5 papersize book with margin notes

I am trying to make a diary that will have a book-like page structure with side notes in A5/B5 paper size. I was able to create the style I want, but it can only be applied using an article ...
3
votes
1answer
205 views

How to automate introduction of section titles in book

I'm using Spundun's method for automating inputing the entries in a diary, in turn inspired by Peter Grill (Using LaTeX to keep a diary), and I would like to add section dividers by year. This should ...
5
votes
2answers
74 views

Get part of a string

I'm new to LaTeX and want to make a journal. I've used this to generate a journal from files in multiple directories. My main problem is that having various folders named Jan/Feb/...Ago/Dec... makes ...
0
votes
1answer
155 views

asymmetric margins

I'm using the following to create a diary. Suggested by Tom Bombadil Using LaTeX to keep a diary \documentclass{tufte-book} \usepackage{lipsum} \newenvironment{loggentry}[2]% date, heading {\...
1
vote
0answers
134 views

Why does TeXstudio crash after the second compilation of this file? [closed]

I'm working on the following file, whose main structure is borrowed from the @Tom Bombadil's answer. \documentclass[12pt,letter]{book} \usepackage{tikz} \usepackage{setspace} \usepackage[left=1in, ...