4
votes
1answer
58 views

Defining multicolum by macro with optional argument

I try to define macro for shortcut form \multiline{1}{<pcolumn type>}{\textbf{text}}: \documentclass[12pt,border=1mm,preview]{standalone} \newcommand\mcbf[2]{\multicolumn{1}{#1}{\textbf{#2}}} ...
2
votes
1answer
39 views

Add picture in Exam class

I am writing assignment using exam class. I am having difficulty in adding pictures. Could anyone help me with it, please? The following is my work. As a test, I attach the following picture. ...
3
votes
1answer
26 views

How can I increase the vertical size of a pre defined transformer core?

How can I increase the vertical size of a pre defined transformer core? \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{graphicx} \usepackage{mathrsfs} ...
4
votes
1answer
114 views

Wide figure in a 2 column document (figure* doesn't work)

I am new to this environment, but I believe I have checked other questions related to mine problem, still couldn't find a solution. What I want is to have a wider figure in a two column document. I am ...
0
votes
2answers
40 views

Keep the word Abstract in the same page as the actual abstract

I am writing a report and i am using a specific .cls file for the layout and fonts etc. The abstract is defined as follows: \newenvironment{abstract} { \btypeout{Abstract Page} \thispagestyle{empty} ...
1
vote
0answers
16 views

How can I make the board render correctly (Sharelatex)? [duplicate]

I'm trying to use the psgo package to insert some go diagrams into a sharelatex file, but the boards are failing to render. Here's a minimal example: \documentclass{article} \usepackage{psgo} ...
1
vote
0answers
25 views

Adjust Margins in {res} while maintaining layout

I am composing a resume based on the style file and example CV from "Latex template for creating a CV/Resume", which I found at ...
2
votes
2answers
40 views

From table to longtable

I have tried to convert this table to longtable but did not succeed and am hoping that you can help. The longtable-package is loaded already. \documentclass[a4paper,oneside,abstracton]{scrartcl} ...
2
votes
2answers
32 views

Create fancyhdr footer with something like: \lfoot{\centering{Centered to the left}}

How can I create a footer like this one? It appears to be text centered in the left half of the page, and in the right half of the page. I tried, eg., using fancyhdr with: \lfoot{\centering{some ...
1
vote
1answer
33 views

Combine multiple pgfplots from tex files

I have been using Sharelatex to write my thesis and I have accumulated many pgfplots. I can't include more than ~6 pgfplots produced by csv files before I get compile time out. I have been dividing my ...
5
votes
1answer
44 views

Why does it appear that some lineno internal commands are never called?

At the end of lineno's cryptic documentation, the author lists certain "for wizards commands." I'm trying to implement a special tag for the first line number, so I thought I would probably begin by ...
2
votes
1answer
53 views

Display step of square root of an integer in LaTeX

How to display step of square root of an integer in LaTeX as follows: or There is no need to write in Bengali digits. It can be express in 2304, 16 etc
3
votes
2answers
21 views

Undefined font shape

I have a xepersian document, e.g. \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \settextfont{Nazli}% ...
1
vote
0answers
28 views

Uninstalling a font installed through otftotfm's automatic mode

I'm using otftotfm to install my fonts. Since I like to tinker with fonts a lot, I end up running otftotfm many times to get the font just right. An example command I'd use in the command prompt would ...
3
votes
2answers
41 views

Paragraph above scrolling enumerate in beamer keeping position

I have done this before using tricks with absolute positioning of nodes in tikz, or more crude by repeating the content manually in slides and using \phantom. I would like to know if there is a nice ...
1
vote
1answer
280 views

tikzexternalize in TeXMaker doesn't work

I'm having some troubles while compiling my thesis with the tikz externalize feature in Texmaker. I created the user command: "D:/laTex/texlive2014/bin/win32/pdflatex.exe" -synctex=1 ...
11
votes
1answer
361 views

TikZ Chromaticity Diagram

I'm trying to make a chromaticity diagram in tikZ, does anyone know how to make one? I want this My issue is not in forming the spectral locus that I can do, right now I'm only using three points ...
4
votes
3answers
368 views

How to deal with schemes of curly braces

I'm looking for a package if it exists or options to deal with schemes that use curly braces. In general, how can I do something like this:
4
votes
1answer
38 views

How can I change the caption font and size for figures and tables

I want to specify the figure caption font size in order to follow a stupid standard at my university. I need the font to be Arial (I am using Helvetica because Arial is not available for LaTeX) 11pt. ...
24
votes
2answers
31k views

Change starting page number

How I can start page numbering from 68 to 74 by using header and footer in latex instead of 1 to 7.
1
vote
0answers
28 views

TeXmaker's Quick Build tab not visible [on hold]

I started using TeXmaker for making my presentation. It was working fine but then the QuickBuild tab just disappeared from the toolbar. Instead I started seeing this XeLaTeX stuff? Compiling with ...
1
vote
1answer
66 views

Underline long url and linebreak

I have a long url which I want to appear blue and underlined. Furthermore it must linebreak if the url is to long for a single line. \documentclass[a4paper,10pt]{article} ...
0
votes
0answers
19 views

Use of tabular format to insert images [duplicate]

I have used a table to insert images using the suggestion at this SO question. The problem is that I have several images to be placed and hence the images start getting hide behind the bottom of the ...
2
votes
0answers
36 views

How do I make unruled footnotes within an environment?

I have a single environment, fancyfoot, in which I would like footnotes to have no rules. \documentclass{memoir} \usepackage{lipsum} \newenvironment{fancyfoot}{ \renewcommand{\footnoterule}{} ...
4
votes
2answers
37 views

remove first label in inline enumitem

I'm using an inline enumitem with bullets, but I would like there to be no bullet before the first item. After reading the manual, I tried the following, but it still leaves an unwanted space before ...
5
votes
0answers
39 views

Use of \cmidrule in booktabs [duplicate]

I'm using the method from this post to generate booktabs tables with alternating rowcolors (yes I know it's a frowned upon practice but I have to use it). Now I want to use \cmidrule to generate a ...
7
votes
1answer
78 views

I redefined \- but it does not work in captions

I defined \+ and \- macros for conveniently entering notation. Surprisingly, I noticed that in table and figure captions \- does not work while \+ works. (The same problem appears also in the content ...
3
votes
1answer
101 views

Changing the view angle distort 3D tube image

In previous post water inside 3d tube I added a code. What I need is to have a look from front, but the problem is, if I change the angle from \tdplotsetmaincoords{30}{10} to ...
0
votes
1answer
242 views

TexWorks on Fedora 20

So I migrated completely to Fedora from windows and the latex files which were compiling fine on windows (miktex 2.9 and texworks) are not compiling on texworks on fedora 20. The current error I am ...
1
vote
1answer
34 views

How to get subfigure alignment

I have a 3 figures and I am trying to put them on one line but I can't achieve that. Any help would be great. Here is my code: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} ...
1
vote
1answer
46 views

Vertical colorbar (in tikz) + subfigures (png)

I have an issue with the placement of a colorbar. The colorbar is defined separately in a tikz-environment, as suggested in this topic. My goal is to place one colorbar together with 4 png pictures ...
3
votes
3answers
193 views

How to create this graphic with TikZ?

I want to create a graphice like the following: Below is my code: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{arrows} \newcommand{\psign}{+} ...
2
votes
1answer
34 views

macro for typesetting and adding a line to another document

I am writing a lengthy document and breaking it into chapters. I would like to use something like \include in my main.tex, and that typesetting of each chapter would typeset the main.tex with an ...
1
vote
1answer
19 views

BibTeX: How to show article titles within `apsrev4-1`?

I'm writing an article using revtex4-1 format, and in order to generate the bibliography I use the BibTeX style apsrev4-1. Recently, the journal change the bibliography format and are now admitting ...
5
votes
3answers
212 views
1
vote
1answer
58 views

LaTex Error: Environment equation* undefined

I am trying to work on a Poisson problem (BVP) which looks like the pic above. However, when I executed my codes as below, the compiler showed that "LaTex Error: Environment equation* undefined." ...
2
votes
2answers
35 views

using framed within itemize or enumerate

I have the following code: \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{classicthesis} \usepackage{hyperref} ...
5
votes
1answer
25 views

How to include Matlab code into LaTeX in colour? [duplicate]

I need Matlab code, e.g. the one here, in LaTeX and in colour (the comment is green, for/if/else/end is blue). % super cooles Programm i = 1 for i = 1:10 if i > 3 i=i+2 else ...
1
vote
0answers
54 views

How to deal with a cover page?

A report, or a book, has a cover page and a title page, but the typical templates and latex solutions in general seem to ignore the cover page. I can't figure if this is just not enough developed or ...
1
vote
1answer
70 views

font bbm5.pfb for Bakoma Tex [on hold]

I am currently using a Bakoma Tex. I tried to install the "bbm5.pfb" font but the file is corrupted. Can some help me where can we find the said font?
6
votes
3answers
45 views

Vertical spacing in mathtools

When using mathtools with the option showonlyrefs I find a spurious vertical spacing. I have found a similar question but the issue there was a long equation, which is not my case. Consider the MWE ...
4
votes
3answers
46 views

Uneven spacing using \vspace inside \itemize in beamer

I have a slide that is just an itemize. I am using \vspace{.5cm} to space things out. For some reason between two of the bullets the spacing is larger than the others and I have to use ...
3
votes
2answers
71 views

Typesetting a node in bold font

How do I typeset ${\mathrm{HR}}(\ray{r}, \, P)$ in a node in bold font? I apologize for the cumbersome code. The command for the pertinent node is in the last line. \documentclass{amsart} ...
4
votes
2answers
69 views

Placement of labels in tikzpicture

I have constructed a polygon using tikz and would like to know how to label the points in the manner shown in the diagram below I have constructed my polygon as follows: \documentclass{article} ...
17
votes
1answer
467 views

water inside 3D tube

How can I generate the above image using TikZ. The oval inside tube represents water and arrows indicates the dipole orientation of water. What I was able to get so far is pasted below. ...
1
vote
3answers
48 views

Vertically aligning content in table cell

I have the following code: \begin{table}[h] \begin{tabularx}{\textwidth}{ m{4cm} X } & Derivations \\ $v=v_0+at$ & test \newline test \newline ...
2
votes
1answer
23 views

chemstyle doesn't replace temporary labels

I'm a newby in LaTeX, sorry if it has already been answered but I couldn't find any that works for me. I want to number six different compounds on the same scheme, numbering just besides each ...
2
votes
2answers
28 views

Inserting \\ with a command doesn't do the same thing as inserting it directly

I'm using the mathpartir package and I have some code generated (by LyX) that puts an environment (that I'll call lines) in the \inferrule* and it seems to bother pdflatex whenever there are more than ...
0
votes
0answers
14 views

How to print numbers in both margins with lineno [duplicate]

It was said here that the package lineno is able to print numbers in both margins on a page. However, after reading the documentation I don't see how to do this.
56
votes
12answers
4k views

How to practice LaTeX?

With many programming languages, you have the opportunity of practicing the language by doing problems or developing programs that will do certain things. With LaTeX, however, you can't exactly do ...

15 30 50 per page