0
votes
0answers
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 ...
1
vote
1answer
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] ...
2
votes
1answer
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.); ...
1
vote
1answer
16 views

How to format the leading dots of section page number and subsection page number respectively in the table of contents

everyone: I came across a problem. Following is how I format my table of contents: \usepackage{tocloft} \tocloftpagestyle{empty} \renewcommand{\cftdot}{…} \renewcommand{\cftdotsep}{0} ...
1
vote
2answers
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} ...
0
votes
0answers
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 ...
0
votes
0answers
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{} ...
1
vote
2answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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} ...
0
votes
1answer
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 ...
2
votes
1answer
17 views

Simple bibliography error

I use this code and there is an error when I always refer to a webpage which contains _, and it says me missing $ inserted. How could I cancel this problem? \begin{thebibliography}{9} ...
0
votes
2answers
42 views

Centered vertical rule in a displaymath

How would I place a centered vertical rule that separates two regions of text in a displaymath environoment? The effect I want is described below. Thanks! \[ 3x + 2 = 6 | x + 5 = 7 -2 = ...
0
votes
0answers
13 views

Break a large theorem using mdframed on beamer

I am using mdframed to write theorems and I've been dealing with this theorem that is quite long and have 4 equations in it. I have tried using [allowframebreaks] and using \framebreak in a ...
2
votes
1answer
32 views

how to achieve and draw the final rotation of a frame with Euler angles.

I would like to do the final rotation using Euler angles. In this link Euler Angles, the final rotation undergoes three successive rotations, starting from frame (x,y,z), going through (x',y',z') and ...
2
votes
1answer
20 views

Problem with example in tcolorbox package

When I try to run this simple example from the manual: \documentclass{report} \begin{document} \tcbset{frame style={top color=red!20!white, bottom color=red!20!white!75!black}, ...
2
votes
1answer
38 views

How to make references without square brackets

at the moment my references are disposed like this: 1 MONG, J..... bla bla bla. And I would like to have them on my pdf without the square brackets, like these ones in blue: Thank you for the ...
2
votes
2answers
29 views

Extra }, or forgotten $ \end{frame} & Missing $ inserted \end{frame}

I am trying after long hours to compile this, until now. And this errors appear: Missing $ inserted \end{frame} Extra }, or forgotten $ \end{frame} Missing $ inserted \end{frame} Missing $ inserted ...
3
votes
0answers
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), ...
5
votes
3answers
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} ...
1
vote
0answers
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} ...
3
votes
2answers
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} ...
1
vote
1answer
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 ...
1
vote
2answers
39 views

Hypertext with comments?

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?
1
vote
1answer
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 ...
6
votes
2answers
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]{% ...
0
votes
1answer
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 ...
3
votes
1answer
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 ...
1
vote
0answers
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 ...
1
vote
2answers
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} ...
0
votes
1answer
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 ...
1
vote
0answers
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. ...
2
votes
0answers
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 ...
1
vote
1answer
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} ...
8
votes
1answer
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 ...
4
votes
1answer
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 ...
2
votes
0answers
17 views

Put parentheses by default when referencing an equation [duplicate]

I have this equation: \begin{equation} \label{eq:helicsol} x = y \end{equation} and then I have: As we can observe, the solution of \ref{eq:helicsol} and I get: As we can observe, the ...
2
votes
1answer
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 ...
0
votes
1answer
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: ...
5
votes
0answers
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 ...
1
vote
1answer
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} ...
3
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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, ...
0
votes
0answers
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 ...
2
votes
0answers
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, ...
2
votes
1answer
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 ...
2
votes
0answers
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 ...
5
votes
0answers
37 views

What are pdfTeX's exact rules for character protrusion? And for the expansions of \leftmarginkern/\rightmarginkern?

It is well known that pdfTeX tries to apply character protrusion in a clever way. When breaking a horizontal list into lines, (implicit) kerns for character protrusion are inserted near the edges of ...
0
votes
1answer
14 views

center align equation in ‎\documentclass[11pt,twoside,fleqn]{book}‎

I used the ‎\documentclass[11pt,twoside,fleqn]{book}‎ for set formulas left, but I want to put formulas to center in some cases like original type without [fleqn]. What command do I use? ...

15 30 50 per page