0
votes
0answers
8 views

Relative positioning: how to avoid the discentering of external images?

Stuck with the following problem while making "Who we are" section for a business plan. The code \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
1
vote
0answers
7 views

How to make a algorithm analysis like in Introduction to Algorithms

In Introduction to Algorithms, by Thomas Cormen, there are some algorithm like in this image. With one column for the code, one for the cost and one for the times. I searched a lot, but I didn't ...
0
votes
0answers
5 views

Aligning The TItle, Autor, and Date in the header of a Beamer Poster

I am using the beamer package and I have a title set at the top of the page, but I want to left align the title. So far I have this for the title portion: \title{\huge Insert title here} \author{ ...
1
vote
0answers
6 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
1
vote
0answers
19 views

Tikz Polar Fill to Origin

I'm trying to shade under a polar graph. I'm using this code: \documentclass{exam} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \fill[fill=gray] ...
1
vote
0answers
14 views

I can't get rid of the “Misplaced alignment tab character &.” error with jurabib in texmaker

When i was adding something to my bib file i made an honest mistake and wrote publisher = {International Journal of Physical Distribution & Logistics Management}, This lead to the "Misplaced ...
1
vote
0answers
15 views

Using Texcount Templates

Anybody have a texcount template they would share? I noticed that the texcount documentation references an option -template="template". I presume this is to enable adding some custom text surrounding ...
1
vote
0answers
9 views

How to disable hyphens in Lyx BibTex?

How do you prevent word-dividing hyphens in a Lyx BibTex bibliography?
5
votes
2answers
82 views

How can I draw this circle with different colour?

I am trying to draw the following picture but I have some difficulties. I code the following: \documentclass{article} \usepackage{xcolor,pict2e}% to allow any radius \usepackage{tikz} ...
5
votes
1answer
57 views

Enumerate “P#number” instead of “#number”

About the \begin{enumerate} list environment, when I use item, instead of having this in my pdf document 1. 2. 3. 4. I would like to display the following P1 P2 P3 P4 Where P is a single ...
5
votes
2answers
29 views

Looping through several background images in beamer

I have an image directory with several images: p1.jpg p2.jpg p3.jpg p4.jpg I also have the following environment that sets the background image to a frame: \newenvironment{imageframe}[1] {% Set ...
0
votes
0answers
10 views

synctex stopped working after I used external pdf viewer

I am using TexMaker and synctex was working fine until I used the external pdf viewer option for a few hours. I did not worry about it but when I went back to the embedded viewer synctex was still no ...
4
votes
1answer
27 views

Page header as in LaTeX and Friends using memoir class

In Page header of LaTeX and Friends the fancyhdr package is used to create the page header of the LaTeX and Friends book. How can I do it using memoir class and also on first page where chapter ...
0
votes
1answer
40 views

Is there any tool that convert a Pie Chart (and others) from MS Excel to LaTex Code?

I am looking for a tool (if it exist) that given a chart from MS Excel return the LaTeX code to insert in a document.
4
votes
1answer
53 views

Escaping the escape character

In the TeXbook, Knuth asks: Exercise 7.2 Can you imagine why the designer of plain TeX decided not to make \\ the control sequence for reverse slashes? Is it something to do with the fact ...
3
votes
4answers
68 views

Make a sentence into two lines to make column width narrower.

I have a table that has multiwords and columns \documentclass[12pt, twocolumn]{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{lipsum} \begin{document} \lipsum \begin{table}[ht] ...
3
votes
0answers
26 views

Using non-integer roots for synthetic division in polynom

I want to use the polynom package for synthetic division. However, while it works well for integer roots it does not take non-integer inputs. For example this works well: ...
0
votes
0answers
8 views

Using the dfgproposal and dfgreporting classes

I came accorss the dfgproposal and dfgreporting classes which I started to use. In this class the command \dfgprojpapers is defined. As I understand it, it is supposed to generate a small list of ...
2
votes
1answer
15 views

Algorithm environment, defining a custom style

I'm currently using the following mwe \documentclass{article} \usepackage{algpseudocode} \usepackage[plain]{algorithm} \begin{document} \begin{algorithm}[H] \hrule \vspace{0.5em} \caption{Euclide's ...
0
votes
1answer
33 views

Two types of footnotes, context sensitive [duplicate]

I would like to use two types of footnotes. The first are standard footnotes used throughout the body of the text and which are numbered sequentially. The second are footnotes used in a few chapter ...
0
votes
2answers
36 views

Wrapping text in a fcolorbox? [duplicate]

I'm using package "color" to have a green text box with black text, and my code is - \textbf{\fcolorbox{black}{green!30}{black text on a boxed green background}} How can I get it to wrap lines ...
1
vote
2answers
61 views

How can I print a length in centimeters in VTEX?

\documentclass{article} \begin{document} \newdimen\mylength \mylength=1in \the\mylength \end{document} Output is: 72.27 pt But i want to show output in centimeter using VTeX.
3
votes
1answer
14 views

Algorithmicx print first line number when numbering every n-th

Using the algorithmicx it is pretty easy to turn on or off line numbering or to number every n-th line. Taking this MWE (taken from the doc) \documentclass{article} \usepackage{algpseudocode} ...
0
votes
0answers
18 views

labeling equations in an appendix

I recently added an appendix to my report and noted that the equations labelling is messed up. For example, when I refer to equation A.1 which was mentioned earlier in the appendix, it writes [12] ...
1
vote
0answers
18 views

Exporting stacked bars using matlab2tikz in MATLAB working strangely

I have created a stacked bars in matlab as shown in the figure. In matlab figure window it looks like this: I use the following command to get this plot. plotBarStackGroups(rand(5,3,3), [1:3]) ...
1
vote
0answers
15 views

Roman and arabic numbering in combine environment?

I'm putting together an academic journal for my student history society and am wondering whether I can have different papers in the combine environment display as roman or arabic numbers. The ...
1
vote
0answers
24 views

Referencing in enumitem list levels

The following defines my enumeration parameters: %---------------------------------------------------------------------------------- % Enumeration Parameters ...
0
votes
0answers
32 views

QED Symbol wrong when using newtxmath package

after I have recently upgraded my texlive installation on my Arch Linux system, I cannot typeset the QED symbol (a small square) anymore. I cannot reproduce the problem when NOT using the package ...
0
votes
0answers
32 views

Saving TiKz Picture in a Folder in Parent Directory

Is there a simple way to save a picture with the `tikz external library' in a different folder in the parent root. %File C:/project/tikz/main.tex \documentclass{article} \usetikzlibrary{external} ...
1
vote
1answer
27 views

How to make listofalgorithms behave like a section, not a chapter?

I have a problem. I included the following: \documentclass[a4paper,11pt,reqno]{book} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage[noend]{algpseudocode} and wanted to create a ...
0
votes
0answers
23 views

Extra List of Figures Page

I'm running into an issue with my dissertation. I'm using a template created to format my dissertation according to the University's guidelines. When I format it using the twoside argument for the ...
1
vote
1answer
15 views

Dropping brackets / key in bibliography with alphabetic style

For a CV, I want to print a list of publications without being citing them in the text. For example: \documentclass{article} \usepackage[utf8]{inputenc} ...
4
votes
2answers
50 views

Defining node inside curly braces

I am trying to define a node inside a curly braces {}: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture} \Tree [.CP \node(y){here}; [.C$'$ C ...
1
vote
2answers
31 views

Font changing back for no apparent reason

Writing up a rough grammar in XeLaTeX and using fontspec to change the default font to Bitstream Charter instead of CM. Everything works fine for the first page or so of output, but on the second page ...
3
votes
1answer
48 views

Drawing a line segment of a specific length that is perpendicular to a given line

I have a typical geometric construction that I want to draw using TikZ. The following code gives a line segment PQ. How do I get TikZ to draw a point on the line perpendicular to PQ and through P ...
2
votes
1answer
20 views

Can split and array work together?

I have the following problem. I need an equation which contains arrays and which should be on different lines because too long for one line. This is the code: \begin{equation} \begin{split} ...
0
votes
0answers
9 views

texstudio preference change not saved

As of lately I've become quite annoyed with Texstudio. The reason for this is that the bibliography (F11) is no longer working for me. As it turns out, somehow this hotkey is also assigned to the ...
1
vote
1answer
30 views

Set width of tabular column to the width of tabular numerals

Take the following code: \documentclass{article} \usepackage[oldstyle, tabular]{libertine} \usepackage{array} \newlength{\period} \settowidth{\period}{9999--9999} \begin{document} ...
0
votes
0answers
5 views

How to use AucTeX error handing

I can't figure out how to use it. Here's what happens if I process a LaTeX file that has multiple errors: C-c C-c (process LaTeX) [errors found] C-c ` (goto first error) fix errors in ...
1
vote
1answer
15 views

Section number with mixed arabic and roman numerals

How can I get my sections and subsections headings to go along the lines of: 1i, 1ii, 1iii, 2i, 2ii etc...
1
vote
1answer
34 views

LaTeX Kurdi / كوردی (Sorani) problems

I'm trying to use arabic script but it seems I run into trouble, the output is just a mess of question marks, literally. I took this code from this page (I'm on Macbook Pro Yosemite, TeXLive, ...
0
votes
0answers
11 views

how to use “interaction=nonstopmode” in htlatex command [duplicate]

Am in the process of converting latex to xhtml file. I chose htlatex for conversion. But it stops inbetween if it finds errors in the tex file. In latex we have option -interaction=nonstopmode to run ...
0
votes
0answers
25 views

Is there a package to do function substitution and evaluation? [duplicate]

Is there any way to get function substitution and evaluation automated in LaTeX? That is, if I have $f(x)=x^3 + 3x^2 - 2x - 14$, and I want to show students what $f(2)$ means, I want it to ...
0
votes
1answer
12 views

List of Figures adds vertical space with new Part

I'm trying to remove the vertical space added in the List of Figures when I have new Parts. This is how I'm removing the vertical space when adding new chapters: \usepackage{etoolbox} \makeatletter ...
1
vote
1answer
22 views

Add titles and remove numbering in subfloat

I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column. I also want to remove these (a) (b) (c) ... labels so that it's only the caption ...
1
vote
2answers
65 views

Patching local commands defined within other macros

This is the follow-up - question, respectively the main cause which led to the (yet) unanswered question here: \xpatchcmd defines macros when applied to undefined commands I tried to patch some ...
7
votes
0answers
50 views

TikZ decoration to draw a winding or twisting ribbon

I enjoy TikZ styles and decorations a lot, but I still dabble with them. I know how to draw ribbons with a style, if they aren't meant to twist. But I'd like to define a style that has a twist of the ...
0
votes
0answers
35 views

Make TeX output look as input wrt script/language?

I have several languages/keyboard layouts on my Mac-pro (Yosemite). I want to write in Armenian/Bengali/Hebrew and so on. These keyboards/languages are formally part of Mac's Yosemite so I have no ...
0
votes
1answer
74 views

Draw picture of electric transformer

I would like to draw an electric transformer close to this image Ideally there would be more spires on one side than the other I had learned to do some tree decision with Tikz, so I can do two ...
1
vote
1answer
31 views

Is there an easy way to indent all the linguistic examples with expex?

Like this one: I browse through the expex document but couldn't find these infos.

15 30 50 per page