The visualization of a pdf is different between VS-Code, Preview and adobe in windowsIncompatibility between the `footnote` and `xcolor` packagesDifferent color display between Adobe Reader and YapAdobe Reader and xcolor within a table breaks the line renderWhat is the difference between textcolor and color?What's the difference between color and xcolor packages?Node colors change after building (texmaker pdf and real pdf looks different)?How can I change the colour scheme of a beamer presentation between different slides?Coloring the subsections and subsubsections with different colors in tocpackage clash between auto-pst-pdf and trimspacesRGB color changed between .tex and .pdf (TikZ)
Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?
90's TV series where a boy goes to another dimension through portal near power lines
Brothers & sisters
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
Has there ever been an airliner design involving reducing generator load by installing solar panels?
How seriously should I take size and weight limits of hand luggage?
How to prevent "they're falling in love" trope
How to blend text to background so it looks burned in paint.net?
Would Slavery Reparations be considered Bills of Attainder and hence Illegal?
How to say in German "enjoying home comforts"
How badly should I try to prevent a user from XSSing themselves?
Why doesn't H₄O²⁺ exist?
table going outside the page
Personal Teleportation: From Rags to Riches
How can saying a song's name be a copyright violation?
Alternative to sending password over mail?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
Where does SFDX store details about scratch orgs?
Arrow those variables!
What mechanic is there to disable a threat instead of killing it?
Should I tell management that I intend to leave due to bad software development practices?
How can I tell some body that I want to be his or her friend?
Why are the 737's rear doors unusable in a water landing?
GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?
The visualization of a pdf is different between VS-Code, Preview and adobe in windows
Incompatibility between the `footnote` and `xcolor` packagesDifferent color display between Adobe Reader and YapAdobe Reader and xcolor within a table breaks the line renderWhat is the difference between textcolor and color?What's the difference between color and xcolor packages?Node colors change after building (texmaker pdf and real pdf looks different)?How can I change the colour scheme of a beamer presentation between different slides?Coloring the subsections and subsubsections with different colors in tocpackage clash between auto-pst-pdf and trimspacesRGB color changed between .tex and .pdf (TikZ)
I have the following code that doesn't work properly.
main.tex
documentclass[12pt, french, a4paper]report
inputheader.tex
begindocument
Ceci est un test Page 1
newpage
Ceci est un test Page 2
enddocument
headre.tex
usepackagebabel
% Texte en Couleur
usepackagexcolor
definecolormywhitergb1, 1, 0.99
definecolormyblackrgb0.04, 0.07, 0,17
pagecolormyblack
colormywhite
%pagecolorblack
%colorwhite
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Font
%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[T1]fontenc
usepackage[utf8]inputenc
% Géométrie de la page
usepackagegeometry
geometry
paper=a4paper, % Paper size, change to letterpaper for US letter size
top=2.5cm, % Top margin
bottom=3cm, % Bottom margin
left=2.5cm, % Left margin
right=2.5cm, % Right margin
headheight=14pt, % Header height
footskip=1.5cm, % Space from the bottom margin to the baseline of the footer
headsep=1.2cm, % Space from the top margin to the baseline of the header
%showframe, % Uncomment to show how the type block is set on the page
If I use personal colors I have this result
and in windows this
The big problem is that vscode with the LaTeX Workshop extension displays correctly.
For you this is displayed correctly?
(my OS and extensions are up to date and if I use the default colors I don't have this problem)
color
add a comment |
I have the following code that doesn't work properly.
main.tex
documentclass[12pt, french, a4paper]report
inputheader.tex
begindocument
Ceci est un test Page 1
newpage
Ceci est un test Page 2
enddocument
headre.tex
usepackagebabel
% Texte en Couleur
usepackagexcolor
definecolormywhitergb1, 1, 0.99
definecolormyblackrgb0.04, 0.07, 0,17
pagecolormyblack
colormywhite
%pagecolorblack
%colorwhite
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Font
%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[T1]fontenc
usepackage[utf8]inputenc
% Géométrie de la page
usepackagegeometry
geometry
paper=a4paper, % Paper size, change to letterpaper for US letter size
top=2.5cm, % Top margin
bottom=3cm, % Bottom margin
left=2.5cm, % Left margin
right=2.5cm, % Right margin
headheight=14pt, % Header height
footskip=1.5cm, % Space from the bottom margin to the baseline of the footer
headsep=1.2cm, % Space from the top margin to the baseline of the header
%showframe, % Uncomment to show how the type block is set on the page
If I use personal colors I have this result
and in windows this
The big problem is that vscode with the LaTeX Workshop extension displays correctly.
For you this is displayed correctly?
(my OS and extensions are up to date and if I use the default colors I don't have this problem)
color
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago
add a comment |
I have the following code that doesn't work properly.
main.tex
documentclass[12pt, french, a4paper]report
inputheader.tex
begindocument
Ceci est un test Page 1
newpage
Ceci est un test Page 2
enddocument
headre.tex
usepackagebabel
% Texte en Couleur
usepackagexcolor
definecolormywhitergb1, 1, 0.99
definecolormyblackrgb0.04, 0.07, 0,17
pagecolormyblack
colormywhite
%pagecolorblack
%colorwhite
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Font
%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[T1]fontenc
usepackage[utf8]inputenc
% Géométrie de la page
usepackagegeometry
geometry
paper=a4paper, % Paper size, change to letterpaper for US letter size
top=2.5cm, % Top margin
bottom=3cm, % Bottom margin
left=2.5cm, % Left margin
right=2.5cm, % Right margin
headheight=14pt, % Header height
footskip=1.5cm, % Space from the bottom margin to the baseline of the footer
headsep=1.2cm, % Space from the top margin to the baseline of the header
%showframe, % Uncomment to show how the type block is set on the page
If I use personal colors I have this result
and in windows this
The big problem is that vscode with the LaTeX Workshop extension displays correctly.
For you this is displayed correctly?
(my OS and extensions are up to date and if I use the default colors I don't have this problem)
color
I have the following code that doesn't work properly.
main.tex
documentclass[12pt, french, a4paper]report
inputheader.tex
begindocument
Ceci est un test Page 1
newpage
Ceci est un test Page 2
enddocument
headre.tex
usepackagebabel
% Texte en Couleur
usepackagexcolor
definecolormywhitergb1, 1, 0.99
definecolormyblackrgb0.04, 0.07, 0,17
pagecolormyblack
colormywhite
%pagecolorblack
%colorwhite
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Font
%%%%%%%%%%%%%%%%%%%%%%%%%
usepackage[T1]fontenc
usepackage[utf8]inputenc
% Géométrie de la page
usepackagegeometry
geometry
paper=a4paper, % Paper size, change to letterpaper for US letter size
top=2.5cm, % Top margin
bottom=3cm, % Bottom margin
left=2.5cm, % Left margin
right=2.5cm, % Right margin
headheight=14pt, % Header height
footskip=1.5cm, % Space from the bottom margin to the baseline of the footer
headsep=1.2cm, % Space from the top margin to the baseline of the header
%showframe, % Uncomment to show how the type block is set on the page
If I use personal colors I have this result
and in windows this
The big problem is that vscode with the LaTeX Workshop extension displays correctly.
For you this is displayed correctly?
(my OS and extensions are up to date and if I use the default colors I don't have this problem)
color
color
edited 2 hours ago
The33Coder
asked 2 hours ago
The33CoderThe33Coder
183
183
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago
add a comment |
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483149%2fthe-visualization-of-a-pdf-is-different-between-vs-code-preview-and-adobe-in-wi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483149%2fthe-visualization-of-a-pdf-is-different-between-vs-code-preview-and-adobe-in-wi%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You have a typo in the definition of myblack, there is a comma instead of period in the last number.
– Ulrike Fischer
2 hours ago
!! Yeees ! thx. But why are the views different?
– The33Coder
2 hours ago
Without a vs code to test I resort to TeXworks as supplied with TeX for Windows so the built in viewer shows result white on white (That is correct there is no valid change from standard white page) unless the 4 colours are corrected to the wanted 3 values as declared by the rgb. Interesting that adobe and edge also correctly show white page whilst firefox xodo sumatraPDF all show incorrectly like the VS code window a black background. So is that their default for no page color? NOTE GS plugins refuse to view anything e.g. there is a decode error if you wish to use 4 colors switch to cmyk
– KJO
1 hour ago