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

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}

Related

Modify the text area in the presence of /lfoot

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!

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}

Different font (size) for text in images from Inkscape to Latex

I am using Inkscape to convert images to Latex, so the text scales nicely. Using SaveAs pdf, with generate Latex ticked.
This creates a .pdf_tex file that contains something like this:
\begingroup%
\begin{picture}(1,1.18884212)%
\put(0,0){\includegraphics[width=\unitlength,page=1]{Scapula.pdf}}%
\put(0.6981335,0.82053681){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Infraspinous fossa}}}%
\end{picture}%
\endgroup%
I would like to change the font size and possible also the font, so the text in all images is different from the body text. I think this is possible by e.g. redefining \smash within "picture", but I don't know how. Is this the correct approach? If so, any tips on how to do it?
With the etoolbox you could add the fontsize change to the picture environment:
\documentclass{article}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{etoolbox}
\AtBeginEnvironment{picture}{\huge}
\begin{document}
\begingroup%
\begin{picture}(1,1.18884212)%
\put(0,0){\includegraphics[width=\unitlength,page=1]{example-image.pdf}}%
\put(0.6981335,0.82053681){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Infraspinous fossa}}}%
\end{picture}%
\endgroup%
\end{document}

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}

How to generate black and white pdf from sphinx?

I want to generate a PDF from sphinx that is only black and white. The standard sphinx.sty uses \RequirePackage{color} and \RequirePackage{fancyvrb}.
If I just remove color, I get a whole list of errors. I could not find any reference in fancyvrb's documentation.
How can I achieve that (without rewriting the whole sphinx.sty)?
You can edit the conf.py and add addtions to the preamble before the build with custom LaTeX, so that sphinx will render colors as black. For example.
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
'preamble': r'''
\usepackage{titlesec}
\titleformat{\section}
{\color{black}\normalfont\Large\bfseries}
{\color{black}\thesection}{1em}{}
\titleformat{\subsection}
{\color{black}\normalfont\Large\bfseries}
{\color{black}\thesubsection}{1em}{}
\usepackage{hyperref}
\hypersetup{colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
menucolor=black,
urlcolor=black,
bookmarksnumbered=true
}
'''
# Latex figure (float) alignment
#'figure_align': 'htbp',
}
This will change all sections and subsections to black and change all your hyperlinks to black as well.

Resources