# All Questions

3 views

### Untitled Block transparency (Beamer)

I'm doing a beamer presentation and for this I'm using a background image on each slide. To have a readable text I put it on a untitled block with background transparency (cf image). My problem is ...
5 views

### How do I make reference in order of appearance (not using Bibtex)?

I cited items using \cite{xxx} and started the reference section (not using Bibtex) with \begin{thebibliography}{99} \bibitem{xxx} ... \end{thebibliography} During the writing I type the ...
7 views

### Preserve leading whitespace in verbatim environment

The following code (as a small example): \begin{verbatim} ##### ...
5 views

### Position recipient's address to fit window of envelope (class “leter”)

I want to arrange that the recipient's address fits the window of the envelope in a simple letter-class letter (my address on top right, the date underneath and still on the right, then the recepient'...
8 views

### tcolorbox inside multicol with figures: box shifted to next column

Why doesn't tcolorbox put the text just below the figure? \documentclass[11pt,a4paper]{report} \usepackage[]{graphicx} \usepackage{multicol} \usepackage{lipsum} \usepackage[most]{tcolorbox} \...
18 views

### how to subscript when there is a cap on mathematical expression?

The following equation is typed using MS word When I tried to type same using latex with subscript _i ended up with this result bcoz there is a cap above subscript "beta". The latex output is this ...
6 views

### How to stop new subsubparagraph entry appearing in TOC

I added a new subsubparagraph section level using the titlesec package, with help from How to add an extra level of sections with headings below \subsubsection and http://tex.stackexchange.com/a/94404/...
15 views

### biblatex author aliases for sources in another script

I'm trying to figure out the best way to manually provide a transcription/transliteration of author names by way of an additional field in the biliography entry using biblatex. Take for example the ...
25 views

### I get this error when compiling my file : line 154. text line contains an invalid character . I have no idea where to find the file .aux

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
23 views

### Figures shifted to left and not in center of text

I have a problem with centering. While some of the images are fitting the text width. The other which are bigger and i use 0.8\textwidth or \linewidth and \centering like below. \begin{figure}[h!] \...
14 views

### Figure numbering follows sections

I am using the llncs document class. And my figures are following the section number apparently. I do NOT have something like \numberwithin{figure}{section} How to make the figure number ...
8 views

### Escape characters for page continuation of tables

I've been using the \longtable entry trying to create a log book. I've used it because I need the table to span multiple pages. A simplified version of the document is below. Even though some of the ...
16 views

### How can I use a list of commands as rows in a longtable?

If I "hardwire" the rows of the longtable environment it works almost as I want. But, if I try to use commands, LaTeX says missing } and hangs. I want to use commands in the arguments to the \...
74 views

### Is LaTeX capable of detecting grammatical errors in compiled document?

Although spelling mistakes can be easily corrected within compiler itself, I'm wondering if LaTeX is capable of detecting wrong use of grammar. Like if we write "Solution are" in MS word then both ...
11 views

### How to conditionally define if an image/table should take one or two columns based on a predefined width

First time I post a question here, and I want to thank you in advance for your help ;) Moving on to my problem, I would like to do the following: \newcommand{\my_image_width}{300} ### ### ### if(\...
6 views

### punctuation numbers, polyglossia, and RTL languages [duplicate]

Why does the follow MWE example fail? If the default language is English, shouldn't numbers be set left-to-right by default? Is this a bug in bibi and/or polyglossia? \documentclass{article} \...
14 views

Is there any way to remove the footnote hyperlink from the table of contents ? My MWE : \documentclass{book} \usepackage{hyperref} \begin{document} \tableofcontents \chapter{Test \protect \footnote{...
79 views

### A simple macro for optimization problems (ifnum error)

I am trying to create a simple macro for optimization problems that must (as per the publisher) compile with LaTeX2e. I want the macro to look like the example below in terms of usage (the actual ...
14 views

### TexMaker 4.5 version does not run Quick Build and gives error message

I have just downloaded and installed TeXmaker 4.5 version on my new laptop (Windows 10). When I try to run Quick Build (Key F1), I get the error message: "Could not start the command. pdflatex-...
17 views

### Long table continuing on the same page BEFORE going to the next page

I am trying to make a long narrow table, which would continue on the same page, before going to the next page, like here: Continue long table beside on the same page The method provided there works ...
23 views

### wrapfig and wraptable not obeying \FloatBarrier

I've been using this forum for a year, and it's very helpful. I have a question about floating figures and tables. It seems to have already been addressed here: Floats - how to restrict floating to ...
29 views

### a title command that lists the date in the margin

I would like to keep a sort of diary in LaTeX, and in this context I have the need for a command like: \entry{date}{title} such that the following is satisfied: each 'diary entry' corresponds to a ...
18 views

### merge multiple figures into one pdf using standalone documentclass

I have 4 pdf figures which I would like to merge into one pdf figure (requirements of the journal). I have the follwoing piece of code: \documentclass[varwidth=true, border=100pt,preview]{standalone}...
21 views

### algorithm2e command \procedure already defined

I included algorithm2e and start getting error message of "algorithm2e.sty command\procedure already defined." Here are the list of packages in my latex file \documentclass[useAMS,usenatbib]{coin.cls}...
52 views

### How to control the offset of hrules and spacing of the text following a hrule?

I have used Tex at a very low level but I now need to try to format something a little more complex than I know how to handle. I have a large set of text files that I need to add a hrule in above and ...
28 views

### Total pages number warning and miscalculated

The question is a follow-up to this answer. I think that the document is suppsed to display 9 instead of 8 ? also the current position of \AddAssociatedCounters{chapter}{appendixchapters} (instead of ...
23 views

### pdfcrop command with shell escape magic comment not working in TeXstudio [duplicate]

I would like to use pdfcrop to get a tight crop of this table (credit to Bernard) from my other question. I want to execute pdfcrop every time the document is compiled, so I have included at the end ...
32 views

### Problem in the bookmark in PDF document

I have some problems with the bookmarks. In the PDF I have this: The problem is: part I called "Stato dell'Arte" contains its chapters and the part II "Progettazione" and part III is contained in ...
103 views

### Refer to the current page number, but not \thepage, but the real absolute

I want to get the real page number. If I use \thepage, I get problems, when I change the pagenumbering. For pagenumbering gobble, it disappears, if I change from arabic to roman, it resets the counter....
52 views

### Draw an arc using radius and angles up to specific point

I have following code in TiKZ: \documentclass[border=.5cm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,calc,decorations.text} \begin{document} \begin{tikzpicture} \draw (0, 0) ...
38 views

18 views

### \qedhere in line with the bottom of a \bigg) in a formula that ends a proof/example

This is a a follow-up question to this answer. Here there is a minor modification of the MWE provided by the user (where I put \bigg instead of \bigl/\bigr): \documentclass{article} \usepackage{...
23 views

I have adapted code from Springer's SVMONO which allows to use the command \sidecaption inside a normal figure environment. The caption is then placed besides the figure instead of below it. Also, ...
20 views

### Make standalone class without tikz look like a cropped article [duplicate]

How can I force the standalone class to put things on top of eath other instead of next to each other? \documentclass{standalone} \begin{document} test test test \end{document}
32 views

### Include semicolon in preamble definition for tikz macro?

Say I define a macro \arr in the preamble for use in a tikzpicture. Is it best practice to: Exclude the semicolon from the definition and include it in the tikzpicture, \documentclass{article} \...
25 views

### Interlacing Problems with Embedded Videos in Okular

I have a Dell Precision 5510 Laptop and I am having improper interlacing (horizontal lines) on the embedded videos in okular. Has anyone faced this problem before? I am using the multimedia package. ...
21 views

### Rendering a pspicture inside another document

I have a C++ program that generates a PDF via LaTeX by writing the data to stdout and piping to pdflatex -shell-escape. The template looks like this: \documentclass[letterpaper,12pt]{article} \...
181 views

### Using braces with equations - how to make fractional terms 'bigger'

I have some equations which display perfectly until I put them inside a brace and they become 'squashed'. Example: \begin{alignat}{2} u = \frac{\partial\tilde{X}}{\partial x}, v = \frac{\...
15 views

### Multicolumn problem

I'm trying to have a series of titles using \multicolumn, but I'm systematically having the error "Missing \cr inserted." when I try to run the code below: \documentclass{report} \usepackage{multirow}...
28 views

### How to fit an image next to presentation title?

How to make the most out of an image, without resizing the title of the presentation? Here is what I have so far, where I have the image below the title (etc.) and I resized it to 0.2: \...
21 views

### Spacing and Page Break Issues for long equations. The aligned and align* dilemma

Basically, for one long string of equations, I need to be able to have it continue over multiple pages. I also need there to be a regular new paragraph space between the Title of the page and the ...
16 views

### Tikz datavisualization: errorbar plot working with logarithmic axis

I'm trying to plot some data with errorbars using tikz. So far i'm successful plotting a examples with linear axis using a different visualizer. Used chapter 78.4 "Creating New Visualizers" as ...
10 views

### labelprefix to newrefcontext replacing prefixnumbers to printbibliography not working

After updating biblatex I get the following error message for this code: \usepackage[style=ieee, backend=bibtex, bibencoding=ascii, defernumbers=true, maxnames=10]{biblatex} \addbibresource{bib/...
17 views

### How to change hyper link from url to journal name?

I am using clean thesis and i want to change hyper link from url to journal name. Please suggest.
15 views

### I want only the section name in my header, not the section number

I have a problem regading fancy headers. I want to have the section name only in my header, but when I am using the following code I get the section number as well: \pagestyle{fancy} \fancyhf{} \...
13 views

### Line at the bottom of the page [duplicate]

I wanna create a line at the bottom of the page. Can someone tell me which code I should to use to achieve this simple task. As encircled in the image below.