Add logo in very bottom right corner

I have been trying to insert a (transparent) logo in the bottom right corner in the background of my title page without affecting the text in Overleaf. Unfortunately, I haven’t found a similar use case and have tried many different options for quite some time, but it doesn’t work the way I need it to.… Read More Add logo in very bottom right corner

Append string variable to LaTeX based raw string

Trying to append an integer as per this post and this post. Requirement: from IPython.display import display, Markdown N = 128 text = r’$QFT=\frac{1}{\sqrt{‘+str(N)+’}} \begin{bmatrix}’ text = text + r’1 & 2 \\ 3 & 4 \\’ text = text + r’ \end{bmatrix}$’ display(Markdown(text)) Tried: IndexError: Replacement index 1 out of range for positional args… Read More Append string variable to LaTeX based raw string

Vertically allign 3 figures in one page in latex

I’ve exported 3 figures from R studio (in .png). How can I vertically align them on one page using latex? That’s my attempt \documentclass[11pt,fleqn,a4paper]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[htp] \subfloat[Germany, sectors C26 to C30]{% \includegraphics[clip,width=0.5\columnwidth]{Images/deu.png}% } \subfloat[Italy, sectors C29-C30]{% \includegraphics[clip,width=0.5\columnwidth]{Images/ITA.png}% } \subfloat[United States, sectors C29-C30]{% \includegraphics[clip,width=0.5\columnwidth]{Images/USA.png}% } \caption{Offshoring level. \\Source: Elaborated data from WIOT and SEA… Read More Vertically allign 3 figures in one page in latex

Latex Table goes out of margins

I have the following code which worked in my previous latex template, but now I have to submit to a journal and the tables goes out of the margin. I tried to use \resizebox{\textwidth}{!}{% …} it does work. I have attached the code below for help. \documentclass[10pt, twoside]{article} \usepackage[b5j,hmargin={1 in,0.6 in},vmargin={1 in,0.6 in}]{geometry} \usepackage{times} \usepackage[labelsep=space,… Read More Latex Table goes out of margins

Error in using siunitx with Matplotlib/Python

I’m producing a big report with lot’s of figures with some LateX content, and to maintain layout coherence I use a predefined mplstyle file with the following related definitions: # FONT font.family: serif font.size: 9.0 font.serif: Palatino font.sans-serif: DejaVu Sans font.weight: normal #font.stretch: normal # LATEX text.usetex: True However, I ran into a specific figure… Read More Error in using siunitx with Matplotlib/Python

How to get rid of extra slashes in pandas to_latex function?

I am trying to convert pandas data frame to latex format but it’s returning extra slashes in the output. Data df = pd.DataFrame({‘model_name’: {0: ‘ALBERT’, 1: ‘a’, 2: ‘b’, 3: ‘c’, 4: ‘d’, 5: ‘e’}, ‘macro_precision_first’: {0: 91.89396817624747, 1: 92.17133890858452, 2: 92.6826295632407, 3: 92.80299948526579, 4: 93.34410168004217, 5: 92.0346638078341}, ‘macro_recall_first’: {0: 92.2318448502444, 1: 92.3357692328841, 2: 93.0292033013862,… Read More How to get rid of extra slashes in pandas to_latex function?