# 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

# Center table and make one row different

I’ve got a table like: \begin{center} \begin{table} [h] \caption{some caption.} \label{tab: 1} \begin{tabular}{||c | c c c c c||} \hline Team &Goal& SOG& SA& Hits& Possession\\ \hline\hline \textbf{Team1} & 54 & 171 & 464 & 941 & 11:46:33 \\ \hline \textbf{Team2} & 89 & 237 & 502 & 861 & 10:28:02 \\ \hline \hline Per… Read More Center table and make one row different

# 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?

# How to create this variable in Latex?

How do I create this in Latex? I tried $r^e_{\_}$ or $r^e\_$ but none give the variable as shown in the added picture. >Solution : You can move the underscore up a bit with \documentclass{article} \begin{document} $r^{e}_{\raisebox{0.21em}{\_}}$ \end{document}

# Writing only circumflex (^) character in Latex

I’m trying to write an equation in Latex which uses the circumflex character as an operator. The whole thing should look something like this: a ^ b I tried stuff like $a \^ b$ or $a \hat{ } b$ but the first one didn’t work at all and the second one didn’t look nice (see… Read More Writing only circumflex (^) character in Latex

# Latex – undefined control sequence \sym

I cannot compile a latex document because I get the error "! Undefined control sequence. xvari & -0.0901\sym", but I do not understand what is gonig on. I suspect it should be a pretty easy fix but I have not managed to fix it / find the answer online so far. Would really appreciate if… Read More Latex – undefined control sequence \sym