All Questions

7 views

add vertical line of equation x=2 and shade a region in graph by pgfplots

i would like to draw this four equations : $$y=\dfrac{3}{2x+1}, y=3x-2, x=2 y=0$$ and i don't know how to draw vertical line of equation x=2 and shade a region like the pitcure below ...
11 views

Set node distance between borders in tikz

From \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{shapes,arrows,positioning} \begin{document} \tikzstyle{block} = [draw, rectangle, minimum height=3em, minimum width=6em] ...
29 views

add a little arrow at the end of a function

I have the following code of a segment of tikz: \begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=3cm,y=2cm] \draw[->,color=black] (-0.9,0.) -- (1.9,0.); ...
16 views

28 views

Why is this macro putting an element of a table on the wrong row?

Consider the following MWE: \documentclass[a4paper,10pt]{article} \newcommand{\macro}[2][]{% & something & #2 & #1 \\ } \begin{document} \begin{tabular}{lccc} \macro{3}{4} ...
29 views

New user - Bibliography not working

I'm new to LaTeX and I'm trying to create a bibliography for the first time. I'm follwing all the steps I can find on various resources on the web, but it doesn't compile as I'm expecting it to. I've ...
21 views

Top right Page numbering in document, disappears after 15 pages

My thesis guidlines ask for top right pagenumbering. I have added following lines to activate this: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \fancyfoot{} ...
25 views

How can I create this aligned bracketed thing?

I'm trying to create a list of items that looks something like this: but I can't figure out how to position the bracket properly. Here is what I currently have, minus the brace (which I edited into ...
21 views

Disable anti-aliasing in ps2pdf

I have generated the EPS files my self. In the EPS files, I have set the \interpolate false option. I include them in the LaTeX source with includegraphics within TikZ (because I want several of them ...
16 views

How to include a photo into moderncv?

I'm currently using this lines of code to display my personal informations using moderncv: \firstname{x} \familyname{xx} \title{xxx} \address{xxx}{xxx} \email{xxx} \mobile{+xxx} ...
16 views

forcing vertical size of savebox to equal page height

Is there a better way of generating a \savebox whose dimensions are equal to the paper dimensions than sticking in a \strut of length equal to the page height (width is an argument to the \savebox ...
17 views

47 views

How to manually typeset text in parallel on facing pages in (Lua)LaTeX?

I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), ...
61 views

Use the result of FPeval to color a table cell

I am trying to give a table cell a grayscale color value based on it's numeric value. So far I have the following code \documentclass{article} \usepackage{fp,xcolor,colortbl} \FPeval{\resb}{0.5} ...
24 views

Package TikZ Error: Problem Compiling in Ubuntu

I get the following error Package tikz Error: Giving up on this path. Did you forget a semicolon?. when compiling this TikZ code: \documentclass{standalone} \usepackage{tikz} \begin{document} ...
42 views

Problem white space and \newline in margin note

\documentclass[a4paper,11pt]{book} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage[T1]{fontenc} ...
19 views

Make a new AucTEX command

I'm writing a document using eps graphics so I need to compile with Latex to produce a dvi file. In that file graphics don't show (they're a combination of .tex and .eps files), but if I do dvipdf ...
39 views

I want to pick up an hyperref with the drawback that it contains % http://es.wikipedia.org/wiki/Lept%C3%B3n Is there a way to kick % out?
13 views

How to define a new name prefix in biblatex-mla?

I need to cite an author whose last name is d'Ardenne, and I want it to sort under A as it would if the name were de Ardenne. However, biblatex-mla does not seem to recognize "d'" as a prefix and ...
98 views

How to typeset the percent symbol inside \detokenize?

I am writing some personal notes about R programming. I defined a macro to typeset R functions and operators using a different font style and color: \newcommand{\rtext}[1]{% ...
25 views

Longtable & scalebox

I have a very long table which i decided to make smaller using scalebox (successfully) and also split into two pages using longtable. However, no matter how hard I try, I cannot run those two things ...
47 views

How to correctly write +: R × R → R?

When viewing addition on (say) a ring R as a map R × R → R, one often writes something like {+}\colon R\times R\to R. However, I assume that perhaps \mathord+\colon R\times R\to R is more ...
13 views

adding natwidth and natheight to \photo in moderncv

I am using winEdt 6 with MikTex 2.9 and writing a resume with moderncv package. The problem is I can't make the cv title because it cannot determine the size of the photo. I want a way to put the size ...
18 views

Right alignment of two left ragged lines

I have two small lines of text with different width. I want flush them right keeping their left justification and the line height of previous text. \documentclass{article} \usepackage{fontspec} ...
23 views

Does UTF8 add right-quote and left-quote recognition to LaTeX, XeTeX? [duplicate]

I've got a LaTeX novel writing project with lots of character quotations. I use Focuswriter to create chapter text files (ASCII, UTF-8). There is no LaTeX markup in the chapter files. A LaTeX ...
20 views

hepparticles uses wrong font with xelatex

I am trying to get the hepparticles/hepnames packages to work with XeLaTeX. I am using Libertine as serif font and Biolinum as sans font. The particle names are somehow rendered in the wrong font. ...
32 views

Is there any single property/option for creating all borders in LaTeX table?

\begin{tabular}{ c | c | c } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ \hline \end{tabular} If we want to create a table ...
19 views

File ended while scanning use of \beamer@collect@@body and more

It's my first time in Beamer, and i want to make a titlepage as well as those seen on the net (and those done by my university teachers XD) First of all: \documentclass[trans,9pt]{beamer} ...
50 views

Using a single symbol from kpfonts

I would need some help by extracting the "\varprod"-symbol from the kpfonts package. Similar to how it is done here for the subset-symbol of the mathabx package. Although there is a description how to ...
21 views

Is it possible to shrink a page using something like \enlargethispage?

This seems like a silly question to have to ask, but I can't find information on it anywhere. I know that \enlargethispage{\baselineskip} can be used to add an extra line to a page in order to help ...
17 views

Put parentheses by default when referencing an equation [duplicate]

I have this equation: $$\label{eq:helicsol} x = y$$ and then I have: As we can observe, the solution of \ref{eq:helicsol} and I get: As we can observe, the ...
25 views

Setting limits over and under the integrals in an entire group

Is there a command to print the integration limits over and under the integral symbols in an entire group / the entire document without writing \int\limits every time? That is, i'd like to be able to ...
21 views

Multiple equations in square bracket matrix [duplicate]

When solving many equations you usually stuff them in matrices and solve them using Gauss-Jordan elimination. Where I come from, we write it like this and this is what should appear in my document: ...
26 views

Beamer and ampersands (XeLaTeX)

There are some known problems with ampersands and beamer (as discussed here, for instance), but I haven't been able to find a good reference... Anyway, the concrete problem I have is with tables ...
18 views

Comment in algorithmic on a line beginning with if, and using uncover/visible

I am trying to modify this code, into the following one : \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[plain]{algorithm} \usepackage{algorithmic} ...
43 views

Questions about Label and Cross Reference

I am trying to use cross reference in an article, here is a sample of my code. \documentclass[11pt]{amsart} \usepackage[margin=1in]{geometry} % set the margins to 1in on all sides ...
26 views

I have a checkbox, but it does not print the answer

I need a checkbox with an "X" in it when checked. With the code I have right now, I can see the X, when I check it in Adobe reader, but it does not print the X. Also, the X is only visible, of I click ...
66 views

Adding a rectangular box with tikz to table (beamer)

Dear All, I would like to add a rectangular box to my table to highlight some rows. I'm trying to use tikz with the second lot of code from Harish Kumar's answer to a similar question. However, ...
17 views

How to avoid the horizontal separator while using multirow? [duplicate]

Creating a table in IEEE transaction format. The last cell of the table has to combine two rows. I can put the same text using the multirow package, but the horizontal separator cuts right through the ...
37 views

How do I avoid going past the end of my animation in a beamer presentation

I would like to animate some overlays using animatevalue, but I don't know of a way to stop the animation at the last overlay. Is there a way to make this independent of OS and pdf reader? If not, ...
28 views

How to cite a title with natbib?

I have searched far and wide after a solution, but haven't found one that works. The most prominent ones looks like: \citetitle and \citeeditor using the natbib & hyperref packages and ...
24 views

Why can I not use the font name listed in the fc-list's output?

\documentclass{article} \usepackage{fontspec} \setmainfont{Helvetica Neue LT Pro 55 Roman} % This line is OK. \setsansfont{HelveticaNeueLT Pro 55 Roman} % This line is ERROR! \begin{document} Hello ...