Modify the text area in the presence of /lfoot - latex

I'm creating my resume on overleaf with a footer using the following commands:
\lfoot{Line for Footer: Footer}
\begin{document}
.
.
.
yada yada
.
.
\beginitemize}
\item{\textbf{Place for text}: text, text text text, text text text text text text text text text text text text text text text text text text text text text text text}
\item{\textbf{Line for More text}: More text. Still More text}
\end{itemize}
\enddocument}
This is compiling as shown below:
I want the last line to be included in the 1st page itself. I used \renewcommand{\footruleskip}{-2pt} & \setlength{\skip\footins}{330pt} but they aren't producing the intended result.
Really need some guidance here, have been stuck for so long :(

As #imnothere suggested, keeping \enlargethispage{\baselineskip} before the \begin{itemize} worked!

Related

R Markdown (beamer) - how to create 2 columns

I am trying to create a presentation using RMarkdown beamer. I want a slide to have 2 columns and this is what I have so far:
---
title: title
author: name
date: date
output:
beamer_presentation:
theme: Szeged
slide_level: 2
includes:
in_header: header.tex
keep_tex: true
linkcolor: false
---
## TEST
\footnotesize
\justify
:::::::::::::: {.columns}
::: {.column}
- I will write something here tex text text tex text text tex text text
:::
::: {.column}
- And then something here tex text text tex text text tex text text tex text text
:::
::::::::::::::
The header.tex's content is:
\definecolor{mycolorlightblue}{RGB}{103,153,200}
\definecolor{mycolordarkblue}{RGB}{0,70,127}
% add packages
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{tcolorbox}
\usepackage{ragged2e}
% remove 2nd section from header
\makeatletter
\beamer#theme#subsectionfalse
\makeatother
% change colour of lines
\setbeamercolor{separation line}{bg=mycolorlightblue}
% text title
\setbeamercolor{title}{fg=mycolordarkblue}
\setbeamercolor{frametitle}{fg=mycolordarkblue}
% text colour
\setbeamercolor{frametitle}{fg=mycolordarkblue}
% item colour
\setbeamercolor{structure}{fg=mycolordarkblue}
% define colour text
% \usebeamerfont{section title}\color{blue!70!green}\insertsection\par
% no header or footer on first page
\thispagestyle{empty}
% remove title slides at beginning of sections
\AtBeginSection{}
% add page counter to the footer
\setbeamertemplate{footline}[frame number]
% logo of my university
\titlegraphic{%
\begin{picture}(0,0)
\put(155,0){\makebox(0,0)[rt]{\includegraphics[]{ALL-ICONS.png}}}
\end{picture}}
This is the result I am seeing, almost perfect, but the 2nd column starts slight below the first one, as shown below, do you understand why?
correspondent .tex file to the .rmd:
\begin{frame}{TEST}
\protect\hypertarget{test}{}
\footnotesize
\justify
\begin{columns}[T]
\begin{column}{0.48\textwidth}
\begin{itemize}
\tightlist
\item
I will write something here text text text text text text text text
text text text text text text text
\end{itemize}
\end{column}
\begin{column}{0.48\textwidth}
\begin{itemize}
\tightlist
\item
And then something here text text text text text text text text text
text text text text text text
\end{itemize}
\end{column}
\end{columns}
\end{frame}
The problem is the \justify, it should be \justifying instead (but at the position you use it, it won't have any effect on the text in the columns anyway, so you could also just remove it ...)
---
title: title
author: name
date: date
output:
beamer_presentation:
theme: Szeged
slide_level: 2
includes:
in_header: header.tex
keep_tex: true
---
## TEST
\footnotesize
:::::::::::::: {.columns}
::: {.column}
- I will write something here tex text text tex text text tex text text
:::
::: {.column}
- And then something here tex text text tex text text tex text text tex text text
:::
::::::::::::::

How to set the caption of a figure to the same indent as the title

I am trying to make a caption to a figure that looks like this:
Figure 1: Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text
or alternatively like this:
Figure 1:
Text Text Text Text Text Text Text Text Text Text Text Text Text Text
Text Text Text
but the caption has an indent, that makes it look like this:
\documentclass{scrreprt}
\begin{document}
\begin{figure}
\caption{Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text}
\end{figure}
\end{document}
The caption package offers the plain format for this:
\documentclass{scrreprt}
\usepackage[format=plain]{caption}
\begin{document}
\begin{figure}
\caption{Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text}
\end{figure}
\end{document}
To change this on a figure-to-figure basis:
\documentclass{scrreprt}
\usepackage{caption}
\begin{document}
\begin{figure}
\caption{normal caption with hanging indent Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text}
\end{figure}
\begin{figure}
\captionsetup{format=plain}
\caption{Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text}
\end{figure}
\begin{figure}
\caption{normal caption with hanging indent Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text}
\end{figure}
\end{document}

Sample letter styled Latex Template (with some specification) for word document

I want to prepare a manuscript in "Word on a letter-sized paper with no line numbering, a line spacing of 1.5, Times New Roman 11-point font size, margins top/bottom of 1”, margins left/right of 1.25.” But I am comfortable with Latex. So, Is there any possibility to prepare the manuscript in latex for the above mentioned style(format), then can convert to word file. If means guide me with Latex template for the above style settings.. Thanks in advance.
\documentclass[11pt]{article}
\linespread{1.5}
\usepackage[top=1in,bottom=1in,left=1.25in,right=1.25in]{geometry}
\begin{document}
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.
\end{document}

Alignment of input in regression tables (Latex)

I have created a regression table using the following commands:
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{adjustbox}{max
width={\textwidth},caption={Cumulative Average Abnormal Return},nofloat=table}
\begin{tabular}{l*{4}{c}}
\hline\hline
&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)}\\
&\multicolumn{1}{c}{Test Model 1}&\multicolumn{1}{c}{Test Model 2}&\multicolumn{1}{c}{Test Model 3}&\multicolumn{1}{c}{Test Model 4}\\
\hline
Window 1:\\
{[0]} & 0.0254\sym{***}& 0.02565\sym{***}& 0.0431\sym{***}& 0.0495\sym{***}\\
& (0.0024) & (0.0065) & (0.0098) & (0.0024) \\
Window 2:\\
{[-1,-10]} & 0.000249 & 0.000230 & 0.000276 & 0.0000194 \\
& (0.00024) & (0.00092) & (0.00032) & (0.000322) \\
{[-11,-20]} & 0.0000232 & -0.000242 & -0.000242 & -0.000232 \\
& (0.0019) & (0.0019) & (0.0019) & (0.0023) \\
Window 3:\\
{[1,10]} & -0.000124 & -0.000436 & -0.000321 & -0.000232 \\
& (0.0011) & (0.0010) & (0.0010) & (0.0010) \\
{[11,20]} & 0.000124 & 0.000124 & 0.000124 & 0.000124 \\
& (0.0014) & (0.0014) & (0.0014) & (0.0015) \\
\hline
Observations & 417 & 417 & 417 & 417 \\
\hline\hline
\multicolumn{5}{p{\textwidth}}{\footnotesize xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx}\\
\multicolumn{5}{p{\textwidth}}{\footnotesize \sym{*} \(p<0.10\), \sym{**} \(p<0.05\), \sym{***} \(p<0.01\)}\\
\end{tabular}\end{adjustbox}
Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
This results in the following output:
My question is, how can I align all the columns in the regression table and at the same the keep the table width equal to the text width. I also want to "link" the caption and the table text to the table so it does not end up on to different pages. Thank you!
It is not clear to me how you want to "align all the columns" in the table.
If you want to align the columns to the left, have them of equal width while keeping the overall width of the tabular equal to the textwidth, you can try changing
\begin{tabular}{l*{4}{c}}
to
\begin{tabular}{l*{4}{p{.2\textwidth}}}
or
\begin{tabular}{*{5}{p{.2\textwidth}}}
Please post a comment if this doesn't help!!

latex beamer footer alignment

How can I add text line on left side and frame number on right side of footer in latex beamer presentation?
Also, I need to exclude title page from this footer placement.
Found a solution:
To obtain text and frame number as required, the following code is needed in the beginning.
\setbeamertemplate{footline}{text line}{text here \hspace{3cm} \insertframenumber{}/\inserttotalframenumber}
Instead of adding the frame number to the textline template, I find it easier to do it the other way round and add some text to the predefined framenumber footline:
\documentclass{beamer}
\setbeamertemplate{footline}[frame number]
\addtobeamertemplate{footline}{\hskip1em text you want to add}{}
\begin{document}
\begin{frame}
content...
\end{frame}
\end{document}

Resources